aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorTimur I. Bakeyev <timur@FreeBSD.org>2019-06-28 08:08:04 +0000
committerTimur I. Bakeyev <timur@FreeBSD.org>2019-06-28 08:08:04 +0000
commitf73e9a46f4593aaa7ec5037fc09b60dca2b695e7 (patch)
treee355ac422fe89399c361e3617651665b08465b0a /sysutils
parent7e52c8c80c11dda51c1e2dd50217cf34d9071f6a (diff)
Update port to 1.1.3 version.
PR: 238401 Approved by: maintainer timeout
Notes
Notes: svn path=/head/; revision=505270
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/cmocka/Makefile8
-rw-r--r--sysutils/cmocka/distinfo6
-rw-r--r--sysutils/cmocka/files/patch-include_cmocka.h8
3 files changed, 12 insertions, 10 deletions
diff --git a/sysutils/cmocka/Makefile b/sysutils/cmocka/Makefile
index aaa784cff599..b4b9c897a3a8 100644
--- a/sysutils/cmocka/Makefile
+++ b/sysutils/cmocka/Makefile
@@ -1,8 +1,7 @@
# $FreeBSD$
PORTNAME= cmocka
-PORTVERSION= 1.1.1
-PORTREVISION= 1
+PORTVERSION= 1.1.3
CATEGORIES= sysutils
MASTER_SITES= https://cmocka.org/files/1.1/ \
LOCAL/dteske
@@ -21,7 +20,7 @@ PLIST_FILES= include/cmocka.h \
lib/cmake/cmocka/cmocka-config.cmake \
lib/libcmocka.so \
lib/libcmocka.so.0 \
- lib/libcmocka.so.0.4.1 \
+ lib/libcmocka.so.0.5.1 \
libdata/pkgconfig/cmocka.pc
OPTIONS_DEFINE= STATIC
@@ -29,4 +28,7 @@ OPTIONS_DEFINE= STATIC
STATIC_CMAKE_BOOL= WITH_STATIC_LIB
STATIC_PLIST_FILES= lib/libcmocka.a
+post-install-STATIC-on:
+ @${MV} "${STAGEDIR}${PREFIX}/lib/libcmocka-static.a" "${STAGEDIR}${PREFIX}/lib/libcmocka.a"
+
.include <bsd.port.mk>
diff --git a/sysutils/cmocka/distinfo b/sysutils/cmocka/distinfo
index 26b853990d3f..65d127fda96b 100644
--- a/sysutils/cmocka/distinfo
+++ b/sysutils/cmocka/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1507485136
-SHA256 (cmocka-1.1.1.tar.xz) = f02ef48a7039aa77191d525c5b1aee3f13286b77a13615d11bc1148753fc0389
-SIZE (cmocka-1.1.1.tar.xz) = 85648
+TIMESTAMP = 1559782392
+SHA256 (cmocka-1.1.3.tar.xz) = 43eabcf72a9c80e3d03f7c8a1c04e408c18d2db5121eb058a3ef732a9dfabfaf
+SIZE (cmocka-1.1.3.tar.xz) = 78744
diff --git a/sysutils/cmocka/files/patch-include_cmocka.h b/sysutils/cmocka/files/patch-include_cmocka.h
index d91eacbda6ea..0e7a5ae749e3 100644
--- a/sysutils/cmocka/files/patch-include_cmocka.h
+++ b/sysutils/cmocka/files/patch-include_cmocka.h
@@ -1,6 +1,6 @@
---- include/cmocka.h.orig 2018-01-02 22:14:13.670138000 -0600
-+++ include/cmocka.h 2018-01-02 22:35:26.399769000 -0600
-@@ -110,7 +110,7 @@
+--- include/cmocka.h.orig 2018-09-06 06:15:11 UTC
++++ include/cmocka.h
+@@ -111,7 +111,7 @@ typedef uintmax_t LargestIntegralType;
((LargestIntegralType)(value))
/* Smallest integral type capable of holding a pointer. */
@@ -9,7 +9,7 @@
# if defined(_WIN32)
/* WIN32 is an ILP32 platform */
typedef unsigned int uintptr_t;
-@@ -136,6 +136,7 @@
+@@ -137,6 +137,7 @@ typedef uintmax_t LargestIntegralType;
# define _UINTPTR_T
# define _UINTPTR_T_DEFINED