[mupen64plus-video-glide64mk2] 28/60: Allow to compile under kFreeBSD and Hurd

Sven Eckelmann ecsv-guest at moszumanska.debian.org
Thu Nov 26 06:16:12 UTC 2015


This is an automated email from the git hooks/post-receive script.

ecsv-guest pushed a commit to branch armhf_test
in repository mupen64plus-video-glide64mk2.

commit 21f34d24098ac7f94cd9763092265c884679cef9
Author: Sven Eckelmann <sven at narfation.org>
Date:   Sun Sep 1 11:53:54 2013 +0200

    Allow to compile under kFreeBSD and Hurd
---
 debian/changelog                           |  1 +
 debian/patches/kfreebsd_hurd_support.patch | 18 ++++++++++++++++++
 debian/patches/series                      |  1 +
 3 files changed, 20 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 10715e2..cf52135 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ mupen64plus-video-glide64mk2 (2.0-2) UNRELEASED; urgency=low
   * debian/patches:
     - Add load_hires_cache.patch, Enable the dump_cache to allow loading of
       *.dat files
+    - Add kfreebsd_hurd_support.patch, Allow to compile under kFreeBSD and Hurd
 
  -- Sven Eckelmann <sven at narfation.org>  Fri, 23 Aug 2013 22:50:19 +0200
 
diff --git a/debian/patches/kfreebsd_hurd_support.patch b/debian/patches/kfreebsd_hurd_support.patch
new file mode 100644
index 0000000..64e283f
--- /dev/null
+++ b/debian/patches/kfreebsd_hurd_support.patch
@@ -0,0 +1,18 @@
+Description: Allow to compile under kFreeBSD and Hurd
+Author: Sven Eckelmann <sven at narfation.org>
+
+---
+diff --git a/src/Glitch64/inc/glidesys.h b/src/Glitch64/inc/glidesys.h
+index b19845a9a81fc5cfb984c63b2b97e33a57183866..12d0fcbd6a44b95ad75973e4942df7833b3b0356 100644
+--- a/src/Glitch64/inc/glidesys.h
++++ b/src/Glitch64/inc/glidesys.h
+@@ -110,7 +110,8 @@ n** -----------------------------------------------------------------------
+ 
+ /* Check for OS */
+ #if defined(__IRIX__) || defined(__sparc__) || defined(__linux__) || \
+-	defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
++   defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || \
++   defined(__FreeBSD_kernel__) || defined(__GNU__)
+ #  define GLIDE_OS        GLIDE_OS_UNIX
+ #elif defined(__DOS__)
+ #  define GLIDE_OS        GLIDE_OS_DOS32
diff --git a/debian/patches/series b/debian/patches/series
index 187ac8b..3656546 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ mesa_fxt1.patch
 s3tc_removal.patch
 init_quit.patch
 load_hires_cache.patch
+kfreebsd_hurd_support.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/mupen64plus-video-glide64mk2.git



More information about the Pkg-games-commits mailing list