summaryrefslogtreecommitdiff
path: root/devel/bglibs
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2005-11-21 05:37:36 +0000
committerschmonz <schmonz@pkgsrc.org>2005-11-21 05:37:36 +0000
commitf8a276d8d40a43608d72ddc5a8ae682f8f97a8c8 (patch)
tree440b937b2c570746e4365726e6c7b8d4ba1f2539 /devel/bglibs
parent685887f5257361dab9fc0f5cf8ed594ec3418d15 (diff)
downloadpkgsrc-f8a276d8d40a43608d72ddc5a8ae682f8f97a8c8.tar.gz
Add patch from author to fix the selfpipe test under some makes
(at least the one in SuSE Linux 9.2). Bump PKGREVISION.
Diffstat (limited to 'devel/bglibs')
-rw-r--r--devel/bglibs/Makefile6
-rw-r--r--devel/bglibs/distinfo3
-rw-r--r--devel/bglibs/patches/patch-aa26
3 files changed, 30 insertions, 5 deletions
diff --git a/devel/bglibs/Makefile b/devel/bglibs/Makefile
index a8a9dae7986..46a882c19c4 100644
--- a/devel/bglibs/Makefile
+++ b/devel/bglibs/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.9 2005/08/24 04:47:10 schmonz Exp $
+# $NetBSD: Makefile,v 1.10 2005/11/21 05:37:36 schmonz Exp $
#
DISTNAME= bglibs-1.027
+PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${HOMEPAGE}
@@ -9,9 +10,6 @@ MAINTAINER= schmonz@NetBSD.org
HOMEPAGE= http://untroubled.org/bglibs/
COMMENT= Collection of libraries by Bruce Guenter
-BUILD_TARGET= all
-INSTALL_TARGET= install
-
DJB_RESTRICTED= NO
DJB_MAKE_TARGETS= NO
diff --git a/devel/bglibs/distinfo b/devel/bglibs/distinfo
index 4d0ce765da0..4cc0bbedf59 100644
--- a/devel/bglibs/distinfo
+++ b/devel/bglibs/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.6 2005/08/23 19:33:52 schmonz Exp $
+$NetBSD: distinfo,v 1.7 2005/11/21 05:37:36 schmonz Exp $
SHA1 (bglibs-1.027.tar.gz) = d95dba3b0596596f3c715df9971d32c53c6fa05d
RMD160 (bglibs-1.027.tar.gz) = 527fd70723f04e309f76ab80cae9577fc224e1e1
Size (bglibs-1.027.tar.gz) = 321537 bytes
+SHA1 (patch-aa) = 79319314433a36b880146deacba70717cdf6520d
diff --git a/devel/bglibs/patches/patch-aa b/devel/bglibs/patches/patch-aa
new file mode 100644
index 00000000000..20717b81ab0
--- /dev/null
+++ b/devel/bglibs/patches/patch-aa
@@ -0,0 +1,26 @@
+$NetBSD: patch-aa,v 1.4 2005/11/21 05:37:36 schmonz Exp $
+
+--- unix/selfpipe.c.orig 2005-08-23 14:23:05.000000000 -0400
++++ unix/selfpipe.c
+@@ -75,17 +75,18 @@ MAIN
+ {
+ int buf;
+ int fd = selfpipe_init();
++ pid_t pid = getpid();
+ puti("FD[0] >= 0", fds[0] >= 0);
+ puti("FD[1] >= 0", fds[1] >= 0);
+ puti("FD[0] != FD[1]", fds[0] != fds[1]);
+ puti("Returned FD == FD[0]", fd == fds[0]);
+ puti("read before SIGCHLD", read(fd, &buf, sizeof buf));
+ puti("errno is EAGAIN", errno == EAGAIN);
+- kill(0, SIGCHLD);
++ kill(pid, SIGCHLD);
+ puti("read after SIGCHLD", read(fd, &buf, sizeof buf));
+ puti("second read", read(fd, &buf, sizeof buf));
+- kill(0, SIGCHLD);
+- kill(0, SIGCHLD);
++ kill(pid, SIGCHLD);
++ kill(pid, SIGCHLD);
+ puti("read after two SIGCHLDs", read(fd, &buf, sizeof buf));
+ puti("second read", read(fd, &buf, sizeof buf));
+ selfpipe_close();