diff options
author | Julien Dehos <dehos@lisic.univ-littoral.fr> | 2016-07-22 19:17:18 +0200 |
---|---|---|
committer | Rok Garbas <rok@garbas.si> | 2016-07-25 05:00:23 +0200 |
commit | d49902e03a0c2adefa36ef8865bc9540c74697f9 (patch) | |
tree | 1b42e842310902895117c6abcce2d880ae32f161 /pkgs/tools/graphics/pfstools/threads.patch | |
parent | a086b62a3d8bd934ebb1b9e6fd9eb2af9ece03e1 (diff) | |
download | nixlib-d49902e03a0c2adefa36ef8865bc9540c74697f9.tar nixlib-d49902e03a0c2adefa36ef8865bc9540c74697f9.tar.gz nixlib-d49902e03a0c2adefa36ef8865bc9540c74697f9.tar.bz2 nixlib-d49902e03a0c2adefa36ef8865bc9540c74697f9.tar.lz nixlib-d49902e03a0c2adefa36ef8865bc9540c74697f9.tar.xz nixlib-d49902e03a0c2adefa36ef8865bc9540c74697f9.tar.zst nixlib-d49902e03a0c2adefa36ef8865bc9540c74697f9.zip |
pfstools: 1.8.5 -> 2.0.5
Diffstat (limited to 'pkgs/tools/graphics/pfstools/threads.patch')
-rw-r--r-- | pkgs/tools/graphics/pfstools/threads.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/tools/graphics/pfstools/threads.patch b/pkgs/tools/graphics/pfstools/threads.patch new file mode 100644 index 000000000000..e3f61db60899 --- /dev/null +++ b/pkgs/tools/graphics/pfstools/threads.patch @@ -0,0 +1,20 @@ +--- a/src/fileformat/CMakeLists.txt 2016-05-26 11:31:23.000000000 +0200 ++++ b/src/fileformat/CMakeLists.txt 2016-07-21 23:19:56.510958771 +0200 +@@ -53,13 +53,15 @@ + if( OPENEXR_FOUND ) + include_directories("${OPENEXR_INCLUDE_DIR}") + ++ find_package (Threads) ++ + add_executable(pfsinexr pfsinexr.cpp "${GETOPT_OBJECT}") +- target_link_libraries(pfsinexr pfs ${OPENEXR_LIBRARIES}) ++ target_link_libraries(pfsinexr pfs ${OPENEXR_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT}) + install (TARGETS pfsinexr DESTINATION bin) + install (FILES pfsinexr.1 DESTINATION ${MAN_DIR}) + + add_executable(pfsoutexr pfsoutexr.cpp "${GETOPT_OBJECT}") +- target_link_libraries(pfsoutexr pfs ${OPENEXR_LIBRARIES}) ++ target_link_libraries(pfsoutexr pfs ${OPENEXR_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT}) + install (TARGETS pfsoutexr DESTINATION bin) + install (FILES pfsoutexr.1 DESTINATION ${MAN_DIR}) + endif( OPENEXR_FOUND ) |