[vlc-commits] contrib: gcrypt: disable tests

Rafaël Carré git at videolan.org
Mon Jul 23 16:44:29 CEST 2012


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Mon Jul 23 16:43:58 2012 +0200| [5fc0ccda71e26870b077c6bc10952033f8abd16b] | committer: Rafaël Carré

contrib: gcrypt: disable tests

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5fc0ccda71e26870b077c6bc10952033f8abd16b
---

 contrib/src/gcrypt/notests.patch |   11 +++++++++++
 contrib/src/gcrypt/rules.mak     |    3 ++-
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/contrib/src/gcrypt/notests.patch b/contrib/src/gcrypt/notests.patch
new file mode 100644
index 0000000..823a558
--- /dev/null
+++ b/contrib/src/gcrypt/notests.patch
@@ -0,0 +1,11 @@
+--- libgcrypt/Makefile.am.orig	2012-07-23 16:41:58.927873202 +0200
++++ libgcrypt/Makefile.am	2012-07-23 16:42:05.723873200 +0200
+@@ -23,7 +23,7 @@
+   --enable-ciphers=arcfour:blowfish:cast5:des:aes:twofish:serpent:rfc2268:seed:camellia
+ 
+ DIST_SUBDIRS = m4 compat mpi cipher random src doc tests
+-SUBDIRS =         compat mpi cipher random src doc tests
++SUBDIRS =         compat mpi cipher random src doc
+ EXTRA_DIST = autogen.sh README.SVN
+ DISTCLEANFILES =
+ 
diff --git a/contrib/src/gcrypt/rules.mak b/contrib/src/gcrypt/rules.mak
index 4f9d227..f785351 100644
--- a/contrib/src/gcrypt/rules.mak
+++ b/contrib/src/gcrypt/rules.mak
@@ -11,6 +11,7 @@ $(TARBALLS)/libgcrypt-$(GCRYPT_VERSION).tar.bz2:
 
 libgcrypt: libgcrypt-$(GCRYPT_VERSION).tar.bz2 .sum-gcrypt
 	$(UNPACK)
+	$(APPLY) $(SRC)/gcrypt/notests.patch
 	$(MOVE)
 
 DEPS_gcrypt = gpg-error
@@ -27,7 +28,7 @@ CONFIGURE_OPTS += --disable-asm --disable-aesni-support
 endif
 endif
 .gcrypt: libgcrypt
-	#$(RECONF)
+	$(RECONF)
 	cd $< && $(HOSTVARS) ./configure $(HOSTCONF) --enable-ciphers=aes,des,rfc2268,arcfour --enable-digests=sha1,md5,rmd160,sha512 --enable-pubkey-ciphers=dsa,rsa,ecc $(CONFIGURE_OPTS)
 	cd $< && $(MAKE) install
 	touch $@



More information about the vlc-commits mailing list