⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 openslp.patch

📁 uclinux 下的vlc播放器源代码
💻 PATCH
📖 第 1 页 / 共 5 页
字号:
     mips:*:*:UMIPS | mips:*:*:RISCos)+	eval $set_cc_for_build 	sed 's/^	//' << EOF >$dummy.c #ifdef __cplusplus+#include <stdio.h>  /* for printf() prototype */ 	int main (int argc, char *argv[]) { #else 	int main (argc, argv) int argc; char *argv[]; {@@ -310,12 +430,20 @@ 	  exit (-1); 	} EOF-	$CC_FOR_BUILD $dummy.c -o $dummy \-	  && ./$dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \-	  && rm $dummy.c $dummy && exit 0-	rm -f $dummy.c $dummy+	$CC_FOR_BUILD -o $dummy $dummy.c \+	  && $dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \+	  && exit 0 	echo mips-mips-riscos${UNAME_RELEASE} 	exit 0 ;;+    Motorola:PowerMAX_OS:*:*)+	echo powerpc-motorola-powermax+	exit 0 ;;+    Motorola:*:4.3:PL8-*)+	echo powerpc-harris-powermax+	exit 0 ;;+    Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)+	echo powerpc-harris-powermax+	exit 0 ;;     Night_Hawk:Power_UNIX:*:*) 	echo powerpc-harris-powerunix 	exit 0 ;;@@ -331,7 +459,7 @@     AViiON:dgux:*:*)         # DG/UX returns AViiON for all architectures         UNAME_PROCESSOR=`/usr/bin/uname -p`-	if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110]+	if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] 	then 	    if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ 	       [ ${TARGET_BINARY_INTERFACE}x = x ]@@ -363,11 +491,20 @@     ????????:AIX?:[12].1:2)   # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. 	echo romp-ibm-aix      # uname -m gives an 8 hex-code CPU id 	exit 0 ;;              # Note that: echo "'`uname -s`'" gives 'AIX '-    i?86:AIX:*:*)+    i*86:AIX:*:*) 	echo i386-ibm-aix 	exit 0 ;;+    ia64:AIX:*:*)+	if [ -x /usr/bin/oslevel ] ; then+		IBM_REV=`/usr/bin/oslevel`+	else+		IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}+	fi+	echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}+	exit 0 ;;     *:AIX:2:3) 	if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then+		eval $set_cc_for_build 		sed 's/^		//' << EOF >$dummy.c 		#include <sys/systemcfg.h> @@ -379,8 +516,7 @@ 			exit(0); 			} EOF-		$CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm $dummy.c $dummy && exit 0-		rm -f $dummy.c $dummy+		$CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0 		echo rs6000-ibm-aix3.2.5 	elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then 		echo rs6000-ibm-aix3.2.4@@ -388,9 +524,9 @@ 		echo rs6000-ibm-aix3.2 	fi 	exit 0 ;;-    *:AIX:*:4)-	IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | head -1 | awk '{ print $1 }'`-	if /usr/sbin/lsattr -EHl ${IBM_CPU_ID} | grep POWER >/dev/null 2>&1; then+    *:AIX:*:[45])+	IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`+	if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then 		IBM_ARCH=rs6000 	else 		IBM_ARCH=powerpc@@ -398,7 +534,7 @@ 	if [ -x /usr/bin/oslevel ] ; then 		IBM_REV=`/usr/bin/oslevel` 	else-		IBM_REV=4.${UNAME_RELEASE}+		IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} 	fi 	echo ${IBM_ARCH}-ibm-aix${IBM_REV} 	exit 0 ;;@@ -408,7 +544,7 @@     ibmrt:4.4BSD:*|romp-ibm:BSD:*) 	echo romp-ibm-bsd4.4 	exit 0 ;;-    ibmrt:*BSD:*|romp-ibm:BSD:*)            # covers RT/PC NetBSD and+    ibmrt:*BSD:*|romp-ibm:BSD:*)            # covers RT/PC BSD and 	echo romp-ibm-bsd${UNAME_RELEASE}   # 4.3 with uname added to 	exit 0 ;;                           # report: romp-ibm BSD 4.3     *:BOSX:*:*)@@ -424,11 +560,30 @@ 	echo m68k-hp-bsd4.4 	exit 0 ;;     9000/[34678]??:HP-UX:*:*)+	HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` 	case "${UNAME_MACHINE}" in 	    9000/31? )            HP_ARCH=m68000 ;; 	    9000/[34]?? )         HP_ARCH=m68k ;; 	    9000/[678][0-9][0-9])-              sed 's/^              //' << EOF >$dummy.c+		if [ -x /usr/bin/getconf ]; then+		    sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`+                    sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`+                    case "${sc_cpu_version}" in+                      523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0+                      528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1+                      532)                      # CPU_PA_RISC2_0+                        case "${sc_kernel_bits}" in+                          32) HP_ARCH="hppa2.0n" ;;+                          64) HP_ARCH="hppa2.0w" ;;+			  '') HP_ARCH="hppa2.0" ;;   # HP-UX 10.20+                        esac ;;+                    esac+		fi+		if [ "${HP_ARCH}" = "" ]; then+		    eval $set_cc_for_build+		    sed 's/^              //' << EOF >$dummy.c++              #define _HPUX_SOURCE               #include <stdlib.h>               #include <unistd.h> @@ -459,13 +614,29 @@                   exit (0);               } EOF-	(CCOPTS= $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null ) && HP_ARCH=`./$dummy`-	rm -f $dummy.c $dummy+		    (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`+		    test -z "$HP_ARCH" && HP_ARCH=hppa+		fi ;; 	esac-	HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`+	if [ ${HP_ARCH} = "hppa2.0w" ]+	then+	    # avoid double evaluation of $set_cc_for_build+	    test -n "$CC_FOR_BUILD" || eval $set_cc_for_build+	    if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E -) | grep __LP64__ >/dev/null+	    then+		HP_ARCH="hppa2.0w"+	    else+		HP_ARCH="hppa64"+	    fi+	fi 	echo ${HP_ARCH}-hp-hpux${HPUX_REV} 	exit 0 ;;+    ia64:HP-UX:*:*)+	HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`+	echo ia64-hp-hpux${HPUX_REV}+	exit 0 ;;     3050*:HI-UX:*:*)+	eval $set_cc_for_build 	sed 's/^	//' << EOF >$dummy.c 	#include <unistd.h> 	int@@ -491,8 +662,7 @@ 	  exit (0); 	} EOF-	$CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm $dummy.c $dummy && exit 0-	rm -f $dummy.c $dummy+	$CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0 	echo unknown-hitachi-hiuxwe2 	exit 0 ;;     9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )@@ -501,7 +671,7 @@     9000/8??:4.3bsd:*:*) 	echo hppa1.0-hp-bsd 	exit 0 ;;-    *9??*:MPE/iX:*:*)+    *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) 	echo hppa1.0-hp-mpeix 	exit 0 ;;     hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )@@ -510,7 +680,7 @@     hp8??:OSF1:*:*) 	echo hppa1.0-hp-osf 	exit 0 ;;-    i?86:OSF1:*:*)+    i*86:OSF1:*:*) 	if [ -x /usr/sbin/sysversion ] ; then 	    echo ${UNAME_MACHINE}-unknown-osf1mk 	else@@ -520,9 +690,6 @@     parisc*:Lites*:*:*) 	echo hppa1.1-hp-lites 	exit 0 ;;-    hppa*:OpenBSD:*:*)-	echo hppa-unknown-openbsd-	exit 0 ;;     C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) 	echo c1-convex-bsd         exit 0 ;;@@ -541,41 +708,34 @@     C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) 	echo c4-convex-bsd         exit 0 ;;-    CRAY*X-MP:*:*:*)-	echo xmp-cray-unicos-        exit 0 ;;     CRAY*Y-MP:*:*:*)-	echo ymp-cray-unicos${UNAME_RELEASE}+	echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' 	exit 0 ;;     CRAY*[A-Z]90:*:*:*) 	echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ 	| sed -e 's/CRAY.*\([A-Z]90\)/\1/' \-	      -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/+	      -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \+	      -e 's/\.[^.]*$/.X/' 	exit 0 ;;     CRAY*TS:*:*:*)-	echo t90-cray-unicos${UNAME_RELEASE}+	echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' 	exit 0 ;;     CRAY*T3E:*:*:*)-	echo alpha-cray-unicosmk${UNAME_RELEASE}+	echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' 	exit 0 ;;-    CRAY-2:*:*:*)-	echo cray2-cray-unicos-        exit 0 ;;-    F300:UNIX_System_V:*:*)+    CRAY*SV1:*:*:*)+	echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'+	exit 0 ;;+    *:UNICOS/mp:*:*)+	echo nv1-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' +	exit 0 ;;+    F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)+	FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`         FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`         FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`-        echo "f300-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"+        echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"         exit 0 ;;-    F301:UNIX_System_V:*:*)-       echo f301-fujitsu-uxpv`echo $UNAME_RELEASE | sed 's/ .*//'`-       exit 0 ;;-    hp3[0-9][05]:NetBSD:*:*)-	echo m68k-hp-netbsd${UNAME_RELEASE}-	exit 0 ;;-    hp300:OpenBSD:*:*)-	echo m68k-unknown-openbsd${UNAME_RELEASE}-	exit 0 ;;-    i?86:BSD/386:*:* | i?86:BSD/OS:*:*)+    i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) 	echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} 	exit 0 ;;     sparc*:BSD/OS:*:*)@@ -585,19 +745,18 @@ 	echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} 	exit 0 ;;     *:FreeBSD:*:*)-	if test -x /usr/bin/objformat; then-	    if test "elf" = "`/usr/bin/objformat`"; then-		echo ${UNAME_MACHINE}-unknown-freebsdelf`echo ${UNAME_RELEASE}|sed -e 's/[-_].*//'`-		exit 0-	    fi-	fi-	echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-	exit 0 ;;-    *:NetBSD:*:*)-	echo ${UNAME_MACHINE}-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*//'`-	exit 0 ;;-    *:OpenBSD:*:*)-	echo ${UNAME_MACHINE}-unknown-openbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`+	# Determine whether the default compiler uses glibc.+	eval $set_cc_for_build+	sed 's/^	//' << EOF >$dummy.c+	#include <features.h>+	#if __GLIBC__ >= 2+	LIBC=gnu+	#else+	LIBC=+	#endif+EOF+	eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`+	echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC} 	exit 0 ;;     i*:CYGWIN*:*) 	echo ${UNAME_MACHINE}-pc-cygwin@@ -605,11 +764,20 @@     i*:MINGW*:*) 	echo ${UNAME_MACHINE}-pc-mingw32 	exit 0 ;;+    i*:PW*:*)+	echo ${UNAME_MACHINE}-pc-pw32+	exit 0 ;;+    x86:Interix*:3*)+	echo i586-pc-interix3+	exit 0 ;;+    [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)+	echo i${UNAME_MACHINE}-pc-mks+	exit 0 ;;     i*:Windows_NT*:* | Pentium*:Windows_NT*:*) 	# How do we know it's Interix rather than the generic POSIX subsystem? 	# It also conflicts with pre-2.0 versions of AT&T UWIN. Should we 	# UNAME_MACHINE based on the output of uname instead of i386?-	echo i386-pc-interix+	echo i586-pc-interix 	exit 0 ;;     i*:UWIN*:*) 	echo ${UNAME_MACHINE}-pc-uwin@@ -623,201 +791,159 @@     *:GNU:*:*) 	echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` 	exit 0 ;;-    *:Linux:*:*)-+    i*86:Minix:*:*)+	echo ${UNAME_MACHINE}-pc-minix+	exit 0 ;;+    arm*:Linux:*:*)+	echo ${UNAME_MACHINE}-unknown-linux-gnu+	exit 0 ;;+    ia64:Linux:*:*)+	echo ${UNAME_MACHINE}-unknown-linux-gnu+	exit 0 ;;+    m68*:Linux:*:*)+	echo ${UNAME_MACHINE}-unknown-linux-gnu+	exit 0 ;;+    mips:Linux:*:*)+	eval $set_cc_for_build+	sed 's/^	//' << EOF >$dummy.c+	#undef CPU+	#undef mips+	#undef mipsel+	#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)+	CPU=mipsel+	#else+	#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)+	CPU=mips+	#else+	CPU=+	#endif+	#endif+EOF+	eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`+	test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0+	;;+    mips64:Linux:*:*)+	eval $set_cc_for_build+	sed 's/^	//' << EOF >$dummy.c+	#undef CPU+	#undef mips64+	#undef mips64el+	#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)+	CPU=mips64el+	#else+	#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)+	CPU=mips64+	#else+	CPU=+	#endif+	#endif+EOF+	eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`+	test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0+	;;+    ppc:Linux:*:*)+	echo powerpc-unknown-linux-gnu+	exit 0 ;;+    ppc64:Linux:*:*)+	echo powerpc64-unknown-linux-gnu+	exit 0 ;;+    alpha:Linux:*:*)+	case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in+	  EV5)   UNAME_MACHINE=alphaev5 ;;+	  EV56)  UNAME_MACHINE=alphaev56 ;;+	  PCA56) UNAME_MACHINE=alphapca56 ;;+	  PCA57) UNAME_MACHINE=alphapca56 ;;+	  EV6)   UNAME_MACHINE=alphaev6 ;;+	  EV67)  UNAME_MACHINE=alphaev67 ;;+	  EV68*) UNAME_MACHINE=alphaev68 ;;+        esac+	objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null+	if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi+	echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}+	exit 0 ;;+    parisc:Linux:*:* | hppa:Linux:*:*)+	# Look for CPU level+	case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in+	  PA7*) echo hppa1.1-unknown-linux-gnu ;;+	  PA8*) echo hppa2.0-unknown-linux-gnu ;;+	  *)    echo hppa-unknown-linux-gnu ;;+	esac+	exit 0 ;;+    parisc64:Linux:*:* | hppa64:Linux:*:*)+	echo hppa64-unknown-linux-gnu+	exit 0 ;;+    s390:Linux:*:* | s390x:Linux:*:*)+	echo ${UNAME_MACHINE}-ibm-linux+	exit 0 ;;+    sh*:Linux:*:*)+	echo ${UNAME_MACHINE}-unknown-linux-gnu+	exit 0 ;;+    sparc:Linux:*:* | sparc64:Linux:*:*)+	echo ${UNAME_MACHINE}-unknown-linux-gnu+	exit 0 ;;+    x86_64:Linux:*:*)+	echo x86_64-unknown-linux-gnu+	exit 0 ;;+    i*86:Linux:*:*) 	# The BFD linker knows what the default object file format is, so 	# first see if it will tell us. cd to the root directory to prevent 	# problems with other programs or directories called `ld' in the path.-	ld_help_string=`cd /; ld --help 2>&1`-	ld_supported_emulations=`echo $ld_help_string \-			 | sed -ne '/supported emulations:/!d+	# Set LC_ALL=C to ensure ld outputs messages in English.+	ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \+			 | sed -ne '/supported targets:/!d 				    s/[ 	][ 	]*/ /g-				    s/.*supported emulations: *//+				    s/.*supported targets: *// 				    s/ .*// 				    p'`-        case "$ld_supported_emulations" in-	  *ia64)-		echo "${UNAME_MACHINE}-unknown-linux"-		exit 0+        case "$ld_supported_targets" in+	  elf32-i386)+		TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu" 		;;-	  i?86linux)+	  a.out-i386-linux) 		echo "${UNAME_MACHINE}-pc-linux-gnuaout"-		exit 0-		;;-	  i?86coff)+		exit 0 ;;+	  coff-i386) 		echo "${UNAME_MACHINE}-pc-linux-gnucoff"-		exit 0-		;;-	  sparclinux)-		echo "${UNAME_MACHINE}-unknown-linux-gnuaout"-		exit 0-		;;-	  armlinux)-		echo "${UNAME_MACHINE}-unknown-linux-gnuaout"-		exit 0-		;;-	  elf32arm*)-		echo "${UNAME_MACHINE}-unknown-linux-gnu"-		exit 0-		;;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -