Hello community,

here is the log from the commit of package socat for openSUSE:Factory checked 
in at 2014-11-04 17:27:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/socat (Old)
 and      /work/SRC/openSUSE:Factory/.socat.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "socat"

Changes:
--------
--- /work/SRC/openSUSE:Factory/socat/socat.changes      2014-03-22 
18:02:26.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.socat.new/socat.changes 2014-11-04 
17:27:38.000000000 +0100
@@ -1,0 +2,10 @@
+Sat Oct 25 06:53:21 UTC 2014 - co...@suse.com
+
+- correctly apply the patch
+
+-------------------------------------------------------------------
+Fri Oct 24 10:02:01 UTC 2014 - jav...@opensuse.org
+
+- Add fix-linux-errqueue.h-not-found.patch 
+
+-------------------------------------------------------------------

New:
----
  fix-linux-errqueue.h-not-found.patch

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

Other differences:
------------------
++++++ socat.spec ++++++
--- /var/tmp/diff_new_pack.SlxWdu/_old  2014-11-04 17:27:39.000000000 +0100
+++ /var/tmp/diff_new_pack.SlxWdu/_new  2014-11-04 17:27:39.000000000 +0100
@@ -30,6 +30,7 @@
 Group:          Productivity/Networking/Other
 Source:         
http://www.dest-unreach.org/socat/download/%{name}-%{version}.tar.bz2
 Patch1:         socat-remove_date.patch
+Patch2:         fix-linux-errqueue.h-not-found.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -43,6 +44,7 @@
 %prep
 %setup
 %patch1 -p1
+%patch2 -p1
 
 %build
 export RPM_OPT_FLAGS="%{optflags} -fno-strict-aliasing"

++++++ fix-linux-errqueue.h-not-found.patch ++++++
configure.in: fix linux/errqueue.h not found

The do_compile failed:
...
|tmp/work/core2-64-poky-linux/socat/1.7.2.4-r0/socat-1.7.2.4/xio-ip.c:
In function 'xiolog_ancillary_ip':
|tmp/work/core2-64-poky-linux/socat/1.7.2.4-r0/socat-1.7.2.4/xio-ip.c:520:12:
error: dereferencing pointer to incomplete type
|         err->ee_errno, '\0', err->ee_origin, '\0', err->ee_type, '\0',
|            ^
| ake: *** [xio-ip.o] Error 1
...

For 1.7.2.4, the header check of 'linux/errqueue.h ' was not correctly,
but the old version 1.7.2.3 worked, so we reference 1.7.2.3 to fix this
issue.

Upstream-Status: Pending
Signed-off-by: Hongxu Jia <hongxu....@windriver.com>
---
 configure.in | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Index: socat-1.7.2.4/configure.in
===================================================================
--- socat-1.7.2.4.orig/configure.in
+++ socat-1.7.2.4/configure.in
@@ -79,8 +79,7 @@ AC_HEADER_RESOLV()
 
 AC_CHECK_HEADERS(termios.h linux/if_tun.h)
 AC_CHECK_HEADERS(net/if_dl.h)
-AC_CHECK_HEADERS(linux/types.h)
-AC_CHECK_HEADER(linux/errqueue.h, AC_DEFINE(HAVE_LINUX_ERRQUEUE_H), [], 
[#include <linux/types.h>])
+AC_CHECK_HEADERS(linux/types.h linux/errqueue.h)
 AC_CHECK_HEADERS(sys/utsname.h sys/select.h sys/file.h)
 AC_CHECK_HEADERS(util.h bsd/libutil.h libutil.h sys/stropts.h regex.h)
 AC_CHECK_HEADERS(linux/fs.h linux/ext2_fs.h)
Index: socat-1.7.2.4/configure
===================================================================
--- socat-1.7.2.4.orig/configure
+++ socat-1.7.2.4/configure
@@ -3968,26 +3968,19 @@ fi
 
 done
 
-for ac_header in linux/types.h
+for ac_header in linux/types.h linux/errqueue.h
 do :
-  ac_fn_c_check_header_mongrel "$LINENO" "linux/types.h" 
"ac_cv_header_linux_types_h" "$ac_includes_default"
-if test "x$ac_cv_header_linux_types_h" = xyes; then :
+  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" 
"$ac_includes_default"
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_LINUX_TYPES_H 1
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 _ACEOF
 
 fi
 
 done
 
-ac_fn_c_check_header_compile "$LINENO" "linux/errqueue.h" 
"ac_cv_header_linux_errqueue_h" "#include <linux/types.h>
-"
-if test "x$ac_cv_header_linux_errqueue_h" = xyes; then :
-  $as_echo "#define HAVE_LINUX_ERRQUEUE_H 1" >>confdefs.h
-
-fi
-
-
 for ac_header in sys/utsname.h sys/select.h sys/file.h
 do :
   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to