gnu: allegro@5.0: Fix building with newer mesa.
authorEfraim Flashner <efraim@flashner.co.il>
Tue, 1 Jan 2019 08:22:34 +0000 (10:22 +0200)
committerEfraim Flashner <efraim@flashner.co.il>
Tue, 1 Jan 2019 08:55:44 +0000 (10:55 +0200)
* gnu/packages/game-development.scm (allegro@5.0)[source]: Add patch.
(allegro)[patch]: Rename patch file.
* gnu/packages/patches/allegro-fix-compiliation-mesa-18.2.5-and-later.patch:
Rename to gnu/packages/patches/allegro-mesa-18.2.5-and-later.patch.
* gnu/local.mk (dist_patch_DATA): Register it.

gnu/local.mk
gnu/packages/game-development.scm
gnu/packages/patches/allegro-mesa-18.2.5-and-later.patch [moved from gnu/packages/patches/allegro-fix-compilation-mesa-18.2.5-and-later.patch with 100% similarity]

index 64f2bf9..4d8813a 100644 (file)
@@ -577,6 +577,7 @@ dist_patch_DATA =                                           \
   %D%/packages/patches/aegisub-icu59-include-unistr.patch      \
   %D%/packages/patches/aegisub-boost68.patch                    \
   %D%/packages/patches/agg-am_c_prototype.patch                        \
+  %D%/packages/patches/allegro-mesa-18.2.5-and-later.patch     \
   %D%/packages/patches/allegro4-mesa-18.2.5-and-later.patch    \
   %D%/packages/patches/amule-crypto-6.patch                    \
   %D%/packages/patches/antiword-CVE-2014-8123.patch                    \
index efca985..9a77cdc 100644 (file)
@@ -655,7 +655,7 @@ etc.")
                                   "/download/" version "/allegro-"
                                   version ".tar.gz"))
               (patches (search-patches
-                        "allegro-fix-compilation-mesa-18.2.5-and-later.patch"))
+                        "allegro-mesa-18.2.5-and-later.patch"))
               (sha256
                (base32
                 "1w9a5yqi5q03b2qvmx5ff90paz0xbr9cy7i7f0xiqa65ava66q9l"))))
@@ -700,6 +700,8 @@ etc.")
                                     (string-drop-right version 2)
                                     version)
                                   ".tar.gz"))
+              (patches (search-patches
+                        "allegro-mesa-18.2.5-and-later.patch"))
               (sha256
                (base32
                 "0cd51qrh97jrr0xdmnivqgwljpmizg8pixsgvc4blqqlaz4i9zj9"))))))