aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2006-12-17 15:06:32 +0800
committerrafan <rafan@FreeBSD.org>2006-12-17 15:06:32 +0800
commitcdd4b823703fac8cd7b3035d5e3332c2b37ba343 (patch)
tree27b587704d380761350674f67ea674d3d642e769 /net
parent76d1d43b57d5b8db0e0e14d39c5c7145b5889ecb (diff)
downloadfreebsd-ports-graphics-cdd4b823703fac8cd7b3035d5e3332c2b37ba343.tar.gz
freebsd-ports-graphics-cdd4b823703fac8cd7b3035d5e3332c2b37ba343.tar.zst
freebsd-ports-graphics-cdd4b823703fac8cd7b3035d5e3332c2b37ba343.zip
- Fix build on gcc4
PR: ports/106808 Submitted by: Matthias Andree <matthias.andree at gmx.de> (maintainer)
Diffstat (limited to 'net')
-rw-r--r--net/rp-pppoe/files/patch-gcc41-aa10
1 files changed, 10 insertions, 0 deletions
diff --git a/net/rp-pppoe/files/patch-gcc41-aa b/net/rp-pppoe/files/patch-gcc41-aa
new file mode 100644
index 00000000000..6d7045b5b78
--- /dev/null
+++ b/net/rp-pppoe/files/patch-gcc41-aa
@@ -0,0 +1,10 @@
+--- pppoe.h.orig Fri Dec 15 12:02:31 2006
++++ pppoe.h Fri Dec 15 12:03:23 2006
+@@ -75,7 +75,6 @@
+ #ifdef USE_BPF
+ extern int bpfSize;
+ struct PPPoEPacketStruct;
+-void sessionDiscoveryPacket(struct PPPoEPacketStruct *packet);
+ #define BPF_BUFFER_IS_EMPTY (bpfSize <= 0)
+ #define BPF_BUFFER_HAS_DATA (bpfSize > 0)
+ #define ethhdr ether_header