[vlc-devel] commit: contribs: fortunately, no hacks are required anymore to compile liboil for PPC Macs ( Felix Paul Kühne )
git version control
git at videolan.org
Thu Aug 27 00:40:56 CEST 2009
vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Thu Aug 27 00:40:53 2009 +0200| [fb020f313aaa7725789c147871cab7c61ffd076b] | committer: Felix Paul Kühne
contribs: fortunately, no hacks are required anymore to compile liboil for PPC Macs
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fb020f313aaa7725789c147871cab7c61ffd076b
---
extras/contrib/src/Makefile | 5 --
extras/contrib/src/Patches/liboil-ppc-hack.patch | 18 -----
extras/contrib/src/Patches/liboil-ppc.patch | 74 ----------------------
3 files changed, 0 insertions(+), 97 deletions(-)
diff --git a/extras/contrib/src/Makefile b/extras/contrib/src/Makefile
index b92c762..67bdb81 100644
--- a/extras/contrib/src/Makefile
+++ b/extras/contrib/src/Makefile
@@ -2418,12 +2418,7 @@ liboil: liboil-$(OIL_VERSION).tar.gz
.liboil: liboil
ifdef HAVE_DARWIN_OS
-ifdef HAVE_DARWIN_OS_ON_INTEL
(cd $<; $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) CFLAGS="$(CFLAGS)")
-else
- patch -p0 < Patches/liboil-ppc.patch
- (cd $<; $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) CFLAGS="$(CFLAGS) -force_cpusubtype_ALL")
- patch -p0 < Patches/liboil-ppc-hack.patch
endif
else
(cd $<; $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) CFLAGS="$(CFLAGS) -O2")
diff --git a/extras/contrib/src/Patches/liboil-ppc-hack.patch b/extras/contrib/src/Patches/liboil-ppc-hack.patch
deleted file mode 100644
index d0f6042..0000000
--- a/extras/contrib/src/Patches/liboil-ppc-hack.patch
+++ /dev/null
@@ -1,18 +0,0 @@
---- liboil/liboil/liboil-stdint.h 2009-04-13 17:19:59.000000000 +0200
-+++ liboil.new/liboil/liboil-stdint.h 2009-04-13 17:09:12.000000000 +0200
-@@ -60,6 +60,7 @@
- #endif
- #endif
-
-+/*
- #ifndef _STDINT_HAVE_INT_LEAST32_T
- #define _STDINT_NEED_INT_LEAST_T
- #endif
-@@ -67,6 +68,7 @@
- #ifndef _STDINT_HAVE_INT_FAST32_T
- #define _STDINT_NEED_INT_FAST_T
- #endif
-+*/
-
- #ifndef _STDINT_HEADER_INTPTR
- #define _STDINT_NEED_INTPTR_T
diff --git a/extras/contrib/src/Patches/liboil-ppc.patch b/extras/contrib/src/Patches/liboil-ppc.patch
deleted file mode 100644
index e99ba9f..0000000
--- a/extras/contrib/src/Patches/liboil-ppc.patch
+++ /dev/null
@@ -1,74 +0,0 @@
-diff -ru liboil.orig/configure liboil/configure
---- liboil.orig/configure 2009-04-13 16:30:02.000000000 +0200
-+++ liboil/configure 2009-04-13 16:30:58.000000000 +0200
-@@ -11928,6 +11928,11 @@
- HAVE_GCC_ASM_POWERPC_FPU_FALSE=
- fi
-
-+if test "$build_os-$host_cpu" = "darwin9-powerpc" ; then
-+ cat >>confdefs.h <<\_ACEOF
-+ #define HAVE_SYMBOL_UNDERSCORE 1
-+ _ACEOF
-+fi
-
- { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
- echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
-diff -ru liboil.orig/examples/videoscale/vs_image.h liboil/examples/videoscale/vs_image.h
---- liboil.orig/examples/videoscale/vs_image.h 2009-04-13 16:30:03.000000000 +0200
-+++ liboil/examples/videoscale/vs_image.h 2009-04-13 16:56:56.000000000 +0200
-@@ -28,6 +28,7 @@
- #ifndef __VS_IMAGE_H__
- #define __VS_IMAGE_H__
-
-+#import <stdint.h>
- #include <liboil/liboil-stdint.h>
-
- typedef struct _VSImage VSImage;
-diff -ru liboil.orig/examples/videoscale/vs_scanline.h liboil/examples/videoscale/vs_scanline.h
---- liboil.orig/examples/videoscale/vs_scanline.h 2009-04-13 16:30:03.000000000 +0200
-+++ liboil/examples/videoscale/vs_scanline.h 2009-04-13 16:57:24.000000000 +0200
-@@ -28,6 +28,7 @@
- #ifndef __VS_SCANLINE_H__
- #define __VS_SCANLINE_H__
-
-+#import <stdint.h>
- #include <liboil/liboil-stdint.h>
-
- void vs_scanline_downsample_Y (uint8_t *dest, uint8_t *src, int n);
-diff -ru liboil.orig/liboil/c/wavelet.c liboil/liboil/c/wavelet.c
---- liboil.orig/liboil/c/wavelet.c 2009-04-13 16:30:03.000000000 +0200
-+++ liboil/liboil/c/wavelet.c 2009-04-13 16:48:24.000000000 +0200
-@@ -1,11 +1,9 @@
-
- #include <liboil/liboilfunction.h>
- #include <liboil/liboilclasses.h>
-+#import <stdint.h>
-
--
--void
--multiply_and_acc_6xn_s16_u8_c (int16_t *i1, int is1, int16_t *s1,
-- int ss1, uint8_t *s2, int ss2, int n)
-+void multiply_and_acc_6xn_s16_u8_c (int16_t *i1, int is1, int16_t *s1, int ss1, uint8_t *s2, int ss2, int n)
- {
- int j;
- for(j=0;j<n;j++){
-diff -ru liboil.orig/liboil/liboilfuncs.h liboil/liboil/liboilfuncs.h
---- liboil.orig/liboil/liboilfuncs.h 2009-04-13 16:30:03.000000000 +0200
-+++ liboil/liboil/liboilfuncs.h 2009-04-13 16:50:35.000000000 +0200
-@@ -30,6 +30,7 @@
- #ifndef _LIBOIL_FUNCS_H_
- #define _LIBOIL_FUNCS_H_
-
-+#import <stdint.h>
- #include <liboil/liboiltypes.h>
-
- #ifdef __cplusplus
-diff -ru liboil.orig/liboil/ref/addc.c liboil/liboil/ref/addc.c
---- liboil.orig/liboil/ref/addc.c 2009-04-13 16:30:03.000000000 +0200
-+++ liboil/liboil/ref/addc.c 2009-04-13 16:49:57.000000000 +0200
-@@ -1,4 +1,5 @@
-
-+#import <stdint.h>
- #include <liboil/liboilfunction.h>
- #include <liboil/liboiltest.h>
- #include <liboil/liboilrandom.h>
More information about the vlc-devel
mailing list