jer         14/10/27 08:51:52

  Added:                socat-1.7.2.4-linux-3.17.patch
  Log:
  Fix building against sys-kernel/linux-headers-3.17 (bug #526946 by Gangræna 
Gorgeous).
  
  (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 
A792A613)

Revision  Changes    Path
1.1                  net-misc/socat/files/socat-1.7.2.4-linux-3.17.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/socat/files/socat-1.7.2.4-linux-3.17.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/socat/files/socat-1.7.2.4-linux-3.17.patch?rev=1.1&content-type=text/plain

Index: socat-1.7.2.4-linux-3.17.patch
===================================================================
--- a/configure.in
+++ b/configure.in
@@ -80,7 +80,10 @@
 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_HEADER(linux/errqueue.h, AC_DEFINE(HAVE_LINUX_ERRQUEUE_H), [], 
[AC_INCLUDES_DEFAULT
+       #if HAVE_LINUX_TYPES_H
+       #include <linux/types.h>
+       #endif])
 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)




Reply via email to