summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com>2017-01-17 18:34:38 +0100
committerDavid Seifert <soap@gentoo.org>2017-01-18 10:19:21 +0100
commitf8ebae6db05ba7f59bde9bae58f47936957bfeab (patch)
tree52ebd42927cd2386a6bfccec9f606395eb00a24f /net-dialup/pptpclient
parentnet-dialup/mgetty: remove unused patches (diff)
downloadgentoo-f8ebae6db05ba7f59bde9bae58f47936957bfeab.tar.gz
gentoo-f8ebae6db05ba7f59bde9bae58f47936957bfeab.tar.bz2
gentoo-f8ebae6db05ba7f59bde9bae58f47936957bfeab.zip
net-dialup/pptpclient: remove unused patch
Closes: https://github.com/gentoo/gentoo/pull/3516
Diffstat (limited to 'net-dialup/pptpclient')
-rw-r--r--net-dialup/pptpclient/files/pptpclient-1.7.2-ip-path.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/net-dialup/pptpclient/files/pptpclient-1.7.2-ip-path.patch b/net-dialup/pptpclient/files/pptpclient-1.7.2-ip-path.patch
deleted file mode 100644
index 0e5902113f47..000000000000
--- a/net-dialup/pptpclient/files/pptpclient-1.7.2-ip-path.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-diff -Nru pptp-1.7.2.orig/routing.c pptp-1.7.2/routing.c
---- pptp-1.7.2.orig/routing.c 2008-05-14 08:33:55.000000000 +0200
-+++ pptp-1.7.2/routing.c 2009-09-16 23:28:11.000000000 +0200
-@@ -55,7 +55,7 @@
-
- void routing_init(char *ip) {
- char buf[256];
-- snprintf(buf, 255, "/bin/ip route get %s", ip);
-+ snprintf(buf, 255, "/sbin/ip route get %s", ip);
- FILE *p = popen(buf, "r");
- fgets(buf, 255, p);
- /* TODO: check for failure of fgets */
-@@ -66,14 +66,14 @@
-
- void routing_start() {
- char buf[256];
-- snprintf(buf, 255, "/bin/ip route replace %s", route);
-+ snprintf(buf, 255, "/sbin/ip route replace %s", route);
- FILE *p = popen(buf, "r");
- pclose(p);
- }
-
- void routing_end() {
- char buf[256];
-- snprintf(buf, 255, "/bin/ip route delete %s", route);
-+ snprintf(buf, 255, "/sbin/ip route delete %s", route);
- FILE *p = popen(buf, "r");
- pclose(p);
- }