diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-12-06 18:23:20 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-12-06 18:23:20 +0000 |
commit | d37b97a25b8b10f748eead6574b01f893f140b01 (patch) | |
tree | 13e2a142a31cd193a39c63042a64cab29a1f7ae9 /media-sound/rosegarden/files | |
parent | a833e3f4a431b8eea751b7420e127787f9c92117 (diff) |
gentoo resync : 06.12.2017
Diffstat (limited to 'media-sound/rosegarden/files')
-rw-r--r-- | media-sound/rosegarden/files/rosegarden-17.04-cmake-3.9.1.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/media-sound/rosegarden/files/rosegarden-17.04-cmake-3.9.1.patch b/media-sound/rosegarden/files/rosegarden-17.04-cmake-3.9.1.patch new file mode 100644 index 000000000000..bc587a729773 --- /dev/null +++ b/media-sound/rosegarden/files/rosegarden-17.04-cmake-3.9.1.patch @@ -0,0 +1,18 @@ +Description: fix svnversion.h dependency to permit parallel building + With CMake 3.9.1 and parallel building enabled, the incorrect specification + of the output filename when creating svnversion.h can lead to a race condition + such that the package fails to build. +Author: Stuart Prescott <stuart@debian.org> +Bug: https://sourceforge.net/p/rosegarden/bugs/1552/ +Bug-Debian: https://bugs.debian.org/871213 +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -810,7 +810,7 @@ + add_custom_target(svnheader ALL DEPENDS svn_header) # svn_header never gets created, it's just a unique string + + # creates svnheader.h using cmake script +-add_custom_command(OUTPUT svn_header ${CMAKE_CURRENT_BINARY_DIR}/svnheader.h ++add_custom_command(OUTPUT svn_header ${CMAKE_CURRENT_BINARY_DIR}/svnversion.h + COMMAND ${CMAKE_COMMAND} -DSOURCE_DIR=${CMAKE_CURRENT_SOURCE_DIR} + -P ${CMAKE_CURRENT_SOURCE_DIR}/buildkey.cmake) + |