From f04a5323108e56ae81918e28aa34240caa70cb20 Mon Sep 17 00:00:00 2001 From: marcus Date: Tue, 18 Jul 2006 13:25:44 +0000 Subject: Chase the recent getproto*_r additions to RELENG_6. --- devel/nspr/Makefile | 1 + devel/nspr/files/patch-.._pr_include_md__freebsd.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'devel/nspr') diff --git a/devel/nspr/Makefile b/devel/nspr/Makefile index 3036a64fe6d5..09dc1b834e1f 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 263d829745d0..d4c9f4ca4e36 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 -- cgit