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
5ba5e472
Commit
5ba5e472
authored
Sep 07, 2013
by
Konstantin Pavlov
Committed by
Rafaël Carré
Sep 10, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contrib: hopefully fix gme build on mac
Signed-off-by:
Rafaël Carré
<
funman@videolan.org
>
parent
465feb59
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
0 deletions
+20
-0
contrib/src/gme/gme-quotes.patch
contrib/src/gme/gme-quotes.patch
+19
-0
contrib/src/gme/rules.mak
contrib/src/gme/rules.mak
+1
-0
No files found.
contrib/src/gme/gme-quotes.patch
0 → 100644
View file @
5ba5e472
--- game-music-emu/CMakeLists.txt 2013-03-17 03:13:46.000000000 +0100
+++ game-music-emu.patched/CMakeLists.txt 2013-09-07 13:53:36.000000000 +0200
@@ -67,14 +67,14 @@
string (REGEX MATCH "[3-9]\\.[0-9]\\.[0-9]" _gcc_version "${_gcc_version_info}")
# gcc <4.1 had poor support for symbol visibility
- if ((${_gcc_version} VERSION_GREATER "4.1") OR (${_gcc_version} VERSION_EQUAL "4.1"))
+ if (("${_gcc_version}" VERSION_GREATER "4.1") OR ("${_gcc_version}" VERSION_EQUAL "4.1"))
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden")
set (ENABLE_VISIBILITY ON)
add_definitions (-DLIBGME_VISIBILITY)
# GCC >= 4.2 also correctly supports making inline members have hidden
# visibility by default.
- if ((${_gcc_version} VERSION_GREATER "4.2") OR (${_gcc_version} VERSION_EQUAL "4.2"))
+ if (("${_gcc_version}" VERSION_GREATER "4.2") OR ("${_gcc_version}" VERSION_EQUAL "4.2"))
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility-inlines-hidden")
endif()
endif()
contrib/src/gme/rules.mak
View file @
5ba5e472
...
...
@@ -13,6 +13,7 @@ $(TARBALLS)/game-music-emu-$(GME_VERSION).tar.bz2:
game-music-emu
:
game-music-emu-$(GME_VERSION).tar.bz2 .sum-gme
$(UNPACK)
$(APPLY)
$(SRC)
/gme/gme-static.patch
$(APPLY)
$(SRC)
/gme/gme-quotes.patch
$(MOVE)
.gme
:
game-music-emu toolchain.cmake
...
...
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