contribs: luac: Fix cross compilation for win32
[vlc.git] / contrib / src / gcrypt / disable-doc-compilation.patch
blob7113a3187482d87f6800a4e949c52761dba1545c
1 diff -ru libgcrypt/Makefile.am libgcrypt/Makefile.am
2 --- libgcrypt/Makefile.am 2014-08-18 08:46:51.000000000 +0200
3 +++ libgcrypt/Makefile.am 2014-12-07 19:54:02.000000000 +0100
4 @@ -25,11 +25,11 @@
5 # (A suitable gitlog-to-changelog script can be found in GnuPG master.)
6 GITLOG_TO_CHANGELOG=gitlog-to-changelog
8 -DIST_SUBDIRS = m4 compat mpi cipher random src doc tests
9 -SUBDIRS = compat mpi cipher random src doc tests
10 +DIST_SUBDIRS = m4 compat mpi cipher random src tests
11 +SUBDIRS = compat mpi cipher random src tests
13 EXTRA_DIST = autogen.sh autogen.rc README.GIT LICENSES \
14 - ChangeLog-2011 build-aux/ChangeLog-2011 doc/ChangeLog-2011 \
15 + ChangeLog-2011 build-aux/ChangeLog-2011 \
16 m4/ChangeLog-2011 cipher/ChangeLog-2011 src/ChangeLog-2011 \
17 random/ChangeLog-2011 tests/ChangeLog-2011 mpi/ChangeLog-2011 \
18 build-aux/git-log-footer build-aux/git-log-fix
19 Only in libgcrypt: Makefile.am.orig
20 Only in libgcrypt: Makefile.am.rej
21 diff -ru libgcrypt-raw/configure.ac libgcrypt/configure.ac
22 --- libgcrypt-raw/configure.ac 2014-12-07 19:51:54.000000000 +0100
23 +++ libgcrypt/configure.ac 2014-12-07 19:52:48.000000000 +0100
24 @@ -2043,7 +2043,6 @@
25 mpi/Makefile
26 cipher/Makefile
27 random/Makefile
28 -doc/Makefile
29 src/Makefile
30 src/gcrypt.h
31 src/libgcrypt-config
32 diff -ru libgcrypt-raw/configure.ac.orig libgcrypt/configure.ac.orig
33 --- libgcrypt-raw/configure.ac.orig 2014-12-07 19:51:54.000000000 +0100
34 +++ libgcrypt/configure.ac.orig 2014-12-07 19:52:37.000000000 +0100
35 @@ -1219,7 +1219,7 @@
36 AC_COMPILE_IFELSE([AC_LANG_SOURCE(
37 [[__asm__("xorl \$(123456789/12345678), %ebp;\n\t");]])],
38 [gcry_cv_gcc_as_const_division_with_wadivide_ok=yes])])
39 - if test "$gcry_cv_gcc_as_const_division_ok_with_wadivide_ok" = "no" ; then
40 + if test "$gcry_cv_gcc_as_const_division_with_wadivide_ok" = "no" ; then
41 # '-Wa,--divide' did not work, restore old flags.
42 CPPFLAGS="$_gcc_cppflags_save"