From 2ccf222515fb1f0565b1d4e7f0339f56fc3833d5 Mon Sep 17 00:00:00 2001 From: shtayerc Date: Sat, 17 Apr 2021 09:01:49 +0200 Subject: [PATCH] bitwise: update to 0.42 --- .../bitwise/patches/tests-use-bcunit.patch | 24 +++++++++++++++++++ srcpkgs/bitwise/template | 5 ++-- 2 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/bitwise/patches/tests-use-bcunit.patch diff --git a/srcpkgs/bitwise/patches/tests-use-bcunit.patch b/srcpkgs/bitwise/patches/tests-use-bcunit.patch new file mode 100644 index 000000000000..154d098e7d6e --- /dev/null +++ b/srcpkgs/bitwise/patches/tests-use-bcunit.patch @@ -0,0 +1,24 @@ +diff '--color=auto' -ruN bitwise-v0.42/Makefile.in bitwise-v0.42_new/Makefile.in +--- Makefile.in 2021-04-16 17:21:30.000000000 +0200 ++++ Makefile.in 2021-04-17 09:36:46.661320033 +0200 +@@ -518,7 +518,7 @@ + src/misc.c \ + tests/test-shunting-yard.c + +-tests_test_shunting_yard_LDADD = -lcunit ++tests_test_shunting_yard_LDADD = -lbcunit + TESTS = $(check_PROGRAMS) + all: all-am + +diff '--color=auto' -ruN bitwise-v0.42/tests/test-shunting-yard.c bitwise-v0.42_new/tests/test-shunting-yard.c +--- tests/test-shunting-yard.c 2021-04-16 17:17:19.000000000 +0200 ++++ tests/test-shunting-yard.c 2021-04-17 09:36:46.660320033 +0200 +@@ -7,7 +7,7 @@ + + #include "../inc/shunting-yard.h" + +-#include ++#include + #include + + #define ASSERT_RESULT(expression, expected) \ diff --git a/srcpkgs/bitwise/template b/srcpkgs/bitwise/template index e1a3765d41b0..16b8b2a23fe4 100644 --- a/srcpkgs/bitwise/template +++ b/srcpkgs/bitwise/template @@ -1,13 +1,14 @@ # Template file for 'bitwise' pkgname=bitwise -version=0.41 +version=0.42 revision=1 wrksrc="${pkgname}-v${version}" build_style=gnu-configure makedepends="ncurses-devel readline-devel" +checkdepends="bcunit-devel" short_desc="Terminal based bit manipulator in ncurses" maintainer="shtayerc " license="GPL-3.0-only" homepage="https://github.com/mellowcandle/bitwise" distfiles="${homepage}/releases/download/v${version}/bitwise-v${version}.tar.gz" -checksum=33ce934fb99dadf7652224152cc135a0abf6a211adde53d96e9be7067567749c +checksum=d3d43cef47bf8f49e85f7ed381c3eaf1df921ca51805e0962f1a97a517e1d1d2