pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/graphics/leptonica



Module Name:    pkgsrc
Committed By:   joerg
Date:           Thu Apr 11 11:46:34 UTC 2024

Modified Files:
        pkgsrc/graphics/leptonica: distinfo
Added Files:
        pkgsrc/graphics/leptonica/patches: patch-prog_CMakeLists.txt

Log Message:
Explicitly link libm for programs, it doesn't always get picked up.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 pkgsrc/graphics/leptonica/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/graphics/leptonica/patches/patch-prog_CMakeLists.txt

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/leptonica/distinfo
diff -u pkgsrc/graphics/leptonica/distinfo:1.24 pkgsrc/graphics/leptonica/distinfo:1.25
--- pkgsrc/graphics/leptonica/distinfo:1.24     Fri Jan 19 15:17:11 2024
+++ pkgsrc/graphics/leptonica/distinfo  Thu Apr 11 11:46:34 2024
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.24 2024/01/19 15:17:11 adam Exp $
+$NetBSD: distinfo,v 1.25 2024/04/11 11:46:34 joerg Exp $
 
 BLAKE2s (leptonica-1.84.1.tar.gz) = 28535355a46bd2dae46b26d2dbe48258f00a9559657445b33c3c5a2b0c0a8cd0
 SHA512 (leptonica-1.84.1.tar.gz) = 949be33a09e1dfc04527f5401d3d682999bd6904dca0b4950b457d12564e3290ec5b62ab4b14ef14d6f499a0fbfa0ebc37c2e8ab2966913883127b9489f47e97
 Size (leptonica-1.84.1.tar.gz) = 14102299 bytes
 SHA1 (patch-CMakeLists.txt) = 9cc561f6daa7c960a681e6b695f1e6fb2cf655d2
+SHA1 (patch-prog_CMakeLists.txt) = a555fc7ea30cffdc2f9d1a76a1fa06497b86a832
 SHA1 (patch-src_environ.h) = 4170fe05038704412cd100c1179397c89ab3a44b

Added files:

Index: pkgsrc/graphics/leptonica/patches/patch-prog_CMakeLists.txt
diff -u /dev/null pkgsrc/graphics/leptonica/patches/patch-prog_CMakeLists.txt:1.1
--- /dev/null   Thu Apr 11 11:46:34 2024
+++ pkgsrc/graphics/leptonica/patches/patch-prog_CMakeLists.txt Thu Apr 11 11:46:34 2024
@@ -0,0 +1,15 @@
+$NetBSD: patch-prog_CMakeLists.txt,v 1.1 2024/04/11 11:46:34 joerg Exp $
+
+Link-in trigonometric functions.
+
+--- prog/CMakeLists.txt.orig   2024-04-10 12:45:53.359825227 +0000
++++ prog/CMakeLists.txt
+@@ -12,7 +12,7 @@ function(add_prog_target target)
+     if (BUILD_SHARED_LIBS)
+         target_compile_definitions  (${target} PRIVATE -DLIBLEPT_IMPORTS)
+     endif()
+-    target_link_libraries           (${target} leptonica)
++    target_link_libraries           (${target} leptonica -lm)
+     set_target_properties           (${target} PROPERTIES FOLDER prog)
+ endfunction(add_prog_target)
+ ########################################



Home | Main Index | Thread Index | Old Index