]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
pptp: Patch to fix build on linux systems.
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 30 Jul 2010 07:41:29 +0000 (09:41 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 30 Jul 2010 07:41:29 +0000 (09:41 +0200)
pkgs/core/pptp/patches/pptp-1.7.2-pptp-compat.patch [new file with mode: 0644]

diff --git a/pkgs/core/pptp/patches/pptp-1.7.2-pptp-compat.patch b/pkgs/core/pptp/patches/pptp-1.7.2-pptp-compat.patch
new file mode 100644 (file)
index 0000000..56d6b0a
--- /dev/null
@@ -0,0 +1,18 @@
+--- a/pptp_compat.c    2008/07/24 05:53:05     1.2
++++ b/pptp_compat.c    2008/07/25 00:13:56     1.3
+@@ -8,12 +8,14 @@
+ #include <sys/types.h>
+ #include <unistd.h>
+ #include <stdlib.h>
++#if defined (__SVR4) && defined (__sun) /* Solaris */
++#include <stropts.h>
++#endif
+ #include <strings.h>
+ #include "pptp_compat.h"
+ #include <stdio.h>
+ #include "util.h"
+-
+ #if defined (__SVR4) && defined (__sun) /* Solaris */
+ /*
+  * daemon implementation from uClibc