summaryrefslogtreecommitdiffstats
path: root/src/libshout-1-fixes.patch
diff options
context:
space:
mode:
authorMark Brand <mabrand@mabrand.nl>2012-05-20 21:28:16 (GMT)
committerMark Brand <mabrand@mabrand.nl>2012-05-20 21:28:16 (GMT)
commitf95d68b04ad3e5688bc6eaf3d71422c7156f88ce (patch)
treebd47806bc00748f1fd4091762ba9a79d20bd3c30 /src/libshout-1-fixes.patch
parent1faa9ded41f02572a106cfcaa84f6a049afded11 (diff)
downloadmxe-f95d68b04ad3e5688bc6eaf3d71422c7156f88ce.zip
mxe-f95d68b04ad3e5688bc6eaf3d71422c7156f88ce.tar.gz
mxe-f95d68b04ad3e5688bc6eaf3d71422c7156f88ce.tar.bz2
package libshout: restore needed mingw fix
Diffstat (limited to 'src/libshout-1-fixes.patch')
-rw-r--r--src/libshout-1-fixes.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/libshout-1-fixes.patch b/src/libshout-1-fixes.patch
new file mode 100644
index 0000000..715ccb4
--- /dev/null
+++ b/src/libshout-1-fixes.patch
@@ -0,0 +1,32 @@
+This file is part of MXE.
+See index.html for further information.
+
+Contains ad hoc patches for cross building.
+
+From b05b2d82333e13f637dffb93f821907f775eb585 Mon Sep 17 00:00:00 2001
+From: Mark Brand <mabrand@mabrand.nl>
+Date: Sun, 20 May 2012 23:23:37 +0200
+Subject: [PATCH] mingw fixes
+
+---
+ include/shout/shout.h.in | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/include/shout/shout.h.in b/include/shout/shout.h.in
+index 682ad49..f412cdc 100644
+--- a/include/shout/shout.h.in
++++ b/include/shout/shout.h.in
+@@ -23,8 +23,10 @@
+
+ #include <sys/types.h>
+ #ifdef WIN32
++#ifndef __MINGW32__
+ #include <os.h>
+ #endif
++#endif
+
+ #define SHOUTERR_SUCCESS (0)
+ #define SHOUTERR_INSANE (-1)
+--
+1.7.9.2
+