]> git.pld-linux.org Git - packages/net-snmp.git/blame - net-snmp-acfix.patch
- net-snmp-python-includes.patch: missing include dirs
[packages/net-snmp.git] / net-snmp-acfix.patch
CommitLineData
04ea07b9
AM
1diff -ur net-snmp-5.3.org/configure.in net-snmp-5.3/configure.in
2--- net-snmp-5.3.org/configure.in 2005-12-28 18:20:56.000000000 +0100
66aaff90 3+++ net-snmp-5.3/configure.in 2006-01-09 01:07:39.031490000 +0100
79789c07
JB
4@@ -1704,11 +1704,11 @@
5 if test "x$sec" = "xksm" -a "xyes" = "x$already_checked_krb5"; then
6 continue
7 fi
8- already_checked_krb5=yes
9
10 if test x$sec != xksm; then
11 rebuilt_new_with_security="$rebuilt_new_with_security $sec"
12 else
13+ already_checked_krb5=yes
14 if test no = $trykrb5; then
15 AC_MSG_NOTICE([configured not to use krb5. disabling ksm])
16 continue
66aaff90
AM
17@@ -2661,23 +2661,6 @@
18 LIBS="${LIBS} -ladm"
19 AGENTLIBS="${AGENTLIBS} -ladm"))
20
21-case $target_os in
22- aix*) # AIX perfstat library, needed for CPU/memory statistics
23- AC_CHECK_HEADERS(libperfstat.h,
24- AC_CHECK_LIB(perfstat, perfstat_cpu_total, AC_DEFINE(HAVE_PERFSTAT)
25- AGENTLIBS="${AGENTLIBS} -lperfstat"), AC_MSG_ERROR([
26-
27-*** To monitor CPU/memory values in AIX you need to install
28-*** libperfstat which can be found in bos.perf
29-]))
30- ;;
31- hpux*) # HP-UX agent needs open_mib
32- AC_CHECK_LIB(nm, open_mib, AC_DEFINE(HAVE_LIBNM)
33- AGENTLIBS="${AGENTLIBS} -lnm")
34- ;;
35- *)
36- ;;
37-esac
38 # WIN32
39 # (mingw32 must link winsock explicitly)
40 AC_CHECK_HEADERS(winsock.h,[
41@@ -2880,7 +2863,7 @@
544e9189
JB
42
43 AC_MSG_RESULT([$ac_cv_type_ssize_t])
44 if test $ac_cv_type_ssize_t = yes; then
45- AC_DEFINE(HAVE_SSIZE_T)
46+ AC_DEFINE(HAVE_SSIZE_T,,[have ssize_t])
47 fi
48
49 # Check ps args
d613e3af
JB
50--- net-snmp-5.4/agent/mibgroup/Makefile.in.orig 2006-09-13 19:00:27.000000000 +0200
51+++ net-snmp-5.4/agent/mibgroup/Makefile.in 2006-12-02 11:51:38.369040000 +0100
52@@ -22,9 +22,13 @@
53 .c.o:
54 $(CC) -c $(CPPFLAGS) $(CFLAGS) -o $@ $<
55
56-OBJS = @mib_module_list_o@
57-LOBJS = @mib_module_list_lo@
58-SRCS = @mib_module_list_c@
59+@mib_module_list_o@
60+@mib_module_list_lo@
61+@mib_module_list_c@
62+
63+OBJS = $(mib_module_list_o)
64+LOBJS = $(mib_module_list_lo)
65+SRCS = $(mib_module_list_c)
66
67 all: standardall $(LOBJS)
68
e5d9a2c0 69
This page took 0.046325 seconds and 4 git commands to generate.