summaryrefslogtreecommitdiff
path: root/archivers/rpm4
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2012-06-17 21:00:21 +0000
committerJohan van Selst <johans@FreeBSD.org>2012-06-17 21:00:21 +0000
commit5ceaed7ee775a8a1d46ada6f68101862c22024ba (patch)
treea1ba1eb971e04d24c4ec3c2582812c4509342c70 /archivers/rpm4
parentAdjust message in MOVED (diff)
Fix build on FreeBSD 7.x
Reported by: pav (pointyhat)
Notes
Notes: svn path=/head/; revision=299516
Diffstat (limited to 'archivers/rpm4')
-rw-r--r--archivers/rpm4/files/extra-patch-rpmio_rpmsq.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/archivers/rpm4/files/extra-patch-rpmio_rpmsq.c b/archivers/rpm4/files/extra-patch-rpmio_rpmsq.c
index 0902283897f6..70de5597708b 100644
--- a/archivers/rpm4/files/extra-patch-rpmio_rpmsq.c
+++ b/archivers/rpm4/files/extra-patch-rpmio_rpmsq.c
@@ -1,8 +1,8 @@
---- rpmio/rpmsq.c.orig 2010-07-02 12:27:50.000000000 +0200
-+++ rpmio/rpmsq.c 2010-07-02 12:27:53.000000000 +0200
-@@ -75,6 +75,25 @@ static struct rpmsqElem rpmsqRock;
-
- static rpmsq rpmsqQueue = &rpmsqRock;
+--- rpmio/rpmsq.c.orig 2012-06-17 22:38:37.000000000 +0200
++++ rpmio/rpmsq.c 2012-06-17 22:38:29.000000000 +0200
+@@ -39,6 +39,25 @@
+ { -1, NULL },
+ };
+int
+sighold(int sig)
@@ -23,6 +23,6 @@
+ return (_sigprocmask(SIG_UNBLOCK, &set, NULL));
+}
+
- /** \ingroup rpmsq
- * Insert node into from queue.
- * @param elem node to link
+ int rpmsqIsCaught(int signum)
+ {
+ return sigismember(&rpmsqCaught, signum);