Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
fb020f31
Commit
fb020f31
authored
Aug 27, 2009
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contribs: fortunately, no hacks are required anymore to compile liboil for PPC Macs
parent
3245dcbe
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
97 deletions
+0
-97
extras/contrib/src/Makefile
extras/contrib/src/Makefile
+0
-5
extras/contrib/src/Patches/liboil-ppc-hack.patch
extras/contrib/src/Patches/liboil-ppc-hack.patch
+0
-18
extras/contrib/src/Patches/liboil-ppc.patch
extras/contrib/src/Patches/liboil-ppc.patch
+0
-74
No files found.
extras/contrib/src/Makefile
View file @
fb020f31
...
...
@@ -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"
)
...
...
extras/contrib/src/Patches/liboil-ppc-hack.patch
deleted
100644 → 0
View file @
3245dcbe
--- 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
extras/contrib/src/Patches/liboil-ppc.patch
deleted
100644 → 0
View file @
3245dcbe
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>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment