Tags: patch

I've hit the same issue here. A simple solution which ensures the 
package is built against the right pppd.h is to use the headers from the 
ppp-dev package. Ideally I guess pptpd should have a versioned depends: 
agaist pppd. My patch to build using ppp-dev is attached.

Stu
-- 
>From the prompt of Stu Teasdale

"Debian: no hats or reptiles were harmed in the making of this distribution=
."
        -- Paul Slootman
diff -u -r pptpd-1.3.0/debian/control pptpd-1.3.0.new/debian/control
--- pptpd-1.3.0/debian/control  2006-07-10 10:37:22.000000000 +0100
+++ pptpd-1.3.0.new/debian/control      2006-07-10 10:30:47.000000000 +0100
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Rene Mayrhofer <[EMAIL PROTECTED]>
 Standards-Version: 3.6.1.1
-Build-Depends: libwrap0-dev, debhelper (>= 4.1.16)
+Build-Depends: libwrap0-dev, debhelper (>= 4.1.16), ppp-dev

 Package: pptpd
 Architecture: any
diff -u -r pptpd-1.3.0/plugins/pptpd-logwtmp.c 
pptpd-1.3.0.new/plugins/pptpd-logwtmp.c
--- pptpd-1.3.0/plugins/pptpd-logwtmp.c 2006-07-10 10:37:08.000000000 +0100
+++ pptpd-1.3.0.new/plugins/pptpd-logwtmp.c     2006-07-10 10:29:59.000000000 
+0100
@@ -11,7 +11,7 @@
  */
 #include <unistd.h>
 #include <utmp.h>
-#include "pppd.h"
+#include <pppd/pppd.h>

 char pppd_version[] = VERSION;

Reply via email to