diff options
-rw-r--r-- | devel/nspr/Makefile | 1 | ||||
-rw-r--r-- | devel/nspr/files/patch-.._pr_include_md__freebsd.h | 2 |
2 files changed, 2 insertions, 1 deletions
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 |