pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/glib2 Add a patch for OpenSolaris when other pac...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ad8beebc0919
branches:  trunk
changeset: 557356:ad8beebc0919
user:      adrianp <adrianp%pkgsrc.org@localhost>
date:      Mon Apr 13 21:57:48 2009 +0000

description:
Add a patch for OpenSolaris when other packages include glib/gbacktrace.h
then we need to include sys/select.h before signal.h

http://bugzilla.gnome.org/show_bug.cgi?id=562334

I know of at least rrdtool triggering this bug and failing to build without
this patch.

diffstat:

 devel/glib2/distinfo         |   3 ++-
 devel/glib2/patches/patch-cc |  14 ++++++++++++++
 2 files changed, 16 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r 4dafa9754fb3 -r ad8beebc0919 devel/glib2/distinfo
--- a/devel/glib2/distinfo      Mon Apr 13 21:33:33 2009 +0000
+++ b/devel/glib2/distinfo      Mon Apr 13 21:57:48 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.111 2009/03/15 13:32:31 jmcneill Exp $
+$NetBSD: distinfo,v 1.112 2009/04/13 21:57:48 adrianp Exp $
 
 SHA1 (glib-2.20.0.tar.bz2) = 4d653ef39fd1ebe7b64217fd824dfb1bbbde7007
 RMD160 (glib-2.20.0.tar.bz2) = fc343fab4712d20b527ee690dcbf67ff52b3f6fc
@@ -17,3 +17,4 @@
 SHA1 (patch-al) = de5135c328027b3c4543bb09994d31b6ffedeafa
 SHA1 (patch-ba) = 015946dd3e64d858f0b67420a476fa8889b0d12b
 SHA1 (patch-cb) = 0f084c33fb67fbb8e12448034450699da26289ff
+SHA1 (patch-cc) = 6a9c446ec309b1dbb43809d34869720fffb3bac2
diff -r 4dafa9754fb3 -r ad8beebc0919 devel/glib2/patches/patch-cc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/glib2/patches/patch-cc      Mon Apr 13 21:57:48 2009 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-cc,v 1.1 2009/04/13 21:57:48 adrianp Exp $
+
+--- glib/gbacktrace.h.orig     2009-03-13 04:09:59.000000000 +0000
++++ glib/gbacktrace.h
+@@ -32,6 +32,9 @@
+ #define __G_BACKTRACE_H__
+ 
+ #include <glib/gtypes.h>
++#ifdef __sun__
++#include <sys/select.h>
++#endif
+ #include <signal.h>
+ 
+ G_BEGIN_DECLS



Home | Main Index | Thread Index | Old Index