184
|
1 |
--- ganglia-3.0.3/srclib/confuse/tests/check_confuse.c.orig 2007-03-21 12:46:02.919469000 +0000
|
|
2 |
+++ ganglia-3.0.3/srclib/confuse/tests/check_confuse.c 2007-03-21 12:47:06.754208000 +0000
|
|
3 |
@@ -1,5 +1,5 @@
|
|
4 |
#include <check.h>
|
|
5 |
-#include "confuse.h"
|
|
6 |
+#include "../src/confuse.h"
|
|
7 |
|
|
8 |
Suite *single_suite(void);
|
|
9 |
Suite *dup_suite(void);
|
|
10 |
--- ganglia-3.0.3/srclib/confuse/tests/suite_single.c.orig 2007-03-21 12:46:41.346888000 +0000
|
|
11 |
+++ ganglia-3.0.3/srclib/confuse/tests/suite_single.c 2007-03-21 12:46:52.111031000 +0000
|
|
12 |
@@ -6,7 +6,7 @@
|
|
13 |
#include <sys/socket.h>
|
|
14 |
#include <netinet/in.h>
|
|
15 |
#include <arpa/inet.h>
|
|
16 |
-#include <net/ethernet.h>
|
|
17 |
+#include <sys/ethernet.h>
|
|
18 |
#ifdef linux
|
|
19 |
# include <netinet/ether.h>
|
|
20 |
#endif
|
|
21 |
--- ganglia-3.0.3/srclib/confuse/tests/Makefile.am.orig 2007-03-21 12:48:33.614813000 +0000
|
|
22 |
+++ ganglia-3.0.3/srclib/confuse/tests/Makefile.am 2007-03-21 12:48:46.528978000 +0000
|
|
23 |
@@ -3,7 +3,7 @@
|
|
24 |
check_confuse_SOURCES=check_confuse.c suite_single.c suite_dup.c suite_list.c suite_validate.c \
|
|
25 |
suite_func.c
|
|
26 |
check_confuse_INCLUDES=-I$(top_srcdir)/src @CHECK_CFLAGS@
|
|
27 |
-check_confuse_LDADD=-L../src/ @CHECK_LIBS@ ../src/libconfuse.la $(LTLIBINTL)
|
|
28 |
+check_confuse_LDADD=-L../src/ @CHECK_LIBS@ ../src/libconfuse.la $(LTLIBINTL) -lsocket -lnsl
|
|
29 |
EXTRA_DIST=a.conf b.conf
|
|
30 |
CLEANFILES=*~ \#*\#
|
|
31 |
|
|
32 |
--- ganglia-3.0.3/srclib/confuse/tests/Makefile.in.orig 2007-03-21 13:13:37.173036000 +0000
|
|
33 |
+++ ganglia-3.0.3/srclib/confuse/tests/Makefile.in 2007-03-21 13:14:18.391115000 +0000
|
|
34 |
@@ -209,7 +209,7 @@
|
|
35 |
suite_func.c
|
|
36 |
|
|
37 |
check_confuse_INCLUDES = -I$(top_srcdir)/src @CHECK_CFLAGS@
|
|
38 |
-check_confuse_LDADD = -L../src/ @CHECK_LIBS@ ../src/libconfuse.la $(LTLIBINTL)
|
|
39 |
+check_confuse_LDADD = -L../src/ @CHECK_LIBS@ ../src/libconfuse.la $(LTLIBINTL) -lsocket -lnsl
|
|
40 |
EXTRA_DIST = a.conf b.conf
|
|
41 |
CLEANFILES = *~ \#*\#
|
|
42 |
all: all-am
|