]> git.pld-linux.org Git - packages/gxine.git/blobdiff - gxine-link.patch
- updated from 4-year old 0.5.11 to 0.5.905
[packages/gxine.git] / gxine-link.patch
diff --git a/gxine-link.patch b/gxine-link.patch
new file mode 100644 (file)
index 0000000..4b4e459
--- /dev/null
@@ -0,0 +1,13 @@
+--- gxine-0.5.905/configure.ac.orig    2011-02-19 21:36:51.226973392 +0100
++++ gxine-0.5.905/configure.ac 2011-02-20 07:38:03.234976745 +0100
+@@ -84,8 +84,8 @@
+ dnl Test for socket and network support library
+ NET_LIBS=""
+-AC_CHECK_LIB(socket, socket, NET_LIBS="-lsocket $NET_LIBS",)
+-AC_CHECK_LIB(nsl, gethostbyname, NET_LIBS="-lnsl $NET_LIBS",)
++AC_CHECK_FUNC(socket, [], [AC_CHECK_LIB(socket, socket, NET_LIBS="-lsocket $NET_LIBS",)])
++AC_CHECK_FUNC(gethostbyname, [], [AC_CHECK_LIB(nsl, gethostbyname, NET_LIBS="-lnsl $NET_LIBS",)])
+ AC_SUBST(NET_LIBS)
+ dnl ---------------------------------------------
This page took 0.065676 seconds and 4 git commands to generate.