SOURCES: libannodex-no-ltdl.patch (NEW) - don't link with libltdl, ...

qboosh qboosh at pld-linux.org
Sat Nov 18 00:42:09 CET 2006


Author: qboosh                       Date: Fri Nov 17 23:42:09 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- don't link with libltdl, it's used on MacOS only; link just with -ldl instead

---- Files affected:
SOURCES:
   libannodex-no-ltdl.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/libannodex-no-ltdl.patch
diff -u /dev/null SOURCES/libannodex-no-ltdl.patch:1.1
--- /dev/null	Sat Nov 18 00:42:09 2006
+++ SOURCES/libannodex-no-ltdl.patch	Sat Nov 18 00:42:04 2006
@@ -0,0 +1,47 @@
+--- libannodex-0.7.3/src/libannodex/Makefile.am.orig	2005-09-19 06:50:33.000000000 +0200
++++ libannodex-0.7.3/src/libannodex/Makefile.am	2006-11-18 00:23:55.603003000 +0100
+@@ -8,8 +8,8 @@
+ 
+ if ANX_CONFIG_WRITE
+ anx_write_sources = fix_dl.c fix_dl.h
+-anx_write_includes = $(INCLTDL)
+-anx_write_libs = $(LIBLTDL)
++anx_write_includes =
++anx_write_libs = -ldl
+ endif
+ 
+ INCLUDES = $(anx_write_includes) -I$(top_srcdir)/include @OGGZ_CFLAGS@
+--- libannodex-0.7.3/configure.ac.orig	2006-02-07 03:34:28.000000000 +0100
++++ libannodex-0.7.3/configure.ac	2006-11-18 00:23:13.324360750 +0100
+@@ -12,10 +12,6 @@
+ SHARED_VERSION_INFO="4:0:4"
+ SHLIB_VERSION_ARG=""
+ 
+-# Setup libltdl -- this must come before AC_PROG_LIBTOOL
+-AC_LIBLTDL_CONVENIENCE
+-AC_SUBST(INCLTDL)
+-AC_SUBST(LIBLTDL)
+ AC_LIBTOOL_DLOPEN
+ 
+ # Checks for programs.
+@@ -172,9 +168,6 @@
+ AC_SUBST(SIZE64)
+ 
+ 
+-# Configures libltdl
+-AC_CONFIG_SUBDIRS(libltdl)
+-
+ dnl
+ dnl  Detect oggz
+ dnl
+--- libannodex-0.7.3/Makefile.am.orig	2005-09-19 06:50:35.000000000 +0200
++++ libannodex-0.7.3/Makefile.am	2006-11-18 00:23:29.165350750 +0100
+@@ -1,7 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+ 
+ if ANX_CONFIG_WRITE
+-SUBDIRS = doc libltdl include src
++SUBDIRS = doc include src
+ else
+ SUBDIRS = doc include src
+ endif
================================================================


More information about the pld-cvs-commit mailing list