rpms/powerman/devel powerman-1.0.32-header-includes.patch,1.1,1.2

Jarod Wilson (jwilson) fedora-extras-commits at redhat.com
Wed Feb 13 19:20:51 UTC 2008


Author: jwilson

Update of /cvs/pkgs/rpms/powerman/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3752

Modified Files:
	powerman-1.0.32-header-includes.patch 
Log Message:
more correct gcc 4.3 fix

powerman-1.0.32-header-includes.patch:

Index: powerman-1.0.32-header-includes.patch
===================================================================
RCS file: /cvs/pkgs/rpms/powerman/devel/powerman-1.0.32-header-includes.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- powerman-1.0.32-header-includes.patch	13 Feb 2008 18:36:53 -0000	1.1
+++ powerman-1.0.32-header-includes.patch	13 Feb 2008 19:20:40 -0000	1.2
@@ -44,13 +44,20 @@
  #include "list.h"
 diff -Naurp powerman-1.0.32.orig/src/wrappers.c powerman-1.0.32/src/wrappers.c
 --- powerman-1.0.32.orig/src/wrappers.c	2005-03-09 06:11:46.000000000 -0500
-+++ powerman-1.0.32/src/wrappers.c	2008-02-13 13:26:48.000000000 -0500
-@@ -38,6 +38,9 @@
++++ powerman-1.0.32/src/wrappers.c	2008-02-13 14:19:45.000000000 -0500
+@@ -29,6 +29,7 @@
+ #include "config.h"
+ #endif
+ 
++#define _GNU_SOURCE     /* needed for regex.h */
+ #include <string.h>
+ #include <errno.h>
+ #include <assert.h>
+@@ -38,6 +39,8 @@
  #include <stdlib.h>
  #include <sys/socket.h>
  #include <stdio.h>
 +#include <limits.h>
-+#define __USE_GNU       /* needed for regex.h */
 +#include <regex.h>
  #include <sys/types.h>
  #include <sys/wait.h>




More information about the fedora-extras-commits mailing list