diff options
author | Sergey Popov <pinkbyte@gentoo.org> | 2018-09-25 18:36:15 +0300 |
---|---|---|
committer | Sergey Popov <pinkbyte@gentoo.org> | 2018-09-25 18:37:54 +0300 |
commit | 00df9f849daeafd95855720c81c534eee1d8e395 (patch) | |
tree | 7d0ab36e7aca0de8fdd5e421edfe1c5a368d3960 /net-dialup/pptpclient/files | |
parent | net-dialup/pptpclient: version bump (diff) | |
download | gentoo-00df9f849daeafd95855720c81c534eee1d8e395.tar.gz gentoo-00df9f849daeafd95855720c81c534eee1d8e395.tar.bz2 gentoo-00df9f849daeafd95855720c81c534eee1d8e395.zip |
net-dialup/pptpclient: drop old
Package-Manager: Portage-2.3.49, Repoman-2.3.10
Diffstat (limited to 'net-dialup/pptpclient/files')
-rw-r--r-- | net-dialup/pptpclient/files/pptpclient-1.7.2-process-name.patch | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/net-dialup/pptpclient/files/pptpclient-1.7.2-process-name.patch b/net-dialup/pptpclient/files/pptpclient-1.7.2-process-name.patch deleted file mode 100644 index b0051f81bde0..000000000000 --- a/net-dialup/pptpclient/files/pptpclient-1.7.2-process-name.patch +++ /dev/null @@ -1,42 +0,0 @@ -diff -Nru pptp-1.7.2.orig/pptp.c pptp-1.7.2/pptp.c ---- pptp-1.7.2.orig/pptp.c 2008-05-14 08:33:55.000000000 +0200 -+++ pptp-1.7.2/pptp.c 2009-06-20 10:53:07.000000000 +0200 -@@ -59,11 +59,7 @@ - #include "pptp_callmgr.h" - #include "pptp_gre.h" - #include "version.h" --#if defined(__linux__) --#include <sys/prctl.h> --#else - #include "inststr.h" --#endif - #include "util.h" - #include "pptp_quirks.h" - #include "pqueue.h" -@@ -394,12 +390,7 @@ - char *tty_name = ttyname(tty_fd); - snprintf(buf, sizeof(buf), "pptp: GRE-to-PPP gateway on %s", - tty_name ? tty_name : "(null)"); --#ifdef PR_SET_NAME -- rc = prctl(PR_SET_NAME, "pptpgw", 0, 0, 0); -- if (rc != 0) perror("prctl"); --#else - inststr(argc, argv, envp, buf); --#endif - if (sigsetjmp(env, 1)!= 0) goto shutdown; - - signal(SIGINT, sighandler); -@@ -495,13 +486,7 @@ - char *my_argv[3] = { argv[0], inet_ntoa(inetaddr), phonenr }; - char buf[128]; - snprintf(buf, sizeof(buf), "pptp: call manager for %s", my_argv[1]); --#ifdef PR_SET_NAME -- int rc; -- rc = prctl(PR_SET_NAME, "pptpcm", 0, 0, 0); -- if (rc != 0) perror("prctl"); --#else - inststr(argc, argv, envp, buf); --#endif - exit(callmgr_main(3, my_argv, envp)); - } - |