]> git.pld-linux.org Git - packages/poldek.git/blobdiff - poldek-Os-fail-workaround.patch
- NEW: workaround/hack for build failing with -Os; looks like glibc is broken
[packages/poldek.git] / poldek-Os-fail-workaround.patch
diff --git a/poldek-Os-fail-workaround.patch b/poldek-Os-fail-workaround.patch
new file mode 100644 (file)
index 0000000..7bf430f
--- /dev/null
@@ -0,0 +1,24 @@
+--- poldek-0.30/cli/shell.c~   2010-11-25 22:30:09.000000000 +0100
++++ poldek-0.30/cli/shell.c    2011-02-06 20:20:23.502000232 +0100
+@@ -18,6 +18,13 @@
+ # include "config.h"
+ #endif
++#ifndef __USE_EXTERN_INLINES
++# define __USE_EXTERN_INLINES
++# include <argp.h>
++# undef __USE_EXTERN_INLINES
++#else
++# include <argp.h>
++#endif
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <stdint.h>
+@@ -28,7 +35,6 @@
+ #include <sys/errno.h>
+ #include <sys/param.h>
+ #include <signal.h>
+-#include <argp.h>
+ #include <fnmatch.h>
+ #include <unistd.h>
This page took 0.067428 seconds and 4 git commands to generate.