[oe] [PATCH] libpfring: update SVN revision to 4384

Roman I Khimov khimov at altell.ru
Wed Nov 3 10:47:01 UTC 2010


I guess it should be in sync with pf-ring kernel module as using module revision
4384 with lib revision 4326 results in "mmap() failed" message on tcpdump (using
patched libpcap to support pf_ring) exit.

Signed-off-by: Roman I Khimov <khimov at altell.ru>
---
 .../libpfring/libpfring-makefile-fixes.patch       |   16 ++++++++--------
 recipes/pf_ring/libpfring_svn.bb                   |    2 +-
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/recipes/pf_ring/libpfring/libpfring-makefile-fixes.patch b/recipes/pf_ring/libpfring/libpfring-makefile-fixes.patch
index 721f904..0344a7d 100644
--- a/recipes/pf_ring/libpfring/libpfring-makefile-fixes.patch
+++ b/recipes/pf_ring/libpfring/libpfring-makefile-fixes.patch
@@ -1,7 +1,7 @@
 Index: Makefile
 ===================================================================
---- Makefile.orig	2010-08-02 17:31:55.000000000 +0400
-+++ Makefile	2010-08-03 12:56:31.000000000 +0400
+--- Makefile.orig	2010-11-03 13:37:30.000000000 +0300
++++ Makefile	2010-11-03 13:39:18.000000000 +0300
 @@ -8,7 +8,7 @@
  #
  # Installation directory
@@ -11,16 +11,16 @@ Index: Makefile
  
  #
  # Search directories
-@@ -29,6 +29,8 @@
+@@ -32,6 +32,8 @@
  #
- # C compiler and flags
+ # CROSS_COMPILE=arm-mv5sft-linux-gnueabi-
  #
 +AR        = ar
 +RANLIB    = ranlib
- CC        = gcc
- CFLAGS    = -g -O2 -Wall -fPIC ${INCLUDE} ${DNA_DEFINE}
- LDFLAGS   = -shared
-@@ -44,26 +46,29 @@
+ CC        = ${CROSS_COMPILE}gcc
+ CFLAGS    = -g  -Wall -fPIC ${INCLUDE} ${DNA_DEFINE}
+ LDFLAGS   = -g -shared
+@@ -47,26 +49,29 @@
  # Main targets
  #
  STATICLIB  = libpfring.a
diff --git a/recipes/pf_ring/libpfring_svn.bb b/recipes/pf_ring/libpfring_svn.bb
index 06aa311..a903e3a 100644
--- a/recipes/pf_ring/libpfring_svn.bb
+++ b/recipes/pf_ring/libpfring_svn.bb
@@ -7,7 +7,7 @@ PV = "4.4.0+svnr${SRCREV}"
 
 S = "${WORKDIR}/lib"
 
-SRCREV = "4326"
+SRCREV = "4384"
 SRC_URI = " \
 	svn://svn.ntop.org/svn/ntop/trunk/PF_RING/userland;module=lib;proto=https \
 	file://libpfring-makefile-fixes.patch;striplevel=0 \
-- 
1.5.6.5





More information about the Openembedded-devel mailing list