Update to 0.16-R3

This commit is contained in:
Olivier Cochard 2019-03-14 23:43:34 +00:00
parent c361cf6206
commit 2cc0afa275
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=495743
5 changed files with 29 additions and 6 deletions

View File

@ -3,8 +3,8 @@
PORTNAME= libyang
PORTVERSION= 0.16
DISTVERSIONPREFIX= v
DISTVERSIONSUFFIX= -r1
PORTREVISION= 4
DISTVERSIONSUFFIX= -r3
PORTREVISION= 5
CATEGORIES= net
MAINTAINER= olivier@FreeBSD.org

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1537973255
SHA256 (CESNET-libyang-v0.16-r1_GH0.tar.gz) = 43ab396fc7529251dc9cf02fbd8da48dcf476b998ea0f9e66197632988969074
SIZE (CESNET-libyang-v0.16-r1_GH0.tar.gz) = 2979630
TIMESTAMP = 1552606133
SHA256 (CESNET-libyang-v0.16-r3_GH0.tar.gz) = 4745460dedc4ba17d8bcfc39ad9ba0d1b91bbe82b55b9417a090390909ba8ca5
SIZE (CESNET-libyang-v0.16-r3_GH0.tar.gz) = 2999818

View File

@ -0,0 +1,11 @@
--- src/parser_lyb.c.orig 2019-03-14 23:35:14 UTC
+++ src/parser_lyb.c
@@ -23,6 +23,8 @@
# define le16toh(x) OSSwapLittleToHostInt16(x)
# define le32toh(x) OSSwapLittleToHostInt32(x)
# define le64toh(x) OSSwapLittleToHostInt64(x)
+#elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__)
+# include <sys/endian.h>
#else
# include <endian.h>
#endif

View File

@ -0,0 +1,11 @@
--- src/printer_lyb.c.orig 2019-03-14 23:35:50 UTC
+++ src/printer_lyb.c
@@ -21,6 +21,8 @@
#ifdef __APPLE__
# include <libkern/OSByteOrder.h>
# define htole64(x) OSSwapHostToLittleInt64(x)
+#elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__)
+# include <sys/endian.h>
#else
# include <endian.h>
#endif

View File

@ -9,10 +9,11 @@ include/libyang/user_types.h
include/libyang/xml.h
lib/libyang.so
lib/libyang.so.0.16
lib/libyang.so.0.16.41
lib/libyang.so.0.16.105
lib/libyang/extensions/metadata.so
lib/libyang/extensions/nacm.so
lib/libyang/extensions/yangdata.so
lib/libyang/user_types/user_date_and_time.so
libdata/pkgconfig/libyang.pc
man/man1/yanglint.1.gz
man/man1/yangre.1.gz