diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-02-10 15:40:27 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-02-10 15:40:27 +0000 |
commit | 6bc2e4d7c5906e46a8f275a876ead6ec41aca5bb (patch) | |
tree | cee0a97398040001220ece3cd48c3d568bcddb4a /media-sound/musescore/files | |
parent | 1db00cc6e94b90c08090bb5b8c406622946c4ae5 (diff) |
gentoo resync : 10.02.2019
Diffstat (limited to 'media-sound/musescore/files')
-rw-r--r-- | media-sound/musescore/files/musescore-3.0.1-man-pages.patch | 31 | ||||
-rw-r--r-- | media-sound/musescore/files/musescore-3.0.1-porttime.patch | 13 |
2 files changed, 44 insertions, 0 deletions
diff --git a/media-sound/musescore/files/musescore-3.0.1-man-pages.patch b/media-sound/musescore/files/musescore-3.0.1-man-pages.patch new file mode 100644 index 000000000000..fd5ade55ed42 --- /dev/null +++ b/media-sound/musescore/files/musescore-3.0.1-man-pages.patch @@ -0,0 +1,31 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 6437963..2a173b9 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -660,7 +660,7 @@ if (NOT MINGW AND NOT MSVC AND NOT APPLE) + # Compress man pages if gzip is installed (don't on OpenBSD) + # Note: Compressing man pages is normal on Linux but not OpenBSD + find_program( GZIP_EXECUTABLE gzip DOC "A tool for compressing manpages (optional)." ) +- if (GZIP_EXECUTABLE AND NOT CMAKE_SYSTEM_NAME MATCHES "OpenBSD") ++ if (GZIP_EXECUTABLE AND NOT CMAKE_SYSTEM_NAME MATCHES "OpenBSD" AND false) + message(STATUS "Found 'gzip'. Man pages will be compressed.") + set(MAN_TARGET ${MAN_BUILD}) + set(MAN_EXTENSION ${MAN_EXTENSION}.gz) +@@ -677,7 +677,7 @@ if (NOT MINGW AND NOT MSVC AND NOT APPLE) + COMMAND echo "Man pages have been compressed ready for installation." + VERBATIM + ) +- else (GZIP_EXECUTABLE AND NOT CMAKE_SYSTEM_NAME MATCHES "OpenBSD") ++ else (GZIP_EXECUTABLE AND NOT CMAKE_SYSTEM_NAME MATCHES "OpenBSD" AND false) + if (CMAKE_SYSTEM_NAME MATCHES "OpenBSD") + message(STATUS "System is OpenBSD: Man pages will not be compressed.") + else (CMAKE_SYSTEM_NAME MATCHES "OpenBSD") +@@ -687,7 +687,7 @@ if (NOT MINGW AND NOT MSVC AND NOT APPLE) + COMMAND echo "Man pages will be installed uncompressed." + VERBATIM + ) +- endif (GZIP_EXECUTABLE AND NOT CMAKE_SYSTEM_NAME MATCHES "OpenBSD") ++ endif (GZIP_EXECUTABLE AND NOT CMAKE_SYSTEM_NAME MATCHES "OpenBSD" AND false) + # Install man pages in either compressed or uncompressed form + install( FILES ${MAN_BUILD} DESTINATION share/man/man1 COMPONENT doc) + # Create symlink alias for man pages so `man musescore` = `man mscore` diff --git a/media-sound/musescore/files/musescore-3.0.1-porttime.patch b/media-sound/musescore/files/musescore-3.0.1-porttime.patch new file mode 100644 index 000000000000..b9bddf1d9d97 --- /dev/null +++ b/media-sound/musescore/files/musescore-3.0.1-porttime.patch @@ -0,0 +1,13 @@ +diff --git a/mscore/CMakeLists.txt b/mscore/CMakeLists.txt +index fcf9332..59db47a 100644 +--- a/mscore/CMakeLists.txt ++++ b/mscore/CMakeLists.txt +@@ -715,7 +715,7 @@ else (MINGW) + if (APPLE) + set(PORTMIDI_LIB portmidi) + else (APPLE) +- set(PORTMIDI_LIB -lportmidi -lporttime) # Remove -lporttime on RPM-based systems where PortTime is part of PortMidi. ++ set(PORTMIDI_LIB -lportmidi) # Remove -lporttime on RPM-based systems where PortTime is part of PortMidi. + endif (APPLE) + target_link_libraries(mscore ${PORTMIDI_LIB}) + endif (USE_PORTMIDI) |