source: pkg/boss/main/network-manager-pptp/trunk/debian/patches/pppd-includes.dpatch @ 4792

Revision 4792, 971 bytes checked in by alanbach-guest, 6 years ago (diff)
  • Added network-manager-pptp to BOSS
Line 
1#! /bin/sh /usr/share/dpatch/dpatch-run
2## pppd-includes.dpatch by Enrico Tassi <gareuselesinge@debian.org>
3##
4## All lines beginning with `## DP:' are a description of the patch.
5## DP: use system wide headers for ppp
6
7@DPATCH@
8diff -urNad trunk~/src/nm-pptp-service-pppd-plugin.c trunk/src/nm-pptp-service-pppd-plugin.c
9--- trunk~/src/nm-pptp-service-pppd-plugin.c    2006-09-27 17:10:37.000000000 +0200
10+++ trunk/src/nm-pptp-service-pppd-plugin.c     2008-04-07 22:39:07.000000000 +0200
11@@ -19,9 +19,9 @@
12  * (C) Copyright 2005 Red Hat, Inc.
13  */
14 
15-#include "pppd/pppd.h"
16-#include "pppd/fsm.h"
17-#include "pppd/ipcp.h"
18+#include <pppd/pppd.h>
19+#include <pppd/fsm.h>
20+#include <pppd/ipcp.h>
21 
22 #include <glib.h>
23 #include <stdlib.h>
24@@ -39,7 +39,7 @@
25 #include "nm-pptp-service.h"
26 #include "nm-utils.h"
27 
28-char pppd_version[] = PPPD_VERSION;
29+char pppd_version[] = VERSION;
30 
31 static void pptp_ip_up(void *opaque, int arg);
32 static void pptp_ip_down(void *opaque, int arg);
Note: See TracBrowser for help on using the repository browser.