aboutsummaryrefslogtreecommitdiffstats
path: root/devel/nspr
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2006-07-18 21:25:44 +0800
committermarcus <marcus@FreeBSD.org>2006-07-18 21:25:44 +0800
commitf04a5323108e56ae81918e28aa34240caa70cb20 (patch)
tree6926c607421047f6152e3e918681b54e144a9a94 /devel/nspr
parent35a57747719e55f69c160383adbb85753cf02fdd (diff)
downloadfreebsd-ports-graphics-f04a5323108e56ae81918e28aa34240caa70cb20.tar.gz
freebsd-ports-graphics-f04a5323108e56ae81918e28aa34240caa70cb20.tar.zst
freebsd-ports-graphics-f04a5323108e56ae81918e28aa34240caa70cb20.zip
Chase the recent getproto*_r additions to RELENG_6.
Diffstat (limited to 'devel/nspr')
-rw-r--r--devel/nspr/Makefile1
-rw-r--r--devel/nspr/files/patch-.._pr_include_md__freebsd.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/devel/nspr/Makefile b/devel/nspr/Makefile
index 3036a64fe6d..09dc1b834e1 100644
--- a/devel/nspr/Makefile
+++ b/devel/nspr/Makefile
@@ -7,6 +7,7 @@
PORTNAME= nspr
PORTVERSION= 4.6.1
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_MOZILLA}
MASTER_SITE_SUBDIR= nspr/releases/v${PORTVERSION}/src
diff --git a/devel/nspr/files/patch-.._pr_include_md__freebsd.h b/devel/nspr/files/patch-.._pr_include_md__freebsd.h
index 263d829745d..d4c9f4ca4e3 100644
--- a/devel/nspr/files/patch-.._pr_include_md__freebsd.h
+++ b/devel/nspr/files/patch-.._pr_include_md__freebsd.h
@@ -4,7 +4,7 @@
#define _PR_IPV6_V6ONLY_PROBE
#endif
-+#if __FreeBSD_version >= 700016
++#if (__FreeBSD_version >= 700016) || (__FreeBSD_version < 700000 && __FreeBSD_version >= 601103)
+#define _PR_HAVE_GETPROTO_R
+#define _PR_HAVE_5_ARG_GETPROTO_R
+#endif