diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-06-08 20:31:11 -0600 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-06-08 20:33:26 -0600 |
commit | 832c1d160b74dff9dc4db0a9f4328ec98796ef9b (patch) | |
tree | 4de909cc3617eaa9b7e6f46e1a1db76524497625 /pcr/sacd-ripper/sacd-ripper-glibc.patch | |
parent | 1cdc5a5fc6a3031d4a423fa35962f816c579b194 (diff) |
add pcr/sacd-ripper
Diffstat (limited to 'pcr/sacd-ripper/sacd-ripper-glibc.patch')
-rw-r--r-- | pcr/sacd-ripper/sacd-ripper-glibc.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/pcr/sacd-ripper/sacd-ripper-glibc.patch b/pcr/sacd-ripper/sacd-ripper-glibc.patch new file mode 100644 index 000000000..ab737f040 --- /dev/null +++ b/pcr/sacd-ripper/sacd-ripper-glibc.patch @@ -0,0 +1,15 @@ +diff --git a/tools/sacd_extract/CMakeLists.txt b/tools/sacd_extract/CMakeLists.txt +index 2f48e25..228ce7b 100644 +--- a/tools/sacd_extract/CMakeLists.txt ++++ b/tools/sacd_extract/CMakeLists.txt +@@ -51,8 +51,8 @@ elseif(WIN32) + elseif(APPLE) + set(CMAKE_C_STANDARD_LIBRARIES "${CMAKE_CXX_STANDARD_LIRARIES} -liconv -lpthread") + else() +- add_definitions(-D_FILE_OFFSET_BITS=64) +- set(CMAKE_C_STANDARD_LIBRARIES "${CMAKE_CXX_STANDARD_LIRARIES} -lpthread -liconv") ++ add_definitions(-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE) ++ set(CMAKE_C_STANDARD_LIBRARIES "${CMAKE_CXX_STANDARD_LIRARIES} -lpthread") + endif() + + file(GLOB libcommon_headers ../../libs/libcommon/*.h) |