diff --git a/package/base/cups/auth_hotfix.patch b/package/base/cups/auth_hotfix.patch new file mode 100644 index 000000000..3d15f50cf --- /dev/null +++ b/package/base/cups/auth_hotfix.patch @@ -0,0 +1,11 @@ +--- ./scheduler/auth.c.orig 2009-07-01 10:07:46.000000000 +0200 ++++ ./scheduler/auth.c 2009-07-01 10:07:58.000000000 +0200 +@@ -54,6 +54,8 @@ + * Include necessary headers... + */ + ++#define _GNU_SOURCE ++ + #include "cupsd.h" + #include + #ifdef HAVE_SHADOW_H diff --git a/package/base/dhcp/hotfixes.patch b/package/base/dhcp/hotfixes.patch new file mode 100644 index 000000000..e29e623f2 --- /dev/null +++ b/package/base/dhcp/hotfixes.patch @@ -0,0 +1,11 @@ +--- ./common/socket.c.orig 2009-07-02 16:32:44.000000000 +0200 ++++ ./common/socket.c 2009-07-02 16:33:40.000000000 +0200 +@@ -40,6 +40,8 @@ + * I have implemented it under Linux; other systems should be doable also. + */ + ++#define _GNU_SOURCE ++ + #include "dhcpd.h" + #include + #include diff --git a/package/base/gpm/hotfixes.patch b/package/base/gpm/hotfixes.patch new file mode 100644 index 000000000..c43b3093e --- /dev/null +++ b/package/base/gpm/hotfixes.patch @@ -0,0 +1,22 @@ +--- ./Makefile.include.in.orig 2009-07-01 12:16:49.000000000 +0200 ++++ ./Makefile.include.in 2009-07-01 12:16:54.000000000 +0200 +@@ -32,7 +32,7 @@ + lispdir = @lispdir@ + + # programs +-CC = @CC@ ++CC = @CC@ -lm + RANLIB = @RANLIB@ + YACC = @YACC@ + INSTALL = @INSTALL@ +--- ./src/gpm.c.orig 2009-07-01 11:57:03.000000000 +0200 ++++ ./src/gpm.c 2009-07-01 11:57:09.000000000 +0200 +@@ -21,6 +21,8 @@ + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + ********/ + ++#define _GNU_SOURCE ++ + #include + #include + #include /* strerror(); ?!? */ diff --git a/package/base/net-tools/ec_hw_hotfix.patch b/package/base/net-tools/ec_hw_hotfix.patch new file mode 100644 index 000000000..13fdc4cd4 --- /dev/null +++ b/package/base/net-tools/ec_hw_hotfix.patch @@ -0,0 +1,10 @@ +--- ./lib/ec_hw.c.orig 2009-06-30 11:23:48.000000000 +0200 ++++ ./lib/ec_hw.c 2009-06-30 11:24:57.000000000 +0200 +@@ -16,6 +16,7 @@ + + #if HAVE_HWEC + ++#include + #include + #include "net-support.h" + diff --git a/package/base/ntp/hotfixes.patch b/package/base/ntp/hotfixes.patch new file mode 100644 index 000000000..6f0ea6da8 --- /dev/null +++ b/package/base/ntp/hotfixes.patch @@ -0,0 +1,22 @@ +--- ./ntpdc/ntpdc.c.orig 2009-07-02 11:21:10.000000000 +0200 ++++ ./ntpdc/ntpdc.c 2009-07-02 11:22:12.000000000 +0200 +@@ -2,6 +2,8 @@ + * ntpdc - control and monitor your ntpd daemon + */ + ++#define _GNU_SOURCE ++ + #include + + #include "ntpdc.h" +--- ./ntpq/ntpq.c.orig 2009-07-02 11:23:28.000000000 +0200 ++++ ./ntpq/ntpq.c 2009-07-02 11:23:31.000000000 +0200 +@@ -2,6 +2,8 @@ + * ntpq - query an NTP server using mode 6 commands + */ + ++#define _GNU_SOURCE ++ + #include + + #include "ntpq.h" diff --git a/package/base/openldap/hotfixes.patch b/package/base/openldap/hotfixes.patch new file mode 100644 index 000000000..5eadb5429 --- /dev/null +++ b/package/base/openldap/hotfixes.patch @@ -0,0 +1,11 @@ +--- ./libraries/liblutil/getpeereid.c.orig 2009-07-01 09:13:34.000000000 +0200 ++++ ./libraries/liblutil/getpeereid.c 2009-07-01 09:16:46.000000000 +0200 +@@ -14,6 +14,8 @@ + * . + */ + ++#define _GNU_SOURCE ++ + #include "portable.h" + + #ifndef HAVE_GETPEEREID diff --git a/package/kde/arts/hotfixes.patch b/package/kde/arts/hotfixes.patch new file mode 100644 index 000000000..25d83ad28 --- /dev/null +++ b/package/kde/arts/hotfixes.patch @@ -0,0 +1,10 @@ +--- ./mcop/mcoputils.cc.orig 2009-07-01 15:44:57.000000000 +0200 ++++ ./mcop/mcoputils.cc 2009-07-01 15:47:05.000000000 +0200 +@@ -35,6 +35,7 @@ + #include + #include + #include ++#include + #include + + using namespace std; diff --git a/package/mathieu/acpid/hotfixes.patch b/package/mathieu/acpid/hotfixes.patch new file mode 100644 index 000000000..ad32cf315 --- /dev/null +++ b/package/mathieu/acpid/hotfixes.patch @@ -0,0 +1,22 @@ +--- ./acpid.c.orig 2009-07-02 13:25:47.000000000 +0200 ++++ ./acpid.c 2009-07-02 13:25:56.000000000 +0200 +@@ -19,6 +19,8 @@ + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + ++#define _GNU_SOURCE ++ + #include + #include + #include +--- ./ud_socket.c.orig 2009-07-02 13:26:48.000000000 +0200 ++++ ./ud_socket.c 2009-07-02 13:26:20.000000000 +0200 +@@ -3,6 +3,8 @@ + * A few routines for handling UNIX domain sockets + */ + ++#define _GNU_SOURCE ++ + #include + #include + #include diff --git a/package/public/libnl/hotfixes.patch b/package/public/libnl/hotfixes.patch new file mode 100644 index 000000000..1fc15fc7f --- /dev/null +++ b/package/public/libnl/hotfixes.patch @@ -0,0 +1,10 @@ +--- ./include/netlink-local.h.orig 2009-07-01 18:36:32.000000000 +0200 ++++ ./include/netlink-local.h 2009-07-01 18:36:41.000000000 +0200 +@@ -26,6 +26,7 @@ + #include + #include + #include ++#include + + #include + #include