Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
dbedba79
Commit
dbedba79
authored
Jan 18, 2012
by
Olivier Gambier
Committed by
Rafaël Carré
Jan 17, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing weak alias detection for llvm based compilers
Signed-off-by:
Rafaël Carré
<
funman@videolan.org
>
parent
e823f7eb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
contrib/src/caca/caca-llvm-weak-alias.patch
contrib/src/caca/caca-llvm-weak-alias.patch
+11
-0
contrib/src/caca/rules.mak
contrib/src/caca/rules.mak
+2
-0
No files found.
contrib/src/caca/caca-llvm-weak-alias.patch
0 → 100644
View file @
dbedba79
--- libcaca/caca/caca.h 2011-07-05 00:09:51.000000000 -0700
+++ libcaca.new/caca/caca.h 2011-07-05 00:10:10.000000000 -0700
@@ -645,7 +645,7 @@
# define CACA_DEPRECATED
# endif
-# if defined __GNUC__ && __GNUC__ > 3
+# if !(defined __APPLE__ && defined __llvm__) && defined __GNUC__ && __GNUC__ > 3
# define CACA_ALIAS(x) __attribute__ ((weak, alias(#x)))
# else
# define CACA_ALIAS(x)
contrib/src/caca/rules.mak
View file @
dbedba79
...
...
@@ -17,6 +17,8 @@ caca: libcaca-$(CACA_VERSION).tar.gz .sum-caca
ifdef
HAVE_MACOSX
$(APPLY)
$(SRC)
/caca/caca-osx-sdkofourchoice.patch
endif
$(APPLY)
$(SRC)
/caca/caca-llvm-weak-alias.patch
ifdef
HAVE_WIN32
$(APPLY)
$(SRC)/caca/caca-win32-static.patch
endif
...
...
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