diff options
Diffstat (limited to 'multimedia/mplayerxp/files/patch-ad')
-rw-r--r-- | multimedia/mplayerxp/files/patch-ad | 34 |
1 files changed, 32 insertions, 2 deletions
diff --git a/multimedia/mplayerxp/files/patch-ad b/multimedia/mplayerxp/files/patch-ad index 1c25f3936d5b..074fbc9c7299 100644 --- a/multimedia/mplayerxp/files/patch-ad +++ b/multimedia/mplayerxp/files/patch-ad @@ -1,5 +1,5 @@ --- configure.orig Mon May 13 22:52:10 2002 -+++ configure Tue May 21 08:56:42 2002 ++++ configure Tue Jun 4 23:08:36 2002 @@ -450,19 +450,10 @@ # Try to find the available options for the current CPU @@ -67,7 +67,37 @@ echores "yes (using $_ld_pthread)" -@@ -3570,7 +3531,7 @@ +@@ -3064,11 +3025,7 @@ + + echocheck "iconv" + if test "$_iconv" = auto ; then +- if freebsd ; then +- _iconv_tmp='#include <giconv.h>' +- else + _iconv_tmp='#include <iconv.h>' +- fi + cat > $TMPC << EOF + #include <stdio.h> + #include <unistd.h> +@@ -3102,7 +3059,7 @@ + EOF + _iconv=no + if freebsd ; then +- cc_check -lm -lgiconv && _iconv=yes ++ cc_check -lm -liconv && _iconv=yes + elif bsdos ; then + cc_check -lm -liconv && _iconv=yes + else +@@ -3111,7 +3068,7 @@ + fi + if test "$_iconv" = yes ; then + _def_iconv='#define USE_ICONV 1' +- freebsd && _ld_iconv='-lgiconv' ++ freebsd && _ld_iconv='-liconv' + bsdos && _ld_iconv='-liconv' + else + _def_iconv='#undef USE_ICONV' +@@ -3570,7 +3527,7 @@ CFLAGS="$CFLAGS -D_REENTRANT" elif bsd ; then # FIXME bsd needs this so maybe other OS'es |