Date: Mon, 22 Apr 2019 15:13:41 +0000 (UTC) From: Tobias Kortkamp <tobik@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r499653 - head/print/libharu/files Message-ID: <201904221513.x3MFDfU7068503@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tobik Date: Mon Apr 22 15:13:41 2019 New Revision: 499653 URL: https://svnweb.freebsd.org/changeset/ports/499653 Log: print/libharu: Link with libm explicitly and attempt to unbreak on CURRENT ld: error: src/libhpdf.so: undefined reference to cos ld: error: src/libhpdf.so: undefined reference to sin http://beefy12.nyi.freebsd.org/data/head-amd64-default/p499421_s346424/logs/errors/libharu-2.3.0_1.log https://github.com/libharu/libharu/pull/158 Modified: head/print/libharu/files/patch-CMakeLists.txt Modified: head/print/libharu/files/patch-CMakeLists.txt ============================================================================== --- head/print/libharu/files/patch-CMakeLists.txt Mon Apr 22 15:09:34 2019 (r499652) +++ head/print/libharu/files/patch-CMakeLists.txt Mon Apr 22 15:13:41 2019 (r499653) @@ -9,7 +9,16 @@ # ======================================================================= # look for headers and libraries # ======================================================================= -@@ -110,7 +112,6 @@ endif(PNG_FOUND) +@@ -99,6 +101,8 @@ if(PNG_FOUND) + set(ADDITIONAL_LIBRARIES ${ADDITIONAL_LIBRARIES} ${PNG_LIBRARIES}) + endif(PNG_FOUND) + ++find_library(M_LIB m) ++set(ADDITIONAL_LIBRARIES ${ADDITIONAL_LIBRARIES} ${M_LIB}) + + # ======================================================================= + # configure header files, add compiler flags +@@ -110,7 +114,6 @@ endif(PNG_FOUND) if(MSVC_VERSION GREATER 1399) add_definitions(-D_CRT_SECURE_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE) endif(MSVC_VERSION GREATER 1399) @@ -17,7 +26,7 @@ # these are options -@@ -210,9 +211,7 @@ set( +@@ -210,9 +213,7 @@ set( install(FILES ${haru_HDRS} DESTINATION include) # install various files
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904221513.x3MFDfU7068503>