All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-networking][PATCH] net-snmp: apply patch for cross-compilation
@ 2015-12-01 13:02 Rafaël Carré
  2015-12-01 16:48 ` Khem Raj
  0 siblings, 1 reply; 5+ messages in thread
From: Rafaël Carré @ 2015-12-01 13:02 UTC (permalink / raw)
  To: openembedded-devel

7fb5479 added the patch but did not apply it
---
 meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb
index b32d842..d6c7bbb 100644
--- a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb
+++ b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb
@@ -20,6 +20,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/net-snmp/net-snmp-${PV}.zip \
         file://run-ptest \
         file://dont-return-incompletely-parsed-varbinds.patch \
         file://0001-config_os_headers-Error-Fix.patch \
+        file://0002-config_os_headers-Error-Fix.patch \
         file://0001-snmplib-keytools.c-Don-t-check-for-return-from-EVP_M.patch \
 "
 SRC_URI[md5sum] = "9f682bd70c717efdd9f15b686d07baee"
-- 
2.5.0



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [meta-networking][PATCH] net-snmp: apply patch for cross-compilation
  2015-12-01 13:02 [meta-networking][PATCH] net-snmp: apply patch for cross-compilation Rafaël Carré
@ 2015-12-01 16:48 ` Khem Raj
  2015-12-01 17:55   ` Rafaël Carré
  0 siblings, 1 reply; 5+ messages in thread
From: Khem Raj @ 2015-12-01 16:48 UTC (permalink / raw)
  To: openembeded-devel

On Tue, Dec 1, 2015 at 5:02 AM, Rafaël Carré <funman@videolan.org> wrote:
>          file://0001-config_os_headers-Error-Fix.patch \
> +        file://0002-config_os_headers-Error-Fix.patch \

these two names look pretty similar. Can you check if these both
patches are needed


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [meta-networking][PATCH] net-snmp: apply patch for cross-compilation
  2015-12-01 16:48 ` Khem Raj
@ 2015-12-01 17:55   ` Rafaël Carré
  2015-12-07 18:30     ` Khem Raj
  0 siblings, 1 reply; 5+ messages in thread
From: Rafaël Carré @ 2015-12-01 17:55 UTC (permalink / raw)
  To: openembedded-devel

On 01/12/2015 17:48, Khem Raj wrote:
> On Tue, Dec 1, 2015 at 5:02 AM, Rafaël Carré <funman@videolan.org> wrote:
>>          file://0001-config_os_headers-Error-Fix.patch \
>> +        file://0002-config_os_headers-Error-Fix.patch \
> 
> these two names look pretty similar. Can you check if these both
> patches are needed

Why yes they're both needed, both make configure look at host header path.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [meta-networking][PATCH] net-snmp: apply patch for cross-compilation
  2015-12-01 17:55   ` Rafaël Carré
@ 2015-12-07 18:30     ` Khem Raj
  2015-12-18 11:45       ` Rafaël Carré
  0 siblings, 1 reply; 5+ messages in thread
From: Khem Raj @ 2015-12-07 18:30 UTC (permalink / raw)
  To: openembeded-devel

On Tue, Dec 1, 2015 at 9:55 AM, Rafaël Carré <funman@videolan.org> wrote:
> On 01/12/2015 17:48, Khem Raj wrote:
>> On Tue, Dec 1, 2015 at 5:02 AM, Rafaël Carré <funman@videolan.org> wrote:
>>>          file://0001-config_os_headers-Error-Fix.patch \
>>> +        file://0002-config_os_headers-Error-Fix.patch \
>>
>> these two names look pretty similar. Can you check if these both
>> patches are needed
>
> Why yes they're both needed, both make configure look at host header path.

OK then either squash them into one or use some differentiating patch names.
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [meta-networking][PATCH] net-snmp: apply patch for cross-compilation
  2015-12-07 18:30     ` Khem Raj
