]> git.sesse.net Git - vlc/commitdiff
Contrib: attempt to fix gcrypt on mingw32.
authorPavlov Konstantin <thresh@altlinux.ru>
Thu, 3 Apr 2008 16:32:13 +0000 (20:32 +0400)
committerPavlov Konstantin <thresh@altlinux.ru>
Thu, 3 Apr 2008 16:32:13 +0000 (20:32 +0400)
Added Patches/gcrypt-win32-use-automake19.patch.

extras/contrib/src/Makefile
extras/contrib/src/Patches/gcrypt-win32-use-automake19.patch [new file with mode: 0644]

index aa21b2e7245ad5ec738b29e21c6789412045ba08..96d303179236d92583018b064d78a2ef871238f7 100644 (file)
@@ -1829,6 +1829,9 @@ libgcrypt-$(GCRYPT_VERSION).tar.bz2:
 libgcrypt: libgcrypt-$(GCRYPT_VERSION).tar.bz2
        $(EXTRACT_BZ2)
        patch -p0 < Patches/gcrypt.patch
+ifdef HAVE_WIN32
+       patch -p0 < Patches/gcrypt-win32-use-automake19.patch
+endif
 
 CIPHDIG= --enable-ciphers=aes,des,rfc2268,arcfour --enable-digests=sha1,md5,rmd160 --enable-publickey-digests=dsa 
 
diff --git a/extras/contrib/src/Patches/gcrypt-win32-use-automake19.patch b/extras/contrib/src/Patches/gcrypt-win32-use-automake19.patch
new file mode 100644 (file)
index 0000000..08ff5b3
--- /dev/null
@@ -0,0 +1,12 @@
+--- libgcrypt/configure.ac  2007-12-10 12:04:29 +0300
++++ libgcrypt.p/configure.ac    2008-04-03 20:23:22 +0400
+@@ -21,7 +21,7 @@
+ # (Process this file with autoconf to produce a configure script.)
+ AC_REVISION($Revision: 1277 $)
+ AC_PREREQ(2.60)
+-min_automake_version="1.10"
++min_automake_version="1.9"
+
+
+ # Remember to change the version number immediately *after* a release.
+