void-packages/srcpkgs/krename/patches/krename-4.0.7_add_common_na...

17 lines
707 B
Diff

Source: Heiko Becker
Upstream: Submitted, https://sourceforge.net/tracker/?func=detail&aid=3256681&group_id=42805&atid=434230
Reason: Fix FindLIBPODOFO.cmake
diff -urB krename-4.0.7_orig/cmake/modules/FindLIBPODOFO.cmake krename-4.0.7/cmake/modules/FindLIBPODOFO.cmake
--- cmake/modules/FindLIBPODOFO.cmake 2011-02-21 23:00:30.000000000 +0100
+++ cmake/modules/FindLIBPODOFO.cmake 2011-03-29 10:29:03.606942001 +0200
@@ -23,7 +23,7 @@
ENDIF(LIBPODOFO_H)
FIND_LIBRARY(LIBPODOFO_LIB
- NAMES libpodofo-doc podofo-doc
+ NAMES libpodofo podofo libpodofo-doc podofo-doc
PATHS "${LIBPODOFO_DIR}/lib" "${LIBPODOFO_DIR}/src" "${LIBPODOFO_DIR}")
IF(LIBPODOFO_LIB)
MESSAGE("podofo lib: ${LIBPODOFO_LIB}")