SOURCES (AC-branch): mplayer-no_libnsl.patch - updated for pre8

havner havner at pld-linux.org
Wed Jul 5 16:34:16 CEST 2006


Author: havner                       Date: Wed Jul  5 14:34:16 2006 GMT
Module: SOURCES                       Tag: AC-branch
---- Log message:
- updated for pre8

---- Files affected:
SOURCES:
   mplayer-no_libnsl.patch (1.1 -> 1.1.4.1) 

---- Diffs:

================================================================
Index: SOURCES/mplayer-no_libnsl.patch
diff -u SOURCES/mplayer-no_libnsl.patch:1.1 SOURCES/mplayer-no_libnsl.patch:1.1.4.1
--- SOURCES/mplayer-no_libnsl.patch:1.1	Thu Jul  4 14:22:19 2002
+++ SOURCES/mplayer-no_libnsl.patch	Wed Jul  5 16:34:11 2006
@@ -1,10 +1,11 @@
---- MPlayer-0.60/configure.orig	Thu Jan 17 23:04:00 2002
-+++ MPlayer-0.60/configure	Thu Jan 17 23:07:04 2002
-@@ -1084,7 +1084,6 @@
- int main(void) { (void) gethostbyname(0); return 0; }
+--- MPlayer-1.0pre8/configure.orig	2006-06-11 20:35:47.000000000 +0200
++++ MPlayer-1.0pre8/configure	2006-07-02 16:05:03.159753250 +0200
+@@ -2652,7 +2652,7 @@
+ #include <sys/socket.h>
+ int main(void) { (void) gethostbyname(0); (void) socket(AF_INET, SOCK_STREAM, 0); return 0; }
  EOF
- cc_check -lsocket && _ld_sock="-lsocket"
--cc_check -lnsl && _ld_sock="-lnsl"
- cc_check -lsocket -lnsl && _ld_sock="-lsocket -lnsl"
- if test "$_ld_sock" ; then
-   echores "yes (using $_ld_sock)"
+-for _ld_tmp in "-lsocket -lbind" "-lsocket -ldnet" "-lsocket -lnsl" "-lnsl" "-lsocket" ; do
++for _ld_tmp in "" "-lsocket -lbind" "-lsocket -ldnet" "-lsocket -lnsl" "-lnsl" "-lsocket" ; do
+   cc_check $_ld_tmp && _ld_sock="$_ld_tmp" && break
+ done
+ if test $_winsock2 = auto && not cygwin ; then
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/mplayer-no_libnsl.patch?r1=1.1&r2=1.1.4.1&f=u



More information about the pld-cvs-commit mailing list