1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/net/ndisc6/files/patch-cpp-syntax
Shaun Amott 674c2916a9 - Fix build on 4.x.
PR:		ports/104068
Submitted by:	Rémi Denis-Courmont <rdenis@simphalempin.com> (maintainer)
2006-10-07 01:13:16 +00:00

27 lines
995 B
Plaintext

Index: src/inet6rth.h
===================================================================
--- src/inet6rth.h (revision 345)
+++ src/inet6rth.h (revision 347)
@@ -75,7 +75,7 @@
# define IPV6_RECVRTHDR 56
# define IPV6_RTHDR 57
# elif defined (__FreeBSD__) || defined (__FreeBSD_kernel__) \
- defined (__NetBSD__) || defined (__NetBSD_kernel__)
+ || defined (__NetBSD__) || defined (__NetBSD_kernel__)
# define IPV6_RECVRTHDR 38
# define IPV6_RTHDR 51
# else
Index: src/traceroute.c
===================================================================
--- src/traceroute.c (revision 345)
+++ src/traceroute.c (revision 347)
@@ -54,7 +54,7 @@
# if defined (__linux__)
# define IPV6_TCLASS 67
# elif defined (__FreeBSD__) || defined (__FreeBSD_kernel__) \
- defined (__NetBSD__) || defined (__NetBSD_kernel__)
+ || defined (__NetBSD__) || defined (__NetBSD_kernel__)
# define IPV6_TCLASS 61
# else
# warning Traffic class support missing! Define IPV6_TCLASS!