summaryrefslogtreecommitdiffstats
path: root/debian/patches/debian/0001-cc-builtins.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2021-08-27 02:25:35 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2021-08-27 02:32:49 +0000
commit45b68b5e89e82c8237a5b028f7c1596a905f95fe (patch)
treee5d074f2da0bd432f31e1dfb4bffe8100ac90075 /debian/patches/debian/0001-cc-builtins.patch
parentUpdating to standards version 4.6.0. (diff)
downloadck-45b68b5e89e82c8237a5b028f7c1596a905f95fe.tar.xz
ck-45b68b5e89e82c8237a5b028f7c1596a905f95fe.zip
Fixing baseline violations on armel and i386, thanks to Adrian Bunk <bunk@debian.org> (Closes: #993010).
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/debian/0001-cc-builtins.patch')
-rw-r--r--debian/patches/debian/0001-cc-builtins.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/patches/debian/0001-cc-builtins.patch b/debian/patches/debian/0001-cc-builtins.patch
new file mode 100644
index 0000000..0d0cafc
--- /dev/null
+++ b/debian/patches/debian/0001-cc-builtins.patch
@@ -0,0 +1,17 @@
+Author: Adrian Bunk <bunk@debian.org>
+Description: Fix USE_CC_BUILTINS.
+
+diff -Naurp ck.orig/configure ck/configure
+--- ck.orig/configure
++++ ck/configure
+@@ -551,8 +551,8 @@ else
+ fi
+
+ if test "$USE_CC_BUILTINS"; then
+- CFLAGS="$CFLAGS -DCK_CC_BUILTINS"
+- PC_CFLAGS="-DCK_CC_BULITINS"
++ CFLAGS="$CFLAGS -DCK_USE_CC_BUILTINS=1"
++ PC_CFLAGS="-DCK_USE_CC_BUILTINS=1"
+ fi
+
+ # `which` on Solaris sucks