public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-print/cups-filters/files: cups-filters-1.0.19-libdl.patch
@ 2012-07-27 18:23 Andreas HAttel (dilfridge)
  0 siblings, 0 replies; only message in thread
From: Andreas HAttel (dilfridge) @ 2012-07-27 18:23 UTC (permalink / raw
  To: gentoo-commits

dilfridge    12/07/27 18:23:44

  Added:                cups-filters-1.0.19-libdl.patch
  Log:
  Replace libdl hack with a proper patch
  
  (Portage version: 2.2.0_alpha120/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  net-print/cups-filters/files/cups-filters-1.0.19-libdl.patch

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
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

Index: cups-filters-1.0.19-libdl.patch
===================================================================
diff -ruN cups-filters-1.0.19.vanilla/Makefile.am cups-filters-1.0.19.orig/Makefile.am
--- cups-filters-1.0.19.vanilla/Makefile.am	2012-06-22 18:11:48.000000000 +0200
+++ cups-filters-1.0.19.orig/Makefile.am	2012-07-27 20:21:06.630910203 +0200
@@ -329,7 +329,8 @@
 	$(FREETYPE_LIBS) \
 	$(FONTCONFIG_LIBS) \
 	$(LIBPNG_LIBS) \
-	$(POPPLER_LIBS)
+	$(POPPLER_LIBS) \
+	$(LIBDL_LIBS)
 
 EXTRA_DIST += $(pkgfontconfig_DATA)
 # ==========
diff -ruN cups-filters-1.0.19.vanilla/configure.ac cups-filters-1.0.19.orig/configure.ac
--- cups-filters-1.0.19.vanilla/configure.ac	2012-07-27 20:06:16.697927916 +0200
+++ cups-filters-1.0.19.orig/configure.ac	2012-07-27 20:20:38.368910216 +0200
@@ -127,6 +127,17 @@
 AC_CHECK_HEADERS([unistd.h])
 AC_CHECK_HEADERS([zlib.h])
 
+
+# ========================
+# Check for libdl
+# ========================
+AC_CHECK_LIB(dl,dlopen)
+if test x$ac_cv_lib_dl_dlopen != xno; then
+  LIBDL_LIBS=" -ldl"
+else
+  LIBDL_LIBS=""
+fi
+
 # =============
 # Image options
 # =============





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-07-27 18:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-27 18:23 [gentoo-commits] gentoo-x86 commit in net-print/cups-filters/files: cups-filters-1.0.19-libdl.patch Andreas HAttel (dilfridge)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox