]> git.pld-linux.org Git - packages/poldek.git/commitdiff
- NEW: workaround/hack for build failing with -Os; looks like glibc is broken
authorsparky <sparky@pld-linux.org>
Sun, 6 Feb 2011 19:24:02 +0000 (19:24 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    poldek-Os-fail-workaround.patch -> 1.1

poldek-Os-fail-workaround.patch [new file with mode: 0644]

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.029631 seconds and 4 git commands to generate.