diff --git a/inkscape-0.42-GC-check.patch b/inkscape-0.42-GC-check.patch new file mode 100644 index 0000000..6edcd0e --- /dev/null +++ b/inkscape-0.42-GC-check.patch @@ -0,0 +1,30 @@ +diff -Nur inkscape-0.42-orig/configure inkscape-0.42/configure +--- inkscape-0.42-orig/configure 2005-07-25 07:25:35.000000000 +0200 ++++ inkscape-0.42/configure 2005-08-18 23:31:12.000000000 +0200 +@@ -22931,7 +22931,7 @@ + # desired function name. They're all in libgc. + # The "break" will exit from the top level + # AC_CHECK_HEADERS. +- gc_libs="" ++ gc_libs="-lpthread $lt_cv_dlopen_libs" + echo "$as_me:$LINENO: checking for GC_init in -lgc" >&5 + echo $ECHO_N "checking for GC_init in -lgc... $ECHO_C" >&6 + if test "${ac_cv_lib_gc_GC_init+set}" = set; then +@@ -23003,7 +23003,7 @@ + gc_ok=no + fi + +- gc_libs="-lpthread" ++ gc_libs="-lpthread $lt_cv_dlopen_libs" + echo "$as_me:$LINENO: checking for GC_malloc in -lgc" >&5 + echo $ECHO_N "checking for GC_malloc in -lgc... $ECHO_C" >&6 + if test "${ac_cv_lib_gc_GC_malloc+set}" = set; then +@@ -23075,7 +23075,7 @@ + gc_ok=no + fi + +- gc_libs="$lt_cv_dlopen_libs" ++ gc_libs="-lpthread $lt_cv_dlopen_libs" + echo "$as_me:$LINENO: checking for GC_realloc in -lgc" >&5 + echo $ECHO_N "checking for GC_realloc in -lgc... $ECHO_C" >&6 + if test "${ac_cv_lib_gc_GC_realloc+set}" = set; then diff --git a/inkscape.spec b/inkscape.spec index b8b6e73..d7ffa63 100644 --- a/inkscape.spec +++ b/inkscape.spec @@ -8,6 +8,7 @@ License: GPL URL: http://inkscape.sourceforge.net/ Source0: http://download.sourceforge.net/inkscape/inkscape-%{version}.tar.bz2 Patch0: inkscape-0.42-gettext-x86_64.patch +Patch1: inkscape-0.42-GC-check.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: atk-devel @@ -58,6 +59,7 @@ C and C++, using the Gtk+ toolkit and optionally some Gnome libraries. --disable-dependency-tracking \ --with-xinerama \ --enable-static=no \ +--enable-dlopen \ --with-python \ --with-inkjar #temporarily disabled until I can look into it further @@ -104,6 +106,7 @@ update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : %changelog * Thu Aug 18 2005 Michael Schwendt - 0.42-3 - rebuilt +- add patch to repair link-check of GC >= 6.5 (needs pthread and dl) * Fri Jul 29 2005 Michael Schwendt - 0.42-2 - Extend ngettext/dgettext patch for x86_64 build.