[PATCH] Preliminary MacOS X / Darwin patch

phandel at cise.ufl.edu phandel at cise.ufl.edu
Fri Feb 16 02:09:41 CET 2001


Also, you must compile with -traditional-cpp.  This is not yet finished,
just a few minutes work.

--- config.sub_orig     Wed Feb 14 15:53:00 2001
+++ config.sub  Wed Feb 14 15:58:37 2001
@@ -912,7 +912,7 @@
              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
              | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
              | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
-             | -interix* | -uwin* | -rhapsody* | -openstep* | -oskit*)
+             | -interix* | -uwin* | -rhapsody* | -darwin* | -openstep* | -oskit*)
        # Remember, each alternative MUST END IN *, to match a version number.
                ;;
        -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
--- config.guess_orig   Wed Feb 14 15:51:40 2001
+++ config.guess        Wed Feb 14 15:52:19 2001
@@ -944,6 +944,9 @@
     *:Rhapsody:*:*)
        echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
        exit 0 ;;
+    *:Darwin:*:* | *:"Mac OS":*:*)
+       echo `uname -p`-apple-darwin${UNAME_RELEASE}
+       exit 0 ;;
 esac
 
 #echo '(No uname command or uname output not recognized.)' 1>&2
--- include/common.h_orig       Wed Feb 14 15:59:48 2001
+++ include/common.h    Wed Feb 14 16:00:36 2001
@@ -40,7 +40,9 @@
 #ifdef BOOLEAN_T_IN_SYS_TYPES_H
 #   include <sys/types.h>
 #else
+#ifndef SYS_DARWIN1_3
 typedef int                 boolean_t;
+#endif /* SYS_DARWIN1_3 */
 #endif
 #ifdef SYS_GNU
 #   define _MACH_I386_BOOLEAN_H_

-- 
Peter F. Handel          "[The anti-Christ] also forced everyone, small and
phandel at cise.ufl.edu      great ... to receive a mark [smart card?] on his
www.cise.ufl.edu/~phandel right hand or on his forehead, so that no one could
FAX: (561) 619-8051       buy or sell unless he had the mark"-Revelation13:16





More information about the vlc-devel mailing list