summary refs log tree commit diff
path: root/gnu/packages/emulators.scm
diff options
context:
space:
mode:
authorraingloom <raingloom@protonmail.com>2020-02-19 14:36:26 +0100
committerJakub Kądziołka <kuba@kadziolka.net>2020-02-23 18:14:44 +0100
commitf267420707142dc17f8e9f976f98447697823c85 (patch)
tree9dd5c475899f7e752f2525b2842527ae096d1a3b /gnu/packages/emulators.scm
parentf6b4d395fd321d43fd548ba832c78320ac3f8d51 (diff)
downloadguix-f267420707142dc17f8e9f976f98447697823c85.tar.gz
gnu: desmume: fix build on new GCC versions
* gnu/packages/emulation.scm (desmume): add patches
* gnu/packages/patches/desmume-gcc6-fixes.patch: new file
* gnu/packages/patches/desmume-gcc7-fixes.patch: new file
* gnu/local.mk (dist_patch_DATA): register the above

Note: desmume-gcc6-fixes.patch contains some CRLF line endings.

Signed-off-by: Jakub Kądziołka <kuba@kadziolka.net>
Diffstat (limited to 'gnu/packages/emulators.scm')
-rw-r--r--gnu/packages/emulators.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm
index 92e50d1484..5e1ab6cb3f 100644
--- a/gnu/packages/emulators.scm
+++ b/gnu/packages/emulators.scm
@@ -102,7 +102,9 @@
              version "/desmume-" version ".tar.gz"))
        (sha256
         (base32
-         "15l8wdw3q61fniy3h93d84dnm6s4pyadvh95a0j6d580rjk4pcrs"))))
+         "15l8wdw3q61fniy3h93d84dnm6s4pyadvh95a0j6d580rjk4pcrs"))
+       (patches (search-patches "desmume-gcc6-fixes.patch"
+                                "desmume-gcc7-fixes.patch"))))
     (build-system gnu-build-system)
     (arguments
      ;; Enable support for WiFi and microphone.