aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorolivier <olivier@FreeBSD.org>2019-03-15 07:43:34 +0800
committerolivier <olivier@FreeBSD.org>2019-03-15 07:43:34 +0800
commite9a3fb0b453762333161ddb7ab0d7140e9654dc3 (patch)
treeab194f4f99c126abf36ee0d23e15c12b6696f2f8 /net
parent1aaae297e54be739452e23671cbd34a8e936942c (diff)
downloadfreebsd-ports-gnome-e9a3fb0b453762333161ddb7ab0d7140e9654dc3.tar.gz
freebsd-ports-gnome-e9a3fb0b453762333161ddb7ab0d7140e9654dc3.tar.zst
freebsd-ports-gnome-e9a3fb0b453762333161ddb7ab0d7140e9654dc3.zip
Update to 0.16-R3
Diffstat (limited to 'net')
-rw-r--r--net/libyang/Makefile4
-rw-r--r--net/libyang/distinfo6
-rw-r--r--net/libyang/files/patch-src_parser__lyb.c11
-rw-r--r--net/libyang/files/patch-src_printer__lyb.c11
-rw-r--r--net/libyang/pkg-plist3
5 files changed, 29 insertions, 6 deletions
diff --git a/net/libyang/Makefile b/net/libyang/Makefile
index 7fc38fa3d107..6d9d6d1dd76b 100644
--- a/net/libyang/Makefile
+++ b/net/libyang/Makefile
@@ -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
diff --git a/net/libyang/distinfo b/net/libyang/distinfo
index 2d5f2f3f3def..0030400e640e 100644
--- a/net/libyang/distinfo
+++ b/net/libyang/distinfo
@@ -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
diff --git a/net/libyang/files/patch-src_parser__lyb.c b/net/libyang/files/patch-src_parser__lyb.c
new file mode 100644
index 000000000000..83c5655dc258
--- /dev/null
+++ b/net/libyang/files/patch-src_parser__lyb.c
@@ -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
diff --git a/net/libyang/files/patch-src_printer__lyb.c b/net/libyang/files/patch-src_printer__lyb.c
new file mode 100644
index 000000000000..47fa1841c12d
--- /dev/null
+++ b/net/libyang/files/patch-src_printer__lyb.c
@@ -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
diff --git a/net/libyang/pkg-plist b/net/libyang/pkg-plist
index 8e7bded534ea..db91c70ef0fd 100644
--- a/net/libyang/pkg-plist
+++ b/net/libyang/pkg-plist
@@ -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