pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-gobject Strengthen a configure test so it doe...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0cc4e295a770
branches:  trunk
changeset: 603810:0cc4e295a770
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Mon May 14 00:15:28 2012 +0000

description:
Strengthen a configure test so it doesn't depend on -Werror. This is not
strictly necessary but makes the package behave when using the wrappers
to fiddle with warning options, which I've been doing.

diffstat:

 devel/py-gobject/distinfo                |   3 ++-
 devel/py-gobject/patches/patch-configure |  20 ++++++++++++++++++++
 2 files changed, 22 insertions(+), 1 deletions(-)

diffs (39 lines):

diff -r 6f06e87f68bc -r 0cc4e295a770 devel/py-gobject/distinfo
--- a/devel/py-gobject/distinfo Sun May 13 18:46:35 2012 +0000
+++ b/devel/py-gobject/distinfo Mon May 14 00:15:28 2012 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.23 2012/02/10 15:54:05 drochner Exp $
+$NetBSD: distinfo,v 1.24 2012/05/14 00:15:28 dholland Exp $
 
 SHA1 (pygobject-2.28.6.tar.xz) = b1749ba806499f4c2780dbd1cbb363aaf1f41e78
 RMD160 (pygobject-2.28.6.tar.xz) = 4bc5e8546a5029d3d6b154629ab3fa4023d96bef
@@ -7,4 +7,5 @@
 SHA1 (patch-ab) = f9ec40fcac11fe9d6625b6028dba2e316d9ce59e
 SHA1 (patch-ac) = 083e691cb13dbefeece505a7b6596c69ec8491f7
 SHA1 (patch-ad) = 1fa6c9ec6c3926d2915b7fa0391245bf7ca2daf4
+SHA1 (patch-configure) = 0ba83de34c3205ee6e3cbba9436bac05cc1bfd33
 SHA1 (patch-pygi_info.c) = cd2d0f0b16a84c05b805edec89d4508507811c49
diff -r 6f06e87f68bc -r 0cc4e295a770 devel/py-gobject/patches/patch-configure
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-gobject/patches/patch-configure  Mon May 14 00:15:28 2012 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-configure,v 1.1 2012/05/14 00:15:28 dholland Exp $
+
+Strengthen a configure test so it doesn't depend on -Werror.
+This is not strictly necessary but makes it behave when using the
+wrappers to manipulate warning flags.
+
+--- configure~ 2011-06-13 16:34:06.000000000 +0000
++++ configure
+@@ -14974,8 +14974,9 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_
+ int
+ main ()
+ {
+-PySignal_SetWakeupFd(0);
+-  ;
++  int (*func)(int);
++  func = PySignal_SetWakeupFd;
++  func(0);
+   return 0;
+ }
+ _ACEOF



Home | Main Index | Thread Index | Old Index