@ 2015-12-18 11:45       ` Rafaël Carré
  0 siblings, 0 replies; 5+ messages in thread
From: Rafaël Carré @ 2015-12-18 11:45 UTC (permalink / raw)
  To: openembedded-devel

7fb5479 added the patch but did not apply it
Rename patch to explicit it differentiate it from other patches
---
 .../net-snmp/0001-config_os_libs2-Error-Fix.patch  | 31 ++++++++++++++++++++++
 .../0002-config_os_headers-Error-Fix.patch         | 31 ----------------------
 .../recipes-protocols/net-snmp/net-snmp_5.7.3.bb   |  1 +
 3 files changed, 32 insertions(+), 31 deletions(-)
 create mode 100644 meta-networking/recipes-protocols/net-snmp/net-snmp/0001-config_os_libs2-Error-Fix.patch
 delete mode 100644 meta-networking/recipes-protocols/net-snmp/net-snmp/0002-config_os_headers-Error-Fix.patch

diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp/0001-config_os_libs2-Error-Fix.patch b/meta-networking/recipes-protocols/net-snmp/net-snmp/0001-config_os_libs2-Error-Fix.patch
new file mode 100644
index 0000000..5866a95
--- /dev/null
+++ b/meta-networking/recipes-protocols/net-snmp/net-snmp/0001-config_os_libs2-Error-Fix.patch
@@ -0,0 +1,31 @@
+From e24fcd140f3f6dd18fd836b197c6d4bb773e50e7 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Rafa=C3=ABl=20Carr=C3=A9?= <funman@videolan.org>
+Date: Wed, 4 Nov 2015 16:49:30 +0100
+Subject: [PATCH] config_os_libs2: Error Fix
+
+ERROR: This autoconf log indicates errors, it looked at host include
+and/or library paths while determining system capabilities.
+---
+ configure.d/config_os_libs2 | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/configure.d/config_os_libs2 b/configure.d/config_os_libs2
+index 47491e2..e3647f9 100644
+--- a/configure.d/config_os_libs2
++++ b/configure.d/config_os_libs2
+@@ -226,10 +226,10 @@ if test "x$with_nl" != "xno"; then
+     case $target_os in
+     linux*) # Check for libnl (linux)
+         netsnmp_save_CPPFLAGS="$CPPFLAGS"
+-        CPPFLAGS="-I/usr/include/libnl3 $CPPFLAGS"
++        CPPFLAGS="$CPPFLAGS"
+         NETSNMP_SEARCH_LIBS(nl_connect, nl-3,
+             [AC_CHECK_HEADERS(netlink/netlink.h)
+-            EXTERNAL_MIBGROUP_INCLUDES="$EXTERNAL_MIBGROUP_INCLUDES -I/usr/include/libnl3"],
++            EXTERNAL_MIBGROUP_INCLUDES="$EXTERNAL_MIBGROUP_INCLUDES"],
+             [CPPFLAGS="$netsnmp_save_CPPFLAGS"], [], [], [LMIBLIBS])
+         if test "x$ac_cv_header_netlink_netlink_h" != xyes; then
+             NETSNMP_SEARCH_LIBS(nl_connect, nl, [
+-- 
+2.5.0
+
diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp/0002-config_os_headers-Error-Fix.patch b/meta-networking/recipes-protocols/net-snmp/net-snmp/0002-config_os_headers-Error-Fix.patch
deleted file mode 100644
index a90ce1f..0000000
--- a/meta-networking/recipes-protocols/net-snmp/net-snmp/0002-config_os_headers-Error-Fix.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From e24fcd140f3f6dd18fd836b197c6d4bb773e50e7 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Rafa=C3=ABl=20Carr=C3=A9?= <funman@videolan.org>
-Date: Wed, 4 Nov 2015 16:49:30 +0100
-Subject: [PATCH] config_os_headers: Error Fix
-
-ERROR: This autoconf log indicates errors, it looked at host include
-and/or library paths while determining system capabilities.
----
- configure.d/config_os_libs2 | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/configure.d/config_os_libs2 b/configure.d/config_os_libs2
-index 47491e2..e3647f9 100644
---- a/configure.d/config_os_libs2
-+++ b/configure.d/config_os_libs2
-@@ -226,10 +226,10 @@ if test "x$with_nl" != "xno"; then
-     case $target_os in
-     linux*) # Check for libnl (linux)
-         netsnmp_save_CPPFLAGS="$CPPFLAGS"
--        CPPFLAGS="-I/usr/include/libnl3 $CPPFLAGS"
-+        CPPFLAGS="$CPPFLAGS"
-         NETSNMP_SEARCH_LIBS(nl_connect, nl-3,
-             [AC_CHECK_HEADERS(netlink/netlink.h)
--            EXTERNAL_MIBGROUP_INCLUDES="$EXTERNAL_MIBGROUP_INCLUDES -I/usr/include/libnl3"],
-+            EXTERNAL_MIBGROUP_INCLUDES="$EXTERNAL_MIBGROUP_INCLUDES"],
-             [CPPFLAGS="$netsnmp_save_CPPFLAGS"], [], [], [LMIBLIBS])
-         if test "x$ac_cv_header_netlink_netlink_h" != xyes; then
-             NETSNMP_SEARCH_LIBS(nl_connect, nl, [
--- 
-2.5.0
-
diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb
index b32d842..62186d4 100644
--- a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb
+++ b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb
@@ -20,6 +20,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/net-snmp/net-snmp-${PV}.zip \
         file://run-ptest \
         file://dont-return-incompletely-parsed-varbinds.patch \
         file://0001-config_os_headers-Error-Fix.patch \
+        file://0001-config_os_libs2-Error-Fix.patch \
         file://0001-snmplib-keytools.c-Don-t-check-for-return-from-EVP_M.patch \
 "
 SRC_URI[md5sum] = "9f682bd70c717efdd9f15b686d07baee"
-- 
2.5.0



^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-12-18 11:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-01 13:02 [meta-networking][PATCH] net-snmp: apply patch for cross-compilation Rafaël Carré
2015-12-01 16:48 ` Khem Raj
2015-12-01 17:55   ` Rafaël Carré
2015-12-07 18:30     ` Khem Raj
2015-12-18 11:45       ` Rafaël Carré

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.