summaryrefslogtreecommitdiffstats
path: root/extra/mysql/mysql-5.1-gcc45-apicheck.patch
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-05-01 16:38:59 +0200
committertnut <thierryn1 at hispeed dot ch>2010-05-01 16:38:59 +0200
commit484880add8dae9ada76769e0b16b9bca6c8b37b3 (patch)
tree4c0940cfdea596c1c1c797e3a753e065558aadee /extra/mysql/mysql-5.1-gcc45-apicheck.patch
parent067c82d499d5bae2258698de65eeb3565664f516 (diff)
downloadnutyx-pakxe-484880add8dae9ada76769e0b16b9bca6c8b37b3.tar.gz
nutyx-pakxe-484880add8dae9ada76769e0b16b9bca6c8b37b3.tar.bz2
nutyx-pakxe-484880add8dae9ada76769e0b16b9bca6c8b37b3.tar.xz
nutyx-pakxe-484880add8dae9ada76769e0b16b9bca6c8b37b3.zip
mysql dans extra
Diffstat (limited to 'extra/mysql/mysql-5.1-gcc45-apicheck.patch')
-rw-r--r--extra/mysql/mysql-5.1-gcc45-apicheck.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/extra/mysql/mysql-5.1-gcc45-apicheck.patch b/extra/mysql/mysql-5.1-gcc45-apicheck.patch
new file mode 100644
index 000000000..46125c73e
--- /dev/null
+++ b/extra/mysql/mysql-5.1-gcc45-apicheck.patch
@@ -0,0 +1,28 @@
+--- mysql-5.1.45/Makefile.am.orig 2010-03-31 10:52:25.000000000 -0400
++++ mysql-5.1.45/Makefile.am 2010-03-31 10:55:05.000000000 -0400
+@@ -312,24 +312,7 @@
+ $(MAKE) abi_headers="$^" do_abi_check
+
+ do_abi_check:
+- set -ex; \
+- for file in $(abi_headers); do \
+- @CC@ -E -nostdinc -dI \
+- -I$(top_srcdir)/include \
+- -I$(top_srcdir)/include/mysql \
+- -I$(top_srcdir)/sql \
+- -I$(top_builddir)/include \
+- -I$(top_builddir)/include/mysql \
+- -I$(top_builddir)/sql \
+- $$file 2>/dev/null | \
+- @SED@ -e '/^# /d' \
+- -e '/^[ ]*$$/d' \
+- -e '/^#pragma GCC set_debug_pwd/d' \
+- -e '/^#ident/d' > \
+- $(top_builddir)/abi_check.out; \
+- @DIFF@ -w $$file.pp $(top_builddir)/abi_check.out; \
+- @RM@ $(top_builddir)/abi_check.out; \
+- done
++ echo "Skipping do_abi_check"
+
+ # Don't update the files from bitkeeper
+ %::SCCS/s.%