Gentoo Archives: gentoo-commits

From: "Jesus Rivero (neurogeek)" <neurogeek@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-emulation/fuse-utils/files: fuse-utils-1.0.0-libgcrypt.patch
Date: Mon, 02 May 2011 20:05:50
Message-Id: 20110502200535.F028E2005C@flycatcher.gentoo.org
1 neurogeek 11/05/02 20:05:35
2
3 Added: fuse-utils-1.0.0-libgcrypt.patch
4 Log:
5 Version bump. WRT bug #351726
6
7 (Portage version: 2.2.0_alpha29/cvs/Linux i686)
8
9 Revision Changes Path
10 1.1 app-emulation/fuse-utils/files/fuse-utils-1.0.0-libgcrypt.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/fuse-utils/files/fuse-utils-1.0.0-libgcrypt.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/fuse-utils/files/fuse-utils-1.0.0-libgcrypt.patch?rev=1.1&content-type=text/plain
14
15 Index: fuse-utils-1.0.0-libgcrypt.patch
16 ===================================================================
17 --- configure.in 2010-12-16 21:47:12.000000000 +0000
18 +++ configure.in 2011-02-03 19:13:29.000000000 +0000
19 @@ -48,12 +48,16 @@
20 LDFLAGS="$LDFLAGS -L$prefix/lib"
21 fi)
22
23 -dnl Check that libgcrypt is available
24 -AC_CHECK_LIB(gcrypt,gcry_check_version,
25 - AC_DEFINE([HAVE_LIBGCRYPT], 1, [Defined if we've got libgcrypt])
26 - GCRYPT_LIBS="$LIBS -lgcrypt"
27 - gcrypt=yes
28 -)
29 +dnl Check whether to use libgcrypt
30 +AC_MSG_CHECKING(whether to use libgcrypt)
31 +AC_ARG_WITH(libgcrypt,
32 +[ --without-libgcrypt don't use libgcrypt],
33 +if test "$withval" = no; then libgcrypt=no; else libgcrypt=yes; fi,
34 +libgcrypt=yes)
35 +AC_MSG_RESULT($libgcrypt)
36 +if test "$libgcrypt" = yes; then
37 + AC_CHECK_HEADERS(gcrypt.h,LIBS="$LIBS -lgcrypt")
38 +fi
39 AC_SUBST(GCRYPT_LIBS)
40 AM_CONDITIONAL(BUILD_RZXCHECK, test "$gcrypt" = yes)
41
42 --- audio2tape.h 2010-12-16 21:47:12.000000000 +0000
43 +++ audio2tape.h 2011-02-03 19:13:02.000000000 +0000
44 @@ -26,6 +26,8 @@
45 #ifndef AUDIO2TAPE_H
46 #define AUDIO2TAPE_H
47
48 +#include <string.h>
49 +
50 class audio2tape_exception : public std::exception
51 {
52 public: