]> git.pld-linux.org Git - packages/NetworkManager.git/commitdiff
- added llh340.patch
authorSzymon Siwek <sls@pld-linux.org>
Thu, 14 Jun 2012 08:51:25 +0000 (08:51 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    NetworkManager.spec -> 1.111
    llh340.patch -> 1.1

NetworkManager.spec
llh340.patch [new file with mode: 0644]

index b7925d98e68b87e7e33cf1bdd9a2bfdb4818eabf..6138466c9763c7830aae5998c612047c07dd2766 100644 (file)
@@ -19,6 +19,7 @@ Source3:      %{name}.tmpfiles
 Patch0:                %{name}-pld.patch
 Patch1:                ifcfg-path.patch
 Patch2:                systemd-fallback.patch
+Patch3:                llh340.patch
 URL:           http://projects.gnome.org/NetworkManager/
 BuildRequires: autoconf >= 2.63
 BuildRequires: automake >= 1:1.10
@@ -137,6 +138,7 @@ Statyczne biblioteki Network Managera.
 %patch0 -p1
 %patch1 -p1
 %{?with_systemd:%patch2 -p1}
+%patch3 -p1
 
 %build
 %{__gtkdocize}
diff --git a/llh340.patch b/llh340.patch
new file mode 100644 (file)
index 0000000..632d9fd
--- /dev/null
@@ -0,0 +1,21 @@
+# there's no <linux/if_ppp.h> in linux-libc-headers-3.4.0
+--- NetworkManager-0.9.4.0/src/ppp-manager/nm-ppp-manager.c.orig       2012-06-14 09:42:51.793598842 +0200
++++ NetworkManager-0.9.4.0/src/ppp-manager/nm-ppp-manager.c    2012-06-14 09:46:36.876054350 +0200
+@@ -32,14 +32,14 @@
+ #include <sys/socket.h>
+ #include <sys/ioctl.h>
+ #include <asm/types.h>
+-#include <linux/if.h>
++#include <net/if.h>
+ #include <sys/stat.h>
+-#include <linux/ppp_defs.h>
++#include <net/ppp_defs.h>
+ #ifndef aligned_u64
+ #define aligned_u64 unsigned long long __attribute__((aligned(8)))
+ #endif
+-#include <linux/if_ppp.h>
++#include <net/if_ppp.h>
+ #include "NetworkManager.h"
+ #include "nm-glib-compat.h"
This page took 0.223533 seconds and 4 git commands to generate.