summaryrefslogtreecommitdiff
path: root/repo/schroot/schroot-cppunit.patch
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2023-05-17 17:02:25 +0000
committerdavidovski <david@davidovski.xyz>2023-05-17 17:03:10 +0000
commita5ee6fa1836ed3986be333d6c9b4eed8d639636b (patch)
treeea481e4c98374c67be4188e99c297c36402ad346 /repo/schroot/schroot-cppunit.patch
parent0d37a1ef234c38b27faba43bc3a22f985d311deb (diff)
Add schroot
Diffstat (limited to 'repo/schroot/schroot-cppunit.patch')
-rw-r--r--repo/schroot/schroot-cppunit.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/repo/schroot/schroot-cppunit.patch b/repo/schroot/schroot-cppunit.patch
new file mode 100644
index 0000000..3e11c73
--- /dev/null
+++ b/repo/schroot/schroot-cppunit.patch
@@ -0,0 +1,11 @@
+--- a/configure.ac 2017-05-20 09:50:30.146864516 +0000
++++ b/configure.ac 2017-05-20 09:51:26.216792794 +0000
+@@ -336,7 +336,7 @@
+ [HAVE_UUID=yes],
+ [HAVE_UUID=no])
+
+-AM_PATH_CPPUNIT([1.10.0], [HAVE_CPPUNIT=yes])
++PKG_CHECK_MODULES([CPPUNIT], [cppunit], [HAVE_CPPUNIT=yes], [HAVE_CPPUNIT=no])
+ AM_CONDITIONAL([USE_UNIT_TESTS], [test -n "$HAVE_CPPUNIT"])
+
+ SCHROOT_CFLAGS="$UUID_CFLAGS"