unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#40445] gnu: gsm: Update to 1.0.19.
@ 2020-04-05  7:07 Raghav Gururajan
  2020-04-05  9:40 ` Mathieu Othacehe
  2020-04-05  9:45 ` Raghav Gururajan
  0 siblings, 2 replies; 12+ messages in thread
From: Raghav Gururajan @ 2020-04-05  7:07 UTC (permalink / raw)
  To: 40445

[-- Attachment #1: Type: text/plain, Size: 2 bytes --]



[-- Attachment #2: update-gsm.patch --]
[-- Type: application/octet-stream, Size: 1896 bytes --]

From 62dfeb5d801762ce5824d03e15470ed3ed6ce2c2 Mon Sep 17 00:00:00 2001
From: Raghav Gururajan <raghavgururajan@disroot.org>
Date: Sun, 5 Apr 2020 03:04:32 -0400
Subject: [PATCH] gnu: gsm: Update to 1.0.19.

* gnu/packages/audio.scm (gsm): Update to 1.0.19.
---
 gnu/packages/audio.scm | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 6d29184592..e8d48f49d0 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -3343,7 +3343,7 @@ code, used in @code{libtoxcore}.")
 (define-public gsm
   (package
     (name "gsm")
-    (version "1.0.18")
+    (version "1.0.19")
     (source
      (origin
        (method url-fetch)
@@ -3352,18 +3352,22 @@ code, used in @code{libtoxcore}.")
                        "-" version ".tar.gz"))
        (sha256
         (base32
-         "041amvpz8cvxykl3pwqldrzxligmmzcg8ncdnxbg32rlqf3q1xh4"))))
+         "1xkha9ss5g5qnfaybi8il0mcvp8knwg9plgh8404vh58d0pna0s9"))))
     (build-system gnu-build-system)
     (arguments
      `(#:test-target "tst"
-       #:make-flags '("INSTALL_ROOT=%output"
-                      "CCFLAGS=-fPIC \
--c -O2 -DNeedFunctionPrototypes=1 -Wall -Wno-comment") ;default options
+       #:make-flags
+       (list
+        ;; Added -fPIC with other default options.
+        "CCFLAGS=-fPIC -c -O2 -DNeedFunctionPrototypes=1 -Wall -Wno-comment")
        #:phases
        (modify-phases %standard-phases
          (add-before 'install 'pre-install
            (lambda _
              (let ((out (assoc-ref %outputs "out")))
+               (substitute* "Makefile"
+                 (("INSTALL_ROOT\t=")
+                  (string-append "INSTALL_ROOT\t=\t" out)))
                (mkdir-p (string-append out "/inc"))
                (mkdir-p (string-append out "/man"))
                (mkdir-p (string-append out "/man/man1"))
-- 
2.26.0


^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2020-04-05 18:22 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-05  7:07 [bug#40445] gnu: gsm: Update to 1.0.19 Raghav Gururajan
2020-04-05  9:40 ` Mathieu Othacehe
2020-04-05  9:45 ` Raghav Gururajan
2020-04-05 10:22   ` Mathieu Othacehe
2020-04-05 10:26   ` Raghav Gururajan
2020-04-05 10:28   ` Raghav Gururajan
2020-04-05 10:33     ` Mathieu Othacehe
2020-04-05 10:37     ` Raghav Gururajan
2020-04-05 10:52     ` Raghav Gururajan
2020-04-05 10:53     ` Raghav Gururajan
2020-04-05 17:38   ` maxim.cournoyer
2020-04-05 18:20     ` bug#40445: " maxim.cournoyer

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).