summaryrefslogtreecommitdiff
path: root/devel/py-gobject
diff options
context:
space:
mode:
authordholland <dholland>2012-05-14 00:15:28 +0000
committerdholland <dholland>2012-05-14 00:15:28 +0000
commit584587a6c6ceb7b1db4de84030413fe46ff20c4f (patch)
tree23649246af20913f0ddc89898f979f1ac687a8ae /devel/py-gobject
parente1e8f159cb0795cd86b52a1200dc28d4a7a1395b (diff)
downloadpkgsrc-584587a6c6ceb7b1db4de84030413fe46ff20c4f.tar.gz
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 (limited to 'devel/py-gobject')
-rw-r--r--devel/py-gobject/distinfo3
-rw-r--r--devel/py-gobject/patches/patch-configure20
2 files changed, 22 insertions, 1 deletions
diff --git a/devel/py-gobject/distinfo b/devel/py-gobject/distinfo
index b211860513b..e02ebe1124d 100644
--- a/devel/py-gobject/distinfo
+++ b/devel/py-gobject/distinfo
@@ -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-aa) = a706cc4cd48121f21d12027c315dfe92d34157ed
SHA1 (patch-ab) = f9ec40fcac11fe9d6625b6028dba2e316d9ce59e
SHA1 (patch-ac) = 083e691cb13dbefeece505a7b6596c69ec8491f7
SHA1 (patch-ad) = 1fa6c9ec6c3926d2915b7fa0391245bf7ca2daf4
+SHA1 (patch-configure) = 0ba83de34c3205ee6e3cbba9436bac05cc1bfd33
SHA1 (patch-pygi_info.c) = cd2d0f0b16a84c05b805edec89d4508507811c49
diff --git a/devel/py-gobject/patches/patch-configure b/devel/py-gobject/patches/patch-configure
new file mode 100644
index 00000000000..f9986b15d37
--- /dev/null
+++ b/devel/py-gobject/patches/patch-configure
@@ -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