]> err.no Git - pkg-config/commitdiff
2005-04-02 Tollef Fog Heen <tfheen@err.no>
authorArch Librarian <arch@canonical.com>
Thu, 14 Jul 2005 13:06:51 +0000 (13:06 +0000)
committerArch Librarian <arch@canonical.com>
Thu, 14 Jul 2005 13:06:51 +0000 (13:06 +0000)
Author: tfheen
Date: 2005-04-02 17:25:48 GMT
2005-04-02  Tollef Fog Heen  <tfheen@err.no>

    * glib-patches/remove-strsignal-prototype.diff: Remove strsignal
    prototype from gstrfuncs.c, it is included in string.h.  This
    fixes a compilation issue on cygwin. (Freedesktop #2598)

ChangeLog
glib-patches/remove-strsignal-prototype.diff [new file with mode: 0644]

index add9c6f19de589f25c85ddc036e20957033f17b0..2325cf152c2f3f226f9ca501f16a5f665e7020b8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2005-04-02  Tollef Fog Heen  <tfheen@err.no>
 
+       * glib-patches/remove-strsignal-prototype.diff: Remove strsignal
+       prototype from gstrfuncs.c, it is included in string.h.  This
+       fixes a compilation issue on cygwin. (Freedesktop #2598)
+
        * glib-patches/distcheckfix.diff: Move glibconfig.h.win32 and
        config.h.win32 too.
        
diff --git a/glib-patches/remove-strsignal-prototype.diff b/glib-patches/remove-strsignal-prototype.diff
new file mode 100644 (file)
index 0000000..ce88481
--- /dev/null
@@ -0,0 +1,10 @@
+--- glib-1.2.8/gstrfuncs.c     2000-04-17 17:05:16.000000000 +0200
++++ glib-1.2.8/gstrfuncs.c.new 2005-04-02 16:39:10.627002672 +0200
+@@ -671,7 +671,6 @@
+   char *msg;
+ #ifdef HAVE_STRSIGNAL
+-  extern char *strsignal (int sig);
+   return strsignal (signum);
+ #elif NO_SYS_SIGLIST
+   switch (signum)