1 |
loki_val 08/06/29 22:56:44 |
2 |
|
3 |
Added: iscan-2.11.0-libltdl.patch |
4 |
Log: |
5 |
Fix libtool-2.2 breakage and do a full eautoreconf wrt bug #226315. |
6 |
(Portage version: 2.2_rc1/cvs/Linux 2.6.25.8 i686) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 media-gfx/iscan/files/iscan-2.11.0-libltdl.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/iscan/files/iscan-2.11.0-libltdl.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/iscan/files/iscan-2.11.0-libltdl.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: iscan-2.11.0-libltdl.patch |
15 |
=================================================================== |
16 |
--- configure.ac |
17 |
+++ configure.ac |
18 |
@@ -30,7 +30,10 @@ AC_SUBST(PACKAGE_RELEASE,1) dnl keep A |
19 |
|
20 |
AC_CONFIG_HEADER([config.h]) |
21 |
AC_CONFIG_SRCDIR([backend/epkowa.c]) |
22 |
+dnl Detect old libtool |
23 |
+m4_ifndef([LT_OUTPUT], [ |
24 |
AC_CONFIG_SUBDIRS([libltdl]) |
25 |
+]) |
26 |
|
27 |
AM_INIT_AUTOMAKE([gnu 1.7]) |
28 |
|
29 |
@@ -196,10 +199,10 @@ dnl The somewhat obscure LT_AC_PROG_SED |
30 |
dnl SED environment variable gets set before it's used by the libtool |
31 |
dnl machinery. This works around buggy libtool versions. |
32 |
LT_AC_PROG_SED |
33 |
-AC_LIB_LTDL |
34 |
AC_LIBLTDL_CONVENIENCE |
35 |
AC_LIBTOOL_DLOPEN |
36 |
AC_PROG_LIBTOOL |
37 |
+AC_LIB_LTDL |
38 |
AC_SUBST(LTDLINCL) |
39 |
AC_SUBST(LIBLTDL) |
40 |
|
41 |
--- lib/imgstream.cc |
42 |
+++ lib/imgstream.cc |
43 |
@@ -211,6 +211,17 @@ int selector (const dirent *); |
44 |
imgstream::dl_handle |
45 |
imgstream::find_dlopen (const char *libname) |
46 |
{ |
47 |
+// forward compatibility |
48 |
+#ifndef LTDL_SHLIB_EXT |
49 |
+#define LTDL_SHLIB_EXT LT_MODULE_EXT |
50 |
+#endif |
51 |
+#ifndef LTDL_SHLIBPATH_VAR |
52 |
+#define LTDL_SHLIBPATH_VAR LT_MODULE_PATH_VAR |
53 |
+#endif |
54 |
+#ifndef LTDL_SYSSEARCHPATH |
55 |
+#define LTDL_SYSSEARCHPATH LT_DLSEARCH_PATH |
56 |
+#endif |
57 |
+ |
58 |
using std::bad_alloc; |
59 |
|
60 |
dl_handle result = NULL; |
61 |
|
62 |
|
63 |
|
64 |
-- |
65 |
gentoo-commits@l.g.o mailing list |