pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/bglibs Add patch from author to fix the selfpipe...
details: https://anonhg.NetBSD.org/pkgsrc/rev/afb012a80a9d
branches: trunk
changeset: 503465:afb012a80a9d
user: schmonz <schmonz%pkgsrc.org@localhost>
date: Mon Nov 21 05:37:36 2005 +0000
description:
Add patch from author to fix the selfpipe test under some makes
(at least the one in SuSE Linux 9.2). Bump PKGREVISION.
diffstat:
devel/bglibs/Makefile | 6 ++----
devel/bglibs/distinfo | 3 ++-
devel/bglibs/patches/patch-aa | 26 ++++++++++++++++++++++++++
3 files changed, 30 insertions(+), 5 deletions(-)
diffs (64 lines):
diff -r 683fc29dcd6e -r afb012a80a9d devel/bglibs/Makefile
--- a/devel/bglibs/Makefile Mon Nov 21 05:24:23 2005 +0000
+++ b/devel/bglibs/Makefile Mon Nov 21 05:37:36 2005 +0000
@@ -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 @@
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 -r 683fc29dcd6e -r afb012a80a9d devel/bglibs/distinfo
--- a/devel/bglibs/distinfo Mon Nov 21 05:24:23 2005 +0000
+++ b/devel/bglibs/distinfo Mon Nov 21 05:37:36 2005 +0000
@@ -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 -r 683fc29dcd6e -r afb012a80a9d devel/bglibs/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/bglibs/patches/patch-aa Mon Nov 21 05:37:36 2005 +0000
@@ -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();
Home |
Main Index |
Thread Index |
Old Index