pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/libconfig



Module Name:    pkgsrc
Committed By:   tnn
Date:           Mon Apr 28 19:54:18 UTC 2025

Modified Files:
        pkgsrc/devel/libconfig: Makefile distinfo
Added Files:
        pkgsrc/devel/libconfig/patches: patch-lib_grammar.y

Log Message:
libconfig: update to 1.7.3

This release includes some bugfixes and enhancements.
- Fixed a memory access violation bug in config_clear()
- Various fixes to CMake and Visual Studio build files
-  Added a Setting::isString() method
- Fixed a bug in config_setting_lookup() where the setting itself
  (instead of NULL) would be returned if the path was not found.
- Renamed all remaining internal methods that lacked a 'libconfig_' prefix.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/devel/libconfig/Makefile
cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/libconfig/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/libconfig/patches/patch-lib_grammar.y

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

Modified files:

Index: pkgsrc/devel/libconfig/Makefile
diff -u pkgsrc/devel/libconfig/Makefile:1.12 pkgsrc/devel/libconfig/Makefile:1.13
--- pkgsrc/devel/libconfig/Makefile:1.12        Mon Jul 25 11:12:22 2022
+++ pkgsrc/devel/libconfig/Makefile     Mon Apr 28 19:54:18 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.12 2022/07/25 11:12:22 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2025/04/28 19:54:18 tnn Exp $
 
-DISTNAME=      libconfig-1.7.2
+DISTNAME=      libconfig-1.7.3
 CATEGORIES=    devel
 MASTER_SITES=  http://hyperrealm.github.io/libconfig/dist/
 
@@ -14,6 +14,7 @@ INFO_FILES=   yes
 USE_LIBTOOL=   yes
 USE_TOOLS+=    bison
 USE_LANGUAGES= c c++
+TEST_TARGET=   check
 
 PKGCONFIG_OVERRIDE+=   lib/libconfig++.pc.in
 PKGCONFIG_OVERRIDE+=   lib/libconfig.pc.in

Index: pkgsrc/devel/libconfig/distinfo
diff -u pkgsrc/devel/libconfig/distinfo:1.9 pkgsrc/devel/libconfig/distinfo:1.10
--- pkgsrc/devel/libconfig/distinfo:1.9 Tue Oct 26 10:15:15 2021
+++ pkgsrc/devel/libconfig/distinfo     Mon Apr 28 19:54:18 2025
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.9 2021/10/26 10:15:15 nia Exp $
+$NetBSD: distinfo,v 1.10 2025/04/28 19:54:18 tnn Exp $
 
-BLAKE2s (libconfig-1.7.2.tar.gz) = a0382ddfe33e7dbf07af940998ddbaebd931841f2e3811cd5658c7873332cfbd
-SHA512 (libconfig-1.7.2.tar.gz) = b0fcc403325fde217bd6509f10e8458958c8a93ff0a400da2602d62b7873e87f43ee6f1763ba30b3316e35a282a766c781a94b4d021b8c7e6ae2cf2cf108dd84
-Size (libconfig-1.7.2.tar.gz) = 721362 bytes
+BLAKE2s (libconfig-1.7.3.tar.gz) = 77e9d9ae6405239d796c19e61533141bc2a38bd39087ba3e5d9e42dbd56fc3d8
+SHA512 (libconfig-1.7.3.tar.gz) = 5c4dd6e85242760c666d00edb031c66ed5c9c402ce191ae691639f9c48e546f4ed2242bcd035d8c430d838cae2b2feb636c4661dded21948e0ed1c8c5990ce4b
+Size (libconfig-1.7.3.tar.gz) = 730800 bytes
+SHA1 (patch-lib_grammar.y) = 8e564a1285634e88a058ba1b3ce73676e68cf732

Added files:

Index: pkgsrc/devel/libconfig/patches/patch-lib_grammar.y
diff -u /dev/null pkgsrc/devel/libconfig/patches/patch-lib_grammar.y:1.1
--- /dev/null   Mon Apr 28 19:54:18 2025
+++ pkgsrc/devel/libconfig/patches/patch-lib_grammar.y  Mon Apr 28 19:54:18 2025
@@ -0,0 +1,28 @@
+$NetBSD: patch-lib_grammar.y,v 1.1 2025/04/28 19:54:18 tnn Exp $
+
+https://github.com/hyperrealm/libconfig/commit/690342b9cbc8b39787a1501bd890d63ca63a003c.patch
+
+--- lib/grammar.y.orig 2019-12-15 04:49:27.000000000 +0000
++++ lib/grammar.y
+@@ -40,8 +40,7 @@
+ #include "wincompat.h"
+ 
+ /* These declarations are provided to suppress compiler warnings. */
+-extern int libconfig_yylex();
+-extern int libconfig_yyget_lineno();
++extern int libconfig_yyget_lineno(void *);
+ 
+ static const char *err_array_elem_type = "mismatched element type in array";
+ static const char *err_duplicate_setting = "duplicate setting name";
+@@ -80,6 +79,11 @@ void libconfig_yyerror(void *scanner, st
+   char *sval;
+ }
+ 
++%{
++/* These declarations are provided to suppress compiler warnings. */
++extern int libconfig_yylex(YYSTYPE *, void *);
++%}
++
+ %token <ival> TOK_BOOLEAN TOK_INTEGER TOK_HEX
+ %token <llval> TOK_INTEGER64 TOK_HEX64
+ %token <fval> TOK_FLOAT



Home | Main Index | Thread Index | Old Index