summaryrefslogtreecommitdiff
path: root/libxmlsec
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-08-29 22:59:22 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-08-29 22:59:22 +0200
commit7947da50b3457b7ca10d75db85e3317eaed032d1 (patch)
tree4b2b581602fcf23641f0edf26c9d2e14a6c7e50a /libxmlsec
parent030df631a8830d7c3225c22d5e36c0ef88577b24 (diff)
Work around autoreconf de-ANSI-fication support error
Change-Id: I990167289fe39bbfdb3b40abf8fc522dabb7cc20
Diffstat (limited to 'libxmlsec')
-rw-r--r--libxmlsec/makefile.mk6
-rw-r--r--libxmlsec/xmlsec1-1.2.14-ansi.patch13
2 files changed, 18 insertions, 1 deletions
diff --git a/libxmlsec/makefile.mk b/libxmlsec/makefile.mk
index 22d280b7e1b1..1e6808592cbf 100644
--- a/libxmlsec/makefile.mk
+++ b/libxmlsec/makefile.mk
@@ -57,6 +57,9 @@ TARFILE_MD5=1f24ab1d39f4a51faf22244c94a6203f
#xmlsec1-mingw32.patch: Mingw32 support.
#xmlsec1-mingw-customkeymanage-addmscrypto.patch: builds the custom keymanager on mingw
#xmlsec1-vc.path: support for Visual C++ 10
+#xmlsec1-1.2.14-ansi.patch: otherwise, at least MacPorts autoreconf (GNU
+# Autoconf) 2.69 fails with "configure.in:50: error: automatic de-ANSI-fication
+# support has been removed"
PATCH_FILES=\
xmlsec1-configure.patch \
xmlsec1-configure-libxml-libxslt.patch \
@@ -69,7 +72,8 @@ PATCH_FILES=\
xmlsec1-mingw-keymgr-mscrypto.patch \
xmlsec1-vc10.patch \
xmlsec1-1.2.14_fix_extern_c.patch \
- xmlsec1-android.patch
+ xmlsec1-android.patch \
+ xmlsec1-1.2.14-ansi.patch
ADDITIONAL_FILES= \
include$/xmlsec$/mscrypto$/akmngr.h \
diff --git a/libxmlsec/xmlsec1-1.2.14-ansi.patch b/libxmlsec/xmlsec1-1.2.14-ansi.patch
new file mode 100644
index 000000000000..24a9584c9023
--- /dev/null
+++ b/libxmlsec/xmlsec1-1.2.14-ansi.patch
@@ -0,0 +1,13 @@
+--- misc/xmlsec1-1.2.14/configure.in 2012-08-29 22:44:51.000000000 +0200
++++ misc/build/xmlsec1-1.2.14/configure.in 2012-08-29 22:46:23.000000000 +0200
+@@ -46,10 +46,6 @@
+ AC_PATH_PROG(HELP2MAN, help2man)
+ AC_PATH_PROG(MAN2HTML, man2html)
+
+-dnl Make sure we have an ANSI compiler
+-AM_C_PROTOTYPES
+-test "z$U" != "z" && AC_MSG_ERROR(Compiler not ANSI compliant)
+-
+ dnl Checks for header files.
+ AC_HEADER_DIRENT
+ AC_HEADER_STDC