Fix autoconf -fPIC breakage; add a few more missing includes
This commit is contained in:
parent
6e9720ea8d
commit
de08a34267
@ -1,5 +1,16 @@
|
|||||||
--- NetworkManager-0.7.0/src/nm-netlink.c.missing-includes 2007-08-30 18:57:04.000000000 -0400
|
--- NetworkManager-0.7.0/src/ppp-manager/nm-ppp-manager.c.missing-includes 2007-08-31 00:04:26.000000000 -0400
|
||||||
+++ NetworkManager-0.7.0/src/nm-netlink.c 2007-08-30 18:58:03.000000000 -0400
|
+++ NetworkManager-0.7.0/src/ppp-manager/nm-ppp-manager.c 2007-08-31 00:05:19.000000000 -0400
|
||||||
|
@@ -4,6 +4,8 @@
|
||||||
|
#include <sys/wait.h>
|
||||||
|
#include <signal.h>
|
||||||
|
#include <string.h>
|
||||||
|
+#include <sys/types.h>
|
||||||
|
+#include <unistd.h>
|
||||||
|
|
||||||
|
#include "nm-ppp-manager.h"
|
||||||
|
#include "nm-dbus-manager.h"
|
||||||
|
--- NetworkManager-0.7.0/src/nm-netlink.c.missing-includes 2007-08-30 14:45:49.000000000 -0400
|
||||||
|
+++ NetworkManager-0.7.0/src/nm-netlink.c 2007-08-30 23:58:58.000000000 -0400
|
||||||
@@ -19,6 +19,11 @@
|
@@ -19,6 +19,11 @@
|
||||||
* (C) Copyright 2007 Red Hat, Inc.
|
* (C) Copyright 2007 Red Hat, Inc.
|
||||||
*/
|
*/
|
||||||
@ -13,9 +24,17 @@
|
|||||||
#include "nm-utils.h"
|
#include "nm-utils.h"
|
||||||
|
|
||||||
--- NetworkManager-0.7.0/src/nm-hal-manager.c.missing-includes 2007-08-30 14:45:49.000000000 -0400
|
--- NetworkManager-0.7.0/src/nm-hal-manager.c.missing-includes 2007-08-30 14:45:49.000000000 -0400
|
||||||
+++ NetworkManager-0.7.0/src/nm-hal-manager.c 2007-08-30 18:56:39.000000000 -0400
|
+++ NetworkManager-0.7.0/src/nm-hal-manager.c 2007-08-30 23:58:58.000000000 -0400
|
||||||
@@ -1,3 +1,4 @@
|
@@ -1,3 +1,4 @@
|
||||||
+#include <signal.h>
|
+#include <signal.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <libhal.h>
|
#include <libhal.h>
|
||||||
|
--- NetworkManager-0.7.0/test/Makefile.am.missing-includes 2007-08-30 14:45:35.000000000 -0400
|
||||||
|
+++ NetworkManager-0.7.0/test/Makefile.am 2007-08-30 23:58:58.000000000 -0400
|
||||||
|
@@ -45,5 +45,3 @@ libnm_glib_test_LDADD = $(DBUS_LIBS) $(G
|
||||||
|
$(top_builddir)/utils/libnmutils.la \
|
||||||
|
$(top_builddir)/libnm-util/libnm-util.la
|
||||||
|
|
||||||
|
-nm_supplicant_test_SOURCES = nm-supplicant-test.c
|
||||||
|
-nm_supplicant_test_LDADD = $(GLIB_LIBS) $(GTHREAD_LIBS)
|
||||||
|
@ -131,6 +131,7 @@ tar -xzf %{SOURCE1}
|
|||||||
%build
|
%build
|
||||||
# Even though we don't require named, we still build with it
|
# Even though we don't require named, we still build with it
|
||||||
# so that if the user installs it, NM will use it automatically
|
# so that if the user installs it, NM will use it automatically
|
||||||
|
autoreconf -i
|
||||||
%configure \
|
%configure \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--with-named=/usr/sbin/named \
|
--with-named=/usr/sbin/named \
|
||||||
|
Loading…
Reference in New Issue
Block a user