aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorpat <pat@FreeBSD.org>2002-12-14 04:54:20 +0800
committerpat <pat@FreeBSD.org>2002-12-14 04:54:20 +0800
commit5b8c2c7009a4d2122d9ad65bdfd3e960dd275f49 (patch)
tree388e31d1f655dd79a932b4a88c780fc08ed99ba2 /security
parenta0e1506fde24d77008e431ae1b77672520e7e7f0 (diff)
downloadfreebsd-ports-gnome-5b8c2c7009a4d2122d9ad65bdfd3e960dd275f49.tar.gz
freebsd-ports-gnome-5b8c2c7009a4d2122d9ad65bdfd3e960dd275f49.tar.zst
freebsd-ports-gnome-5b8c2c7009a4d2122d9ad65bdfd3e960dd275f49.zip
Fix on -STABLE which only has _BSD_VA_LIST_
PR: ports/44985 Submitted by: Yoshihiko Sarumaru <mistral@imasy.or.jp>
Diffstat (limited to 'security')
-rw-r--r--security/libparanoia/Makefile9
-rw-r--r--security/libparanoia/files/vsnprintf-current.patch (renamed from security/libparanoia/files/patch-ac)0
2 files changed, 8 insertions, 1 deletions
diff --git a/security/libparanoia/Makefile b/security/libparanoia/Makefile
index c6065de59ec4..bad4f310fcf5 100644
--- a/security/libparanoia/Makefile
+++ b/security/libparanoia/Makefile
@@ -24,4 +24,11 @@ BROKEN= You need to have libc sources installed in /usr/src/lib/libc \
before compiling.
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 500039
+post-patch:
+ @(cd ${_DISTDIR};${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/vsnprintf-current.patch)
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/security/libparanoia/files/patch-ac b/security/libparanoia/files/vsnprintf-current.patch
index c6fb894ba86c..c6fb894ba86c 100644
--- a/security/libparanoia/files/patch-ac
+++ b/security/libparanoia/files/vsnprintf-current.patch