diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2006-07-18 13:25:44 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2006-07-18 13:25:44 +0000 |
commit | 765aa79a1c7f1d88c79ed89521cec0f58126f0e4 (patch) | |
tree | 073a9518e38e6810b26f7ee1027262d533c0595e /devel/nspr | |
parent | acbaaee2e6c4dee82727198103ab1e7b2571b310 (diff) | |
download | ports-765aa79a1c7f1d88c79ed89521cec0f58126f0e4.tar.gz ports-765aa79a1c7f1d88c79ed89521cec0f58126f0e4.zip |
Notes
Diffstat (limited to 'devel/nspr')
-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 |