aboutsummaryrefslogtreecommitdiffstats
path: root/testing/pptpclient/pptpclient-uclibc.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-12-31 14:00:09 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-12-31 14:00:09 +0000
commite864119910827fecc4cd5a51d3987598e0f9526a (patch)
tree852715afa6bf927627447bfef0a370bafdbd5704 /testing/pptpclient/pptpclient-uclibc.patch
parentd42dbe6e44d01f401983e5a92a366cb47a7a73cc (diff)
downloadaports-e864119910827fecc4cd5a51d3987598e0f9526a.tar.bz2
aports-e864119910827fecc4cd5a51d3987598e0f9526a.tar.xz
testing/pptpclient: new aport
Client for the proprietary Microsoft Point-to-Point Tunneling Protocol, PPTP. http://pptpclient.sourceforge.net/
Diffstat (limited to 'testing/pptpclient/pptpclient-uclibc.patch')
-rw-r--r--testing/pptpclient/pptpclient-uclibc.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/testing/pptpclient/pptpclient-uclibc.patch b/testing/pptpclient/pptpclient-uclibc.patch
new file mode 100644
index 0000000000..aa9536e4df
--- /dev/null
+++ b/testing/pptpclient/pptpclient-uclibc.patch
@@ -0,0 +1,21 @@
+diff --git a/pptp_compat.c b/pptp_compat.c
+index 1760a3b..6ebbea4 100644
+--- a/pptp_compat.c
++++ b/pptp_compat.c
+@@ -2,6 +2,7 @@
+ *
+ */
+
++#if defined (__SVR4) && defined (__sun) /* Solaris */
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <fcntl.h>
+@@ -14,8 +15,6 @@
+ #include <stdio.h>
+ #include "util.h"
+
+-
+-#if defined (__SVR4) && defined (__sun) /* Solaris */
+ /*
+ * daemon implementation from uClibc
+ */