Hello community,

here is the log from the commit of package conntrack-tools for openSUSE:Factory 
checked in at 2012-06-01 07:19:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/conntrack-tools (Old)
 and      /work/SRC/openSUSE:Factory/.conntrack-tools.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "conntrack-tools", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/conntrack-tools/conntrack-tools.changes  
2012-05-29 10:33:04.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.conntrack-tools.new/conntrack-tools.changes     
2012-06-01 07:19:53.000000000 +0200
@@ -1,0 +2,5 @@
+Thu May 31 12:03:49 UTC 2012 - [email protected]
+
+- Resolve compilation failure due to missing #include
+
+-------------------------------------------------------------------

New:
----
  ct-null.diff

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ conntrack-tools.spec ++++++
--- /var/tmp/diff_new_pack.1PI8o5/_old  2012-06-01 07:19:54.000000000 +0200
+++ /var/tmp/diff_new_pack.1PI8o5/_new  2012-06-01 07:19:54.000000000 +0200
@@ -24,6 +24,7 @@
 #Git-Clone:    git://git.netfilter.org/conntrack-tools
 Source:         
http://netfilter.org/projects/conntrack-tools/files/%name-%version.tar.bz2
 Source2:        
http://netfilter.org/projects/conntrack-tools/files/%name-%version.tar.bz2.sig
+Patch1:         ct-null.diff
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  bison
 BuildRequires:  flex >= 2.5.33
@@ -49,6 +50,7 @@
 
 %prep
 %setup -q
+%patch -P 1 -p1
 
 %build
 %configure --disable-static


++++++ ct-null.diff ++++++

[...]
  CC     parse.o
parse.c: In function 'msg2ct':
parse.c:258:34: error: 'NULL' undeclared (first use in this function)
parse.c:258:34: note: each undeclared identifier is reported only once for each 
function it appears in
parse.c: In function 'msg2exp':
parse.c:438:16: error: 'NULL' undeclared (first use in this function)

---
 src/parse.c |    1 +
 1 file changed, 1 insertion(+)

Index: conntrack-tools/src/parse.c
===================================================================
--- conntrack-tools.orig/src/parse.c
+++ conntrack-tools/src/parse.c
@@ -17,6 +17,7 @@
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
+#include <stdio.h>
 #include "network.h"
 
 #include <libnetfilter_conntrack/libnetfilter_conntrack.h>
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to