summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/patches/003-Fix-machine.h.diff18
-rw-r--r--debian/patches/series1
2 files changed, 19 insertions, 0 deletions
diff --git a/debian/patches/003-Fix-machine.h.diff b/debian/patches/003-Fix-machine.h.diff
new file mode 100644
index 0000000..a9f8773
--- /dev/null
+++ b/debian/patches/003-Fix-machine.h.diff
@@ -0,0 +1,18 @@
+--- a/src/libmowgli/platform/machine.h
++++ b/src/libmowgli/platform/machine.h
+@@ -180,13 +180,13 @@
+ #if defined _LP64 || defined __LP64
+ #define MOWGLI_CPU_BITS 64
+ #define MOWGLI_CPU_BITS_64
+-#elif
++#else
+ #define MOWGLI_CPU_BITS 32
+ #define MOWGLI_CPU_BITS_32
+ #endif
+ #endif
+
+-#if defined __linux || defined __linux__
++#if defined __linux || defined __linux__ || defined __FreeBSD_kernel__
+ #define MOWGLI_OS_LINUX
+ #define MOWGLI_OS linux
+ #define MOWGLI_OS_THREADS_POSIX
diff --git a/debian/patches/series b/debian/patches/series
index cb8b34e..de1b8cb 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
001-Disable_Makefile_silent_output.diff
002-Make-Examples-Buildable-standalone.diff
+003-Fix-machine.h.diff