Browse Source

Clifford Wolf:


			
			
				rocklinux
			
			
		
Clifford Wolf 17 years ago
parent
commit
ed925885b4
9 changed files with 129 additions and 0 deletions
  1. +11
    -0
      package/base/cups/auth_hotfix.patch
  2. +11
    -0
      package/base/dhcp/hotfixes.patch
  3. +22
    -0
      package/base/gpm/hotfixes.patch
  4. +10
    -0
      package/base/net-tools/ec_hw_hotfix.patch
  5. +22
    -0
      package/base/ntp/hotfixes.patch
  6. +11
    -0
      package/base/openldap/hotfixes.patch
  7. +10
    -0
      package/kde/arts/hotfixes.patch
  8. +22
    -0
      package/mathieu/acpid/hotfixes.patch
  9. +10
    -0
      package/public/libnl/hotfixes.patch

+ 11
- 0
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 <grp.h>
#ifdef HAVE_SHADOW_H

+ 11
- 0
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 <errno.h>
#include <sys/ioctl.h>

+ 22
- 0
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 <stdio.h>
#include <stdlib.h>
#include <string.h> /* strerror(); ?!? */

+ 10
- 0
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 <stdlib.h>
#include <net/if_arp.h>
#include "net-support.h"

+ 22
- 0
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 <stdio.h>
#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 <stdio.h>
#include "ntpq.h"

+ 11
- 0
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 @@
* <http://www.OpenLDAP.org/license.html>.
*/
+#define _GNU_SOURCE
+
#include "portable.h"
#ifndef HAVE_GETPEEREID

+ 10
- 0
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 <cstdlib>
#include <cstring>
#include <stdio.h>
+#include <limits.h>
#include <map>
using namespace std;

+ 22
- 0
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 <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
--- ./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 <stdio.h>
#include <stdlib.h>
#include <unistd.h>

+ 10
- 0
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 <sys/socket.h>
#include <inttypes.h>
#include <assert.h>
+#include <limits.h>
#include <arpa/inet.h>
#include <netdb.h>

Loading…
Cancel
Save