pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/libsmi
Module Name: pkgsrc
Committed By: tnn
Date: Mon Aug 5 08:19:59 UTC 2024
Modified Files:
pkgsrc/devel/libsmi: Makefile distinfo
Added Files:
pkgsrc/devel/libsmi/patches: patch-lib_parser-yang.y
patch-lib_yang-data.h
Log Message:
libsmi: fix missing prototype issues
To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 pkgsrc/devel/libsmi/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/devel/libsmi/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/libsmi/patches/patch-lib_parser-yang.y \
pkgsrc/devel/libsmi/patches/patch-lib_yang-data.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/libsmi/Makefile
diff -u pkgsrc/devel/libsmi/Makefile:1.21 pkgsrc/devel/libsmi/Makefile:1.22
--- pkgsrc/devel/libsmi/Makefile:1.21 Sat Jan 8 14:50:59 2022
+++ pkgsrc/devel/libsmi/Makefile Mon Aug 5 08:19:59 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2022/01/08 14:50:59 wiz Exp $
+# $NetBSD: Makefile,v 1.22 2024/08/05 08:19:59 tnn Exp $
DISTNAME= libsmi-0.5.0
PKGREVISION= 1
@@ -20,6 +20,8 @@ CONFIGURE_ARGS+= --with-mibdir=${MIBDIR:
CONFIGURE_ARGS+= --with-pibdir=${PIBDIR:Q}
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
+CFLAGS+= -D_GNU_SOURCE=1 # for timegm(3)
+
REPLACE_SH+= tools/smicache.in
REPLACE_SH+= tools/smistrip.in
REPLACE_SH+= test/*.test.in
Index: pkgsrc/devel/libsmi/distinfo
diff -u pkgsrc/devel/libsmi/distinfo:1.10 pkgsrc/devel/libsmi/distinfo:1.11
--- pkgsrc/devel/libsmi/distinfo:1.10 Tue Oct 26 10:15:28 2021
+++ pkgsrc/devel/libsmi/distinfo Mon Aug 5 08:19:59 2024
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.10 2021/10/26 10:15:28 nia Exp $
+$NetBSD: distinfo,v 1.11 2024/08/05 08:19:59 tnn Exp $
BLAKE2s (libsmi-0.5.0.tar.gz) = 49b8a2ca616afa1aa7102936a0a5ac024a7c19d2fd5c3ec1ced0f6b82ed2b6bc
SHA512 (libsmi-0.5.0.tar.gz) = be82e6b7054426e4634ac9d90467b89a51a9c836273c9d516f07ff3cec3a8dcc8b3bb0e0396d5facec3d9c952b17fb67f24ff2d3959e7e5cf9eced72023a0708
@@ -7,3 +7,5 @@ SHA1 (patch-aa) = 0daa795492391e52cce09d
SHA1 (patch-ab) = 2ebd512bfa4e284eaf892a5437f0bf12ad3ff36c
SHA1 (patch-ac) = e10b25773c6df404b74a2cd28bac06cbd6183983
SHA1 (patch-ad) = ca9376deac37b3c894f8d34e4b73473af49c7790
+SHA1 (patch-lib_parser-yang.y) = 99c21a34a6348c844d2728b457d1d2cb808dfb8d
+SHA1 (patch-lib_yang-data.h) = 9d6e15f17d4cd753175c954d52bf3b1d4b52311e
Added files:
Index: pkgsrc/devel/libsmi/patches/patch-lib_parser-yang.y
diff -u /dev/null pkgsrc/devel/libsmi/patches/patch-lib_parser-yang.y:1.1
--- /dev/null Mon Aug 5 08:19:59 2024
+++ pkgsrc/devel/libsmi/patches/patch-lib_parser-yang.y Mon Aug 5 08:19:59 2024
@@ -0,0 +1,15 @@
+$NetBSD: patch-lib_parser-yang.y,v 1.1 2024/08/05 08:19:59 tnn Exp $
+
+Add missing prototypes.
+
+--- lib/parser-yang.y.orig 2014-10-11 15:58:53.000000000 +0000
++++ lib/parser-yang.y
+@@ -35,6 +35,8 @@
+ #endif
+
+ #include "yang.h"
++#include "yang-check.h"
++#include "smi-check.h"
+ #include "yang-data.h"
+ #include "parser-yang.h"
+ #include "scanner-yang.h"
Index: pkgsrc/devel/libsmi/patches/patch-lib_yang-data.h
diff -u /dev/null pkgsrc/devel/libsmi/patches/patch-lib_yang-data.h:1.1
--- /dev/null Mon Aug 5 08:19:59 2024
+++ pkgsrc/devel/libsmi/patches/patch-lib_yang-data.h Mon Aug 5 08:19:59 2024
@@ -0,0 +1,14 @@
+$NetBSD: patch-lib_yang-data.h,v 1.1 2024/08/05 08:19:59 tnn Exp $
+
+Add missing prototypes.
+
+--- lib/yang-data.h.orig 2013-06-04 12:34:00.000000000 +0000
++++ lib/yang-data.h
+@@ -164,6 +164,7 @@ int removeYangNode(_YangNode* target, _Y
+
+ _YangModuleInfo *createModuleInfo(_YangNode *modulePtr);
+
++void createIdentifierRef(_YangNode *node, char* prefix, char* ident);
+ void createTypeInfo(_YangNode *node);
+
+ _YangNode *findYangModuleByName(const char *modulename, char* revision);
Home |
Main Index |
Thread Index |
Old Index