aboutsummaryrefslogtreecommitdiff
path: root/net/pptpclient/files
diff options
context:
space:
mode:
authorMarcus Alves Grando <mnag@FreeBSD.org>2005-09-29 12:36:00 +0000
committerMarcus Alves Grando <mnag@FreeBSD.org>2005-09-29 12:36:00 +0000
commitbef7dfc56f4122fd9bbb1a614e5a7631fd49ca0d (patch)
treedc9f39ccfd76251bf7650e61125502d235844e5c /net/pptpclient/files
parente594c25433f1570d01c88066d253824f8930032b (diff)
Notes
Diffstat (limited to 'net/pptpclient/files')
-rw-r--r--net/pptpclient/files/patch-aa8
-rw-r--r--net/pptpclient/files/patch-ad11
2 files changed, 4 insertions, 15 deletions
diff --git a/net/pptpclient/files/patch-aa b/net/pptpclient/files/patch-aa
index 62682c293005..32fd59f74808 100644
--- a/net/pptpclient/files/patch-aa
+++ b/net/pptpclient/files/patch-aa
@@ -1,5 +1,5 @@
---- Makefile.orig Wed Jun 11 10:42:07 2003
-+++ Makefile Wed Aug 13 14:48:47 2003
+--- Makefile.orig Thu Feb 17 23:42:45 2005
++++ Makefile Wed Sep 28 19:51:25 2005
@@ -4,7 +4,7 @@
#################################################################
@@ -9,12 +9,12 @@
#################################################################
BINDIR=$(DESTDIR)/usr/sbin
-@@ -15,7 +15,7 @@
+@@ -16,7 +16,7 @@
OPTIMIZE= -O0
DEBUG = -g
INCLUDE =
-CFLAGS = -Wall $(OPTIMIZE) $(DEBUG) $(INCLUDE)
-+CFLAGS = -Wall $(OPTIMIZE) $(DEBUG) $(INCLUDE) -DUSER_PPP
++CFLAGS += -Wall $(DEBUG) $(INCLUDE) -DUSER_PPP
LIBS = -lutil
LDFLAGS =
diff --git a/net/pptpclient/files/patch-ad b/net/pptpclient/files/patch-ad
deleted file mode 100644
index 5185c0587c1b..000000000000
--- a/net/pptpclient/files/patch-ad
+++ /dev/null
@@ -1,11 +0,0 @@
---- pptp_gre.c.orig Tue Jun 22 15:10:30 2004
-+++ pptp_gre.c Tue Jun 22 15:10:38 2004
-@@ -200,7 +200,7 @@
- int optval, optlen = sizeof(optval);
- warn("transmitted GRE packet triggered an ICMP destination unreachable, fragmentation needed, or exceeds the MTU of the network interface");
- #define IP_MTU 14
-- if(getsockopt(fd, SOL_IP, IP_MTU, &optval, &optlen) < 0)
-+ if(getsockopt(fd, IPPROTO_IP, IP_MTU, &optval, &optlen) < 0)
- warn("getsockopt: %s", strerror(errno));
- warn("getsockopt: IP_MTU: %d\n", optval);
- return 0;