Author: sparky Date: Sun Feb 6 19:24:07 2011 GMT Module: packages Tag: HEAD ---- Log message: - NEW: workaround/hack for build failing with -Os; looks like glibc is broken
---- Files affected: packages/poldek: poldek-Os-fail-workaround.patch (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/poldek/poldek-Os-fail-workaround.patch diff -u /dev/null packages/poldek/poldek-Os-fail-workaround.patch:1.1 --- /dev/null Sun Feb 6 20:24:08 2011 +++ packages/poldek/poldek-Os-fail-workaround.patch Sun Feb 6 20:24:02 2011 @@ -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> + ================================================================ _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit