pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/sentencepiece



Module Name:    pkgsrc
Committed By:   wiz
Date:           Fri Aug 22 14:31:49 UTC 2025

Modified Files:
        pkgsrc/textproc/sentencepiece: distinfo
Added Files:
        pkgsrc/textproc/sentencepiece/patches: patch-build__bundled.sh

Log Message:
py-sentencepiece: fix build with cmake 4


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/textproc/sentencepiece/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/textproc/sentencepiece/patches/patch-build__bundled.sh

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

Modified files:

Index: pkgsrc/textproc/sentencepiece/distinfo
diff -u pkgsrc/textproc/sentencepiece/distinfo:1.2 pkgsrc/textproc/sentencepiece/distinfo:1.3
--- pkgsrc/textproc/sentencepiece/distinfo:1.2  Fri Jun  6 07:51:53 2025
+++ pkgsrc/textproc/sentencepiece/distinfo      Fri Aug 22 14:31:48 2025
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.2 2025/06/06 07:51:53 wiz Exp $
+$NetBSD: distinfo,v 1.3 2025/08/22 14:31:48 wiz Exp $
 
 BLAKE2s (sentencepiece-0.2.0.tar.gz) = 68609347224e87397b98a2602bb88fb15df907d2bfe7e9cbce82020fc0c67169
 SHA512 (sentencepiece-0.2.0.tar.gz) = b4214f5bfbe2a0757794c792e87e7c53fda7e65b2511b37fc757f280bf9287ba59b5d630801e17de6058f8292a3c6433211917324cb3446a212a51735402e614
 Size (sentencepiece-0.2.0.tar.gz) = 11980811 bytes
+SHA1 (patch-build__bundled.sh) = cad43cfcdb7b11acc563c1a3696975805275539c

Added files:

Index: pkgsrc/textproc/sentencepiece/patches/patch-build__bundled.sh
diff -u /dev/null pkgsrc/textproc/sentencepiece/patches/patch-build__bundled.sh:1.1
--- /dev/null   Fri Aug 22 14:31:49 2025
+++ pkgsrc/textproc/sentencepiece/patches/patch-build__bundled.sh       Fri Aug 22 14:31:49 2025
@@ -0,0 +1,13 @@
+$NetBSD: patch-build__bundled.sh,v 1.1 2025/08/22 14:31:49 wiz Exp $
+
+Fix build with cmake 4.
+
+--- build_bundled.sh.orig      2024-02-19 08:06:52.000000000 +0000
++++ build_bundled.sh
+@@ -18,5 +18,5 @@ else
+   SRC_DIR=./sentencepiece
+ fi
+ 
+-cmake ${SRC_DIR} -B ${BUILD_DIR} -DSPM_ENABLE_SHARED=OFF -DCMAKE_INSTALL_PREFIX=${INSTALL_DIR}
++cmake ${SRC_DIR} -B ${BUILD_DIR} -DSPM_ENABLE_SHARED=OFF -DCMAKE_INSTALL_PREFIX=${INSTALL_DIR} -DCMAKE_POLICY_VERSION_MINIMUM=3.5
+ cmake --build ${BUILD_DIR} --config Release --target install --parallel $(nproc)



Home | Main Index | Thread Index | Old Index