diff options
author | Leo <thinkabit.ukim@gmail.com> | 2020-02-22 02:30:46 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-02-22 02:30:58 -0300 |
commit | f7978c500408d4117f1735a5423798d9b477f714 (patch) | |
tree | 2bc5a6907c690ab46d8213c3757566369c8b6df9 /community/darktable | |
parent | c5c1cea34fb181402dba0711585646f1b930ad95 (diff) | |
download | aports-f7978c500408d4117f1735a5423798d9b477f714.tar.bz2 aports-f7978c500408d4117f1735a5423798d9b477f714.tar.xz |
community/darktable: fix build with cmake build type none
Diffstat (limited to 'community/darktable')
-rw-r--r-- | community/darktable/APKBUILD | 4 | ||||
-rw-r--r-- | community/darktable/fix-cmake-none.patch | 13 |
2 files changed, 16 insertions, 1 deletions
diff --git a/community/darktable/APKBUILD b/community/darktable/APKBUILD index a1d295c7d5..247167bc0b 100644 --- a/community/darktable/APKBUILD +++ b/community/darktable/APKBUILD @@ -40,6 +40,7 @@ options="!check" # Dependencies missing source="https://github.com/darktable-org/darktable/releases/download/release-${pkgver/_/}/darktable-${pkgver/_/.}.tar.xz fix-ifunc-multiarch.patch null-char-pointer-sentinel.patch + fix-cmake-none.patch " prepare() { @@ -65,4 +66,5 @@ package() { sha512sums="de154cc19281f61316363243db3e531be33ac4c4632d6277ba715884b83a3c35f1d433a0e53f5f1eb7ffe03c6fcba4629612c94f942c196807c876b421faafc6 darktable-3.0.0.tar.xz bbb665f06b21a75f34a82f26d9e7421281445843b392871d1f851c7b73eabc862bbe43525b669a67429a22fea63bb03ca90b8a1d200d62a52907946ffcd9a7e3 fix-ifunc-multiarch.patch -5ca542c875c769c4475b0b75244365f2e5829e451e05b9294627e154de9559c995aa252f128f6ffab36c60d17a618ff562abddb88c981672960e7c35e612ebdb null-char-pointer-sentinel.patch" +5ca542c875c769c4475b0b75244365f2e5829e451e05b9294627e154de9559c995aa252f128f6ffab36c60d17a618ff562abddb88c981672960e7c35e612ebdb null-char-pointer-sentinel.patch +62e7214fb8cadd5f7d994283c684e39052ccfb020861852126dd4af8b071c406a57a08580b0d3415e1e12634b1e88af9c29da420e2f58edb57849db0d4954b29 fix-cmake-none.patch" diff --git a/community/darktable/fix-cmake-none.patch b/community/darktable/fix-cmake-none.patch new file mode 100644 index 0000000000..6cacc140b8 --- /dev/null +++ b/community/darktable/fix-cmake-none.patch @@ -0,0 +1,13 @@ +diff --git a/src/external/rawspeed/cmake/build-type.cmake b/src/external/rawspeed/cmake/build-type.cmake +index c04263c..c72f7cb 100644 +--- a/src/external/rawspeed/cmake/build-type.cmake ++++ b/src/external/rawspeed/cmake/build-type.cmake +@@ -19,7 +19,7 @@ endif(NOT CMAKE_BUILD_TYPE) + + # yes, these build types need to be specified here in upper-case. + set(SPECIAL_BUILD_TYPES COVERAGE SANITIZE TSAN FUZZ) +-set(CMAKE_CONFIGURATION_TYPES DEBUG RELWITHDEBINFO RELEASE ${SPECIAL_BUILD_TYPES}) ++set(CMAKE_CONFIGURATION_TYPES DEBUG RELWITHDEBINFO RELEASE NONE ${SPECIAL_BUILD_TYPES}) + set(CMAKE_CONFIGURATION_TYPES "${CMAKE_CONFIGURATION_TYPES}" CACHE STRING "All the available build types" FORCE) + + string(TOUPPER "${CMAKE_BUILD_TYPE}" CMAKE_BUILD_TYPE) |