void-packages/srcpkgs/bitwise/patches/tests-use-bcunit.patch

25 lines
853 B
Diff

diff '--color=auto' -ruN bitwise-v0.42/Makefile.in bitwise-v0.42_new/Makefile.in
--- a/Makefile.in 2021-04-16 17:21:30.000000000 +0200
+++ b/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
--- a/tests/test-shunting-yard.c 2021-04-16 17:17:19.000000000 +0200
+++ b/tests/test-shunting-yard.c 2021-04-17 09:36:46.660320033 +0200
@@ -7,7 +7,7 @@
#include "../inc/shunting-yard.h"
-#include <CUnit/Basic.h>
+#include <BCUnit/Basic.h>
#include <stdlib.h>
#define ASSERT_RESULT(expression, expected) \