pkgsrc-Changes archive

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

CVS commit: pkgsrc/math/units



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Jan  4 11:38:26 UTC 2026

Modified Files:
        pkgsrc/math/units: distinfo
Added Files:
        pkgsrc/math/units/patches: patch-units.c

Log Message:
units: fix build

Only old readline provided 'Function'


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/math/units/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/math/units/patches/patch-units.c

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

Modified files:

Index: pkgsrc/math/units/distinfo
diff -u pkgsrc/math/units/distinfo:1.6 pkgsrc/math/units/distinfo:1.7
--- pkgsrc/math/units/distinfo:1.6      Tue Oct 26 10:56:11 2021
+++ pkgsrc/math/units/distinfo  Sun Jan  4 11:38:25 2026
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.6 2021/10/26 10:56:11 nia Exp $
+$NetBSD: distinfo,v 1.7 2026/01/04 11:38:25 wiz Exp $
 
 BLAKE2s (units-2.01.tar.gz) = bd72e342ce3c097fe80e742f15ea94e32e69525cea3ff340815b76a1ca7f6fd1
 SHA512 (units-2.01.tar.gz) = ddaa9d8ad84aea963e84379f6d5d6298ec0431c56ba2c805a5fbc3695504279a7ba81609e33bb9d52771ee3ca739570b925d30aa1637dacb5a90d8c8c483fd37
 Size (units-2.01.tar.gz) = 709368 bytes
 SHA1 (patch-Makefile.in) = a7517c0f4ea9b0d5f9452ec111db86e36d960d79
+SHA1 (patch-units.c) = ecfdf1e03f0d2395746c620c00f613a31bae6686

Added files:

Index: pkgsrc/math/units/patches/patch-units.c
diff -u /dev/null pkgsrc/math/units/patches/patch-units.c:1.1
--- /dev/null   Sun Jan  4 11:38:26 2026
+++ pkgsrc/math/units/patches/patch-units.c     Sun Jan  4 11:38:25 2026
@@ -0,0 +1,13 @@
+$NetBSD: patch-units.c,v 1.1 2026/01/04 11:38:25 wiz Exp $
+
+--- units.c.orig       2026-01-04 11:37:04.829730432 +0000
++++ units.c
+@@ -4104,7 +4104,7 @@ main(int argc, char **argv)
+ #endif
+ 
+ #ifdef READLINE
+-#  if RL_READLINE_VERSION > 0x0402 
++#  if 1
+       rl_completion_entry_function = (rl_compentry_func_t *)completeunits;
+ #  else
+       rl_completion_entry_function = (Function *)completeunits;



Home | Main Index | Thread Index | Old Index