summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorkfg2018-09-22 17:31:44 +0200
committerkfg2018-09-22 17:31:44 +0200
commit10d4d963688138596e394e9bcd10670a3c80a2db (patch)
tree34bccbdbeab2c2c64a27ccebe1ed19a4f0b39bf5
parent17f6dd6ee8ac3368036b483bc00b655e33b79bf3 (diff)
downloadaur-10d4d963688138596e394e9bcd10670a3c80a2db.tar.gz
upgpkg: mingw-w64-cmocka 1.1.2-1
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD10
-rw-r--r--crosscompilingemulator.patch9
-rw-r--r--exesuffix.patch9
4 files changed, 30 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e2cc5a0baed3..e4071ffcf6e1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Sat Aug 25 20:31:56 UTC 2018
+# Sat Sep 22 15:30:10 UTC 2018
pkgbase = mingw-w64-cmocka
pkgdesc = Elegant unit testing framework for C with support for mock objects (mingw-w64)
- pkgver = 1.1.1
+ pkgver = 1.1.2
pkgrel = 1
url = https://cmocka.org/
arch = any
@@ -14,14 +14,14 @@ pkgbase = mingw-w64-cmocka
options = !strip
options = !buildflags
options = staticlibs
- source = https://cmocka.org/files/1.1/cmocka-1.1.1.tar.xz
- source = https://cmocka.org/files/1.1/cmocka-1.1.1.tar.asc
+ source = https://cmocka.org/files/1.1/cmocka-1.1.2.tar.xz
+ source = https://cmocka.org/files/1.1/cmocka-1.1.2.tar.xz.asc
source = exesuffix.patch
source = crosscompilingemulator.patch
- sha512sums = 801c4a3e1bb9047241b1cb5a90c1cbdee1b0aff5e3d0a84ec8b2dbaee79274618c24fbe5e9fedbf0b3ee18c6c98b55d93e135d037ac33ab872edc7665af41577
+ sha512sums = 84435c97a4002c111672f8e18a9270a61de18343de19587ba59436617e57997050a63aac2242a79ec892474e824ca382f78af3e74dc1919cc50e04fd88d5e8f4
sha512sums = SKIP
- sha512sums = e68abf7947850d6ecc5b561f125fa39610e6b144568db92b0e5152a7481855e99674ce8d2dd320bd5fc572b397fbf1038f1325217051bf38dc3439d8e68a9b4e
- sha512sums = 7f190c25cd69334eec0ebb8529574ab4582532ac22ad0fb0749f8f62042d43e6201be40176526dfe844522bb4b77552f16b4c0cd3c8bf9805330d6fbae07494c
+ sha512sums = 3fad0674a428311fbb3a3d0809ec385ac788d3ce539f41da671b6db8b7db188866248cf6a57c8d4ab441d930171dd5cb4790d36cde4917da62b3ed0816067a69
+ sha512sums = 152d4bef0cc0ae08ec0c3163a5ec12742e237c4d3aa50c2bdcabfa37cea2d689a858bc38558b97679622d7b9e4a87773d6362db01fd15e6f9873ab5cf8686162
pkgname = mingw-w64-cmocka
diff --git a/PKGBUILD b/PKGBUILD
index d93d893a53a1..7d3c25b909c4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
# Contributor: Anatol Pomozov <anatol.pomozov@gmail.com>
pkgname=mingw-w64-cmocka
-pkgver=1.1.1
+pkgver=1.1.2
pkgrel=1
pkgdesc='Elegant unit testing framework for C with support for mock objects (mingw-w64)'
url='https://cmocka.org/'
@@ -12,13 +12,13 @@ license=('Apache')
depends=('mingw-w64-crt')
makedepends=('mingw-w64-gcc' 'mingw-w64-cmake' 'mingw-w64-wine')
options=(!strip !buildflags staticlibs)
-source=(https://cmocka.org/files/1.1/cmocka-${pkgver}.tar.{xz,asc}
+source=(https://cmocka.org/files/1.1/cmocka-${pkgver}.tar.xz{,.asc}
exesuffix.patch
crosscompilingemulator.patch)
-sha512sums=('801c4a3e1bb9047241b1cb5a90c1cbdee1b0aff5e3d0a84ec8b2dbaee79274618c24fbe5e9fedbf0b3ee18c6c98b55d93e135d037ac33ab872edc7665af41577'
+sha512sums=('84435c97a4002c111672f8e18a9270a61de18343de19587ba59436617e57997050a63aac2242a79ec892474e824ca382f78af3e74dc1919cc50e04fd88d5e8f4'
'SKIP'
- 'e68abf7947850d6ecc5b561f125fa39610e6b144568db92b0e5152a7481855e99674ce8d2dd320bd5fc572b397fbf1038f1325217051bf38dc3439d8e68a9b4e'
- '7f190c25cd69334eec0ebb8529574ab4582532ac22ad0fb0749f8f62042d43e6201be40176526dfe844522bb4b77552f16b4c0cd3c8bf9805330d6fbae07494c')
+ '3fad0674a428311fbb3a3d0809ec385ac788d3ce539f41da671b6db8b7db188866248cf6a57c8d4ab441d930171dd5cb4790d36cde4917da62b3ed0816067a69'
+ '152d4bef0cc0ae08ec0c3163a5ec12742e237c4d3aa50c2bdcabfa37cea2d689a858bc38558b97679622d7b9e4a87773d6362db01fd15e6f9873ab5cf8686162')
validpgpkeys=('8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D') # Andreas Schneider <asn@cryptomilk.org>
_architectures="i686-w64-mingw32 x86_64-w64-mingw32"
diff --git a/crosscompilingemulator.patch b/crosscompilingemulator.patch
index b572352ca44d..6c54b8416a9e 100644
--- a/crosscompilingemulator.patch
+++ b/crosscompilingemulator.patch
@@ -20,6 +20,15 @@ diff -ruN cmocka-1.1.1/example/chef_wrap/CMakeLists.txt patched/example/chef_wra
set_target_properties(waiter_test_wrap
PROPERTIES
+diff -ruN cmocka-1.1.2/example/uptime/CMakeLists.txt patched/example/uptime/CMakeLists.txt
+--- cmocka-1.1.2/example/uptime/CMakeLists.txt 2018-09-22 16:36:31.587036313 +0200
++++ patched/example/uptime/CMakeLists.txt 2018-09-22 16:36:23.656881286 +0200
+@@ -18,4 +18,4 @@
+ PROPERTIES
+ LINK_FLAGS "-Wl,--wrap=uptime")
+
+-add_test(test_uptime ${CMAKE_CURRENT_BINARY_DIR}/test_uptime${CMAKE_EXECUTABLE_SUFFIX})
++add_test(test_uptime ${CMAKE_CROSSCOMPILING_EMULATOR} ${CMAKE_CURRENT_BINARY_DIR}/test_uptime${CMAKE_EXECUTABLE_SUFFIX})
diff -ruN cmocka-1.1.1/example/CMakeLists.txt patched/example/CMakeLists.txt
--- cmocka-1.1.1/example/CMakeLists.txt 2018-08-25 22:13:02.393732017 +0200
+++ patched/example/CMakeLists.txt 2018-08-25 22:14:20.245142615 +0200
diff --git a/exesuffix.patch b/exesuffix.patch
index d2114d0943da..657b5aae1125 100644
--- a/exesuffix.patch
+++ b/exesuffix.patch
@@ -20,6 +20,15 @@ diff -ruN cmocka-1.1.1/example/chef_wrap/CMakeLists.txt patched/example/chef_wra
set_target_properties(waiter_test_wrap
PROPERTIES
+diff -ruN cmocka-1.1.2/example/uptime/CMakeLists.txt patched/example/uptime/CMakeLists.txt
+--- cmocka-1.1.2/example/uptime/CMakeLists.txt 2018-08-22 13:02:28.000000000 +0200
++++ patched/example/uptime/CMakeLists.txt 2018-09-22 16:33:47.693794439 +0200
+@@ -18,4 +18,4 @@
+ PROPERTIES
+ LINK_FLAGS "-Wl,--wrap=uptime")
+
+-add_test(test_uptime ${CMAKE_CURRENT_BINARY_DIR}/test_uptime)
++add_test(test_uptime ${CMAKE_CURRENT_BINARY_DIR}/test_uptime${CMAKE_EXECUTABLE_SUFFIX})
diff -ruN cmocka-1.1.1/example/CMakeLists.txt patched/example/CMakeLists.txt
--- cmocka-1.1.1/example/CMakeLists.txt 2016-09-21 15:31:28.000000000 +0200
+++ patched/example/CMakeLists.txt 2018-08-25 20:04:44.554913232 +0200