bzip2 now also needs rpath

This commit is contained in:
sthen 2015-10-11 21:07:32 +00:00
parent 16a0952e39
commit f9e7aa16ff
2 changed files with 6 additions and 6 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.66 2015/10/09 06:50:19 jasper Exp $
# $OpenBSD: Makefile,v 1.67 2015/10/11 21:07:32 sthen Exp $
COMMENT= block-sorting file compressor, unencumbered
VERSION= 1.0.6
DISTNAME= bzip2-${VERSION}
REVISION= 3
REVISION= 4
CATEGORIES= archivers
MASTER_SITES= ${HOMEPAGE}${VERSION}/
SHARED_LIBS= bz2 10.4

View File

@ -1,11 +1,11 @@
$OpenBSD: patch-bzip2_c,v 1.2 2015/10/09 06:50:19 jasper Exp $
--- bzip2.c.orig Mon Oct 5 10:03:08 2015
+++ bzip2.c Mon Oct 5 10:05:18 2015
$OpenBSD: patch-bzip2_c,v 1.3 2015/10/11 21:07:32 sthen Exp $
--- bzip2.c.orig Sat Sep 11 00:04:53 2010
+++ bzip2.c Sun Oct 11 22:02:53 2015
@@ -1781,6 +1781,9 @@ IntNative main ( IntNative argc, Char *argv[] )
Cell *aa;
Bool decode;
+ if (pledge("stdio wpath cpath fattr", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath fattr", NULL) == -1)
+ err(1, "pledge");
+
/*-- Be really really really paranoid :-) --*/