summaryrefslogtreecommitdiffstats
path: root/debian/patches/debian/0001-cc-builtins.patch
diff options
context:
space:
mode:
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