From: | "Andreas HAttel (dilfridge)" <dilfridge@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-print/cups-filters/files: cups-filters-1.0.19-libdl.patch |
Date: | Fri, 27 Jul 2012 18:23:58 |
Message-Id: | 20120727182344.19C272004C@flycatcher.gentoo.org |
1 | dilfridge 12/07/27 18:23:44 |
2 | |
3 | Added: cups-filters-1.0.19-libdl.patch |
4 | Log: |
5 | Replace libdl hack with a proper patch |
6 | |
7 | (Portage version: 2.2.0_alpha120/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 net-print/cups-filters/files/cups-filters-1.0.19-libdl.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/cups-filters/files/cups-filters-1.0.19-libdl.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/cups-filters/files/cups-filters-1.0.19-libdl.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: cups-filters-1.0.19-libdl.patch |
16 | =================================================================== |
17 | diff -ruN cups-filters-1.0.19.vanilla/Makefile.am cups-filters-1.0.19.orig/Makefile.am |
18 | --- cups-filters-1.0.19.vanilla/Makefile.am 2012-06-22 18:11:48.000000000 +0200 |
19 | +++ cups-filters-1.0.19.orig/Makefile.am 2012-07-27 20:21:06.630910203 +0200 |
20 | @@ -329,7 +329,8 @@ |
21 | $(FREETYPE_LIBS) \ |
22 | $(FONTCONFIG_LIBS) \ |
23 | $(LIBPNG_LIBS) \ |
24 | - $(POPPLER_LIBS) |
25 | + $(POPPLER_LIBS) \ |
26 | + $(LIBDL_LIBS) |
27 | |
28 | EXTRA_DIST += $(pkgfontconfig_DATA) |
29 | # ========== |
30 | diff -ruN cups-filters-1.0.19.vanilla/configure.ac cups-filters-1.0.19.orig/configure.ac |
31 | --- cups-filters-1.0.19.vanilla/configure.ac 2012-07-27 20:06:16.697927916 +0200 |
32 | +++ cups-filters-1.0.19.orig/configure.ac 2012-07-27 20:20:38.368910216 +0200 |
33 | @@ -127,6 +127,17 @@ |
34 | AC_CHECK_HEADERS([unistd.h]) |
35 | AC_CHECK_HEADERS([zlib.h]) |
36 | |
37 | + |
38 | +# ======================== |
39 | +# Check for libdl |
40 | +# ======================== |
41 | +AC_CHECK_LIB(dl,dlopen) |
42 | +if test x$ac_cv_lib_dl_dlopen != xno; then |
43 | + LIBDL_LIBS=" -ldl" |
44 | +else |
45 | + LIBDL_LIBS="" |
46 | +fi |
47 | + |
48 | # ============= |
49 | # Image options |
50 | # ============= |