diff options
Diffstat (limited to 'meta-networking/recipes-daemons/openhpi/files/openhpi-netsnmp-cross-compile.patch')
-rw-r--r-- | meta-networking/recipes-daemons/openhpi/files/openhpi-netsnmp-cross-compile.patch | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/meta-networking/recipes-daemons/openhpi/files/openhpi-netsnmp-cross-compile.patch b/meta-networking/recipes-daemons/openhpi/files/openhpi-netsnmp-cross-compile.patch index 95b0abc91..293c8d91f 100644 --- a/meta-networking/recipes-daemons/openhpi/files/openhpi-netsnmp-cross-compile.patch +++ b/meta-networking/recipes-daemons/openhpi/files/openhpi-netsnmp-cross-compile.patch | |||
@@ -13,36 +13,33 @@ Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> | |||
13 | configure | 4 ++-- | 13 | configure | 4 ++-- |
14 | 2 files changed, 4 insertions(+), 4 deletions(-) | 14 | 2 files changed, 4 insertions(+), 4 deletions(-) |
15 | 15 | ||
16 | diff --git a/acinclude.m4 b/acinclude.m4 | 16 | Index: openhpi-3.8.0/acinclude.m4 |
17 | index 82c33f6..727e461 100644 | 17 | =================================================================== |
18 | --- a/acinclude.m4 | 18 | --- openhpi-3.8.0.orig/acinclude.m4 |
19 | +++ b/acinclude.m4 | 19 | +++ openhpi-3.8.0/acinclude.m4 |
20 | @@ -160,8 +160,8 @@ AC_DEFUN([OH_CHECK_NETSNMP], | 20 | @@ -160,8 +160,8 @@ AC_DEFUN([OH_CHECK_NETSNMP], |
21 | ], | 21 | ], |
22 | [ | 22 | [ |
23 | have_netsnmp=yes | 23 | have_netsnmp=yes |
24 | - SNMPFLAGS=`${net_snmp_config:-net-snmp-config} --cflags | perl -p -e 's/-O\S*//g'` | 24 | - SNMPFLAGS=`${net_snmp_config:-net-snmp-config} --cflags | perl -p -e 's/ -O\S*//g'` |
25 | - SNMPLIBS=`${net_snmp_config:-net-snmp-config} --libs` | 25 | - SNMPLIBS=`${net_snmp_config:-net-snmp-config} --libs` |
26 | + SNMPFLAGS="" | 26 | + SNMPFLAGS="" |
27 | + SNMPLIBS="" | 27 | + SNMPLIBS="" |
28 | AC_MSG_RESULT(yes) | 28 | AC_MSG_RESULT(yes) |
29 | ], | 29 | ], |
30 | [AC_MSG_RESULT(no. No SNMP based plugins can be built!)]) | 30 | [AC_MSG_RESULT(no. No SNMP based plugins can be built!)]) |
31 | diff --git a/configure b/configure | 31 | Index: openhpi-3.8.0/configure |
32 | index 00067bc..36b913c 100755 | 32 | =================================================================== |
33 | --- a/configure | 33 | --- openhpi-3.8.0.orig/configure |
34 | +++ b/configure | 34 | +++ openhpi-3.8.0/configure |
35 | @@ -15949,8 +15949,8 @@ _ACEOF | 35 | @@ -16062,8 +16062,8 @@ _ACEOF |
36 | if ac_fn_c_try_link "$LINENO"; then : | 36 | if ac_fn_c_try_link "$LINENO"; then : |
37 | 37 | ||
38 | have_netsnmp=yes | 38 | have_netsnmp=yes |
39 | - SNMPFLAGS=`${net_snmp_config:-net-snmp-config} --cflags | perl -p -e 's/-O\S*//g'` | 39 | - SNMPFLAGS=`${net_snmp_config:-net-snmp-config} --cflags | perl -p -e 's/ -O\S*//g'` |
40 | - SNMPLIBS=`${net_snmp_config:-net-snmp-config} --libs` | 40 | - SNMPLIBS=`${net_snmp_config:-net-snmp-config} --libs` |
41 | + SNMPFLAGS="" | 41 | + SNMPFLAGS="" |
42 | + SNMPLIBS="" | 42 | + SNMPLIBS="" |
43 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 43 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
44 | $as_echo "yes" >&6; } | 44 | $as_echo "yes" >&6; } |
45 | 45 | ||
46 | -- | ||
47 | 1.9.1 | ||
48 | |||