FreeBSD Bugzilla – Attachment 81923 Details for
Bug 117240
[MAINTAINER] net-mgmt/send: [Fixing compilation problems]
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
send-0.2_1.patch
send-0.2_1.patch (text/plain), 3.47 KB, created by
Janos Mohacsi
on 2007-10-16 12:50:01 UTC
(
hide
)
Description:
send-0.2_1.patch
Filename:
MIME Type:
Creator:
Janos Mohacsi
Created:
2007-10-16 12:50:01 UTC
Size:
3.47 KB
patch
obsolete
>diff -ruN --exclude=CVS /usr/ports/net-mgmt/send.orig/Makefile /usr/ports/net-mgmt/send/Makefile >--- /usr/ports/net-mgmt/send.orig/Makefile 2007-09-23 08:39:05.000000000 +0200 >+++ /usr/ports/net-mgmt/send/Makefile 2007-10-16 11:05:08.000000000 +0200 >@@ -6,6 +6,7 @@ > > PORTNAME= send > PORTVERSION= 0.2 >+PORTREVISION= 1 > CATEGORIES= net-mgmt ipv6 > MASTER_SITES= #http://www.docomolabs-usa.com/lab_osrc_guide.html > DISTNAME= ${PORTNAME}_${PORTVERSION} >@@ -25,8 +26,12 @@ > > .include <bsd.port.pre.mk> > >-.if ${OSVERSION} > 600000 >-BROKEN= doesn't compile in FreeBSD > 6.0 >+.if ${OSVERSION} < 600000 >+BROKEN= doesn't compile in FreeBSD < 6.0 >+.endif >+ >+.if ${OSVERSION} > 700000 >+EXTRA_PATCHES+= ${FILESDIR}/extra-patch-include_pkixip__ext__asn.h > .endif > > .if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) >diff -ruN --exclude=CVS /usr/ports/net-mgmt/send.orig/files/extra-patch-include_pkixip__ext__asn.h /usr/ports/net-mgmt/send/files/extra-patch-include_pkixip__ext__asn.h >--- /usr/ports/net-mgmt/send.orig/files/extra-patch-include_pkixip__ext__asn.h 1970-01-01 01:00:00.000000000 +0100 >+++ /usr/ports/net-mgmt/send/files/extra-patch-include_pkixip__ext__asn.h 2007-09-23 08:39:06.000000000 +0200 >@@ -0,0 +1,45 @@ >+ >+$FreeBSD: ports/net-mgmt/send/files/patch-include_pkixip__ext__asn.h,v 1.1 2007/09/23 06:39:06 edwin Exp $ >+ >+--- include/pkixip_ext_asn.h.orig >++++ include/pkixip_ext_asn.h >+@@ -45,6 +45,7 @@ >+ #define IANA_SAFI_BOTH 3 >+ #define IANA_SAFI_MPLS 4 >+ >++/* >+ typedef struct IPAddressRange_st { >+ ASN1_BIT_STRING *min; >+ ASN1_BIT_STRING *max; >+@@ -52,9 +53,6 @@ >+ >+ typedef struct IPAddressOrRange_st { >+ >+-#define IP_AOR_PREFIX 0 >+-#define IP_AOR_RANGE 1 >+- >+ int type; >+ union { >+ ASN1_BIT_STRING *addressPrefix; >+@@ -64,8 +62,6 @@ >+ >+ typedef struct IPAddressChoice_st { >+ >+-#define IPA_CHOICE_INHERIT 0 >+-#define IPA_CHOICE_AOR 1 >+ >+ int type; >+ union { >+@@ -78,6 +74,12 @@ >+ ASN1_OCTET_STRING *addressFamily; >+ IPAddressChoice *ipAddressChoice; >+ } IPAddressFamily; >++*/ >++ >++#define IP_AOR_PREFIX 0 >++#define IP_AOR_RANGE 1 >++#define IPA_CHOICE_INHERIT 0 >++#define IPA_CHOICE_AOR 1 >+ >+ typedef STACK_OF(IPAddressFamily) IPAddrBlocks; >+ >diff -ruN --exclude=CVS /usr/ports/net-mgmt/send.orig/files/patch-include_pkixip__ext__asn.h /usr/ports/net-mgmt/send/files/patch-include_pkixip__ext__asn.h >--- /usr/ports/net-mgmt/send.orig/files/patch-include_pkixip__ext__asn.h 2007-09-23 08:39:06.000000000 +0200 >+++ /usr/ports/net-mgmt/send/files/patch-include_pkixip__ext__asn.h 1970-01-01 01:00:00.000000000 +0100 >@@ -1,45 +0,0 @@ >- >-$FreeBSD: ports/net-mgmt/send/files/patch-include_pkixip__ext__asn.h,v 1.1 2007/09/23 06:39:06 edwin Exp $ >- >---- include/pkixip_ext_asn.h.orig >-+++ include/pkixip_ext_asn.h >-@@ -45,6 +45,7 @@ >- #define IANA_SAFI_BOTH 3 >- #define IANA_SAFI_MPLS 4 >- >-+/* >- typedef struct IPAddressRange_st { >- ASN1_BIT_STRING *min; >- ASN1_BIT_STRING *max; >-@@ -52,9 +53,6 @@ >- >- typedef struct IPAddressOrRange_st { >- >--#define IP_AOR_PREFIX 0 >--#define IP_AOR_RANGE 1 >-- >- int type; >- union { >- ASN1_BIT_STRING *addressPrefix; >-@@ -64,8 +62,6 @@ >- >- typedef struct IPAddressChoice_st { >- >--#define IPA_CHOICE_INHERIT 0 >--#define IPA_CHOICE_AOR 1 >- >- int type; >- union { >-@@ -78,6 +74,12 @@ >- ASN1_OCTET_STRING *addressFamily; >- IPAddressChoice *ipAddressChoice; >- } IPAddressFamily; >-+*/ >-+ >-+#define IP_AOR_PREFIX 0 >-+#define IP_AOR_RANGE 1 >-+#define IPA_CHOICE_INHERIT 0 >-+#define IPA_CHOICE_AOR 1 >- >- typedef STACK_OF(IPAddressFamily) IPAddrBlocks; >-
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 117240
: 81923