Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
8aad4501
Commit
8aad4501
authored
Jan 04, 2009
by
Felix Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libcaca: configure script patch & hack to let us use the SDK and the GCC version of our choice
parent
bc400496
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
2 deletions
+36
-2
extras/contrib/src/Makefile
extras/contrib/src/Makefile
+4
-2
extras/contrib/src/Patches/libcaca-osx-sdkofourchoice.patch
extras/contrib/src/Patches/libcaca-osx-sdkofourchoice.patch
+32
-0
No files found.
extras/contrib/src/Makefile
View file @
8aad4501
#***************************************************************************
#***************************************************************************
# src/Makefile : Dearchive and compile all files necessary
# src/Makefile : Dearchive and compile all files necessary
# ***************************************************************************
# ***************************************************************************
# Copyright (C) 2003 - 200
8
the VideoLAN team
# Copyright (C) 2003 - 200
9
the VideoLAN team
# $Id$
# $Id$
#
#
# Authors: Christophe Massiot <massiot@via.ecp.fr>
# Authors: Christophe Massiot <massiot@via.ecp.fr>
# Derk-Jan Hartman <hartman at videolan dot org>
# Derk-Jan Hartman <hartman at videolan dot org>
# Eric Petit <titer@m0k.org>
# Eric Petit <titer@m0k.org>
# Felix Paul Kühne <fkuehne
@videolan.
org>
# Felix Paul Kühne <fkuehne
at videolan dot
org>
# Christophe Mutricy <xtophe AT xtelevision.com>
# Christophe Mutricy <xtophe AT xtelevision.com>
# Gildas Bazin <gbazin at videolan dot org>
# Gildas Bazin <gbazin at videolan dot org>
# Damien Fouilleul <damienf at videolan dot org>
# Damien Fouilleul <damienf at videolan dot org>
...
@@ -1341,6 +1341,8 @@ ifdef HAVE_DARWIN_OS
...
@@ -1341,6 +1341,8 @@ ifdef HAVE_DARWIN_OS
ifndef
HAVE_DARWIN_OS_ON_INTEL
ifndef
HAVE_DARWIN_OS_ON_INTEL
patch
-p0
< Patches/caca-osx-ppc.patch
patch
-p0
< Patches/caca-osx-ppc.patch
endif
endif
patch
-p0
< Patches/libcaca-osx-sdkofourchoice.patch
(
cd
$@
;
sed
-e
's%/Developer/SDKs/MacOSX10.4u.sdk%
$(MACOSX_SDK)
%'
-i
.orig configure
)
endif
endif
.caca
:
libcaca
.caca
:
libcaca
...
...
extras/contrib/src/Patches/libcaca-osx-sdkofourchoice.patch
0 → 100644
View file @
8aad4501
--- libcaca/configure 2007-11-29 11:36:50.000000000 +0100
+++ libcaca/configure 2009-01-04 00:06:45.000000000 +0100
@@ -23283,26 +23283,9 @@
done
if test "${ac_cv_my_have_cocoa}" = "yes"; then
- case x${target} in
- xpowerpc*darwin*)
- # 10.3 needed to link with X11
- MACOSX_SDK=/Developer/SDKs/MacOSX10.3.9.sdk
- GCC_VERSION=3.3
- ARCH="-arch ppc"
- MACOSX_SDK_CFLAGS="-nostdinc -isystem ${MACOSX_SDK}/usr/include/gcc/darwin/${GCC_VERSION} -isystem ${MACOSX_SDK}/usr/include"
- MACOSX_SDK_CXXFLAGS="-nostdinc++ -I${MACOSX_SDK}/usr/include/gcc/darwin/${GCC_VERSION}/c++ -I${MACOSX_SDK}/usr/include/gcc/darwin/${GCC_VERSION}/c++/ppc-darwin -I${MACOSX_SDK}/usr/include/gcc/darwin/${GCC_VERSION}/c++/backward"
- MACOSX_SDK_LDFLAGS="-L${MACOSX_SDK}/usr/lib/gcc/darwin -L${MACOSX_SDK}/usr/lib/gcc/darwin/${GCC_VERSION} -L${MACOSX_SDK}/usr/lib"
- ;;
- x*86*darwin*)
- MACOSX_SDK=/Developer/SDKs/MacOSX10.4u.sdk
- GCC_VERSION=4.0
- ARCH="-arch i386"
- MACOSX_SDK_CFLAGS="-isysroot ${MACOSX_SDK}"
- MACOSX_SDK_CXXFLAGS="${MACOSX_SDK_CFLAGS}"
- ;;
- esac
- CC=gcc-${GCC_VERSION}
- CXX=g++-${GCC_VERSION}
+ MACOSX_SDK=/Developer/SDKs/MacOSX10.4u.sdk
+ MACOSX_SDK_CFLAGS="-isysroot ${MACOSX_SDK}"
+ MACOSX_SDK_CXXFLAGS="${MACOSX_SDK_CFLAGS}"
MACOSX_SDK_FRAMEWORKS="-F${MACOSX_SDK}/System/Library/Frameworks"
CPPFLAGS="${CPPFLAGS} ${ARCH} ${MACOSX_SDK_FRAMEWORKS}"
CFLAGS="${CFLAGS} ${MACOSX_SDK_CFLAGS}"
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