[Rawstudio-dev] [PATCH] add explicit dependency from libX11
Gianluca Sforna
giallu at gmail.com
Sat Feb 13 22:54:37 CET 2010
In (yet to be released) Fedora 13 there is a change to ld behaviour so
that it no longer satisfy automatically link requirements (more
details in [1]) so a rebuild of 1.2 fails [2] because of the XFlush
call in gtk-interface.h which is not matched by a -lX11 option on the
link command.
For this reason, please consider applying the trivial patch:
Index: configure.in
===================================================================
--- configure.in (revision 3218)
+++ configure.in (working copy)
@@ -83,7 +83,7 @@
fi
AC_SUBST(LIBTIFF)
-pkg_modules="gtk+-2.0 >= 2.8.0 libxml-2.0 >= 2.4 gconf-2.0 >= 2.0
lcms dbus-1 exiv2 fftw3f lensfun libcurl flickcurl sqlite3"
+pkg_modules="gtk+-2.0 >= 2.8.0 x11 libxml-2.0 >= 2.4 gconf-2.0 >= 2.0
lcms dbus-1 exiv2 fftw3f lensfun libcurl flickcurl sqlite3"
PKG_CHECK_MODULES(PACKAGE, [$pkg_modules])
AC_SUBST(PACKAGE_CFLAGS)
AC_SUBST(PACKAGE_LIBS)
Cheers
G.
[1] http://fedoraproject.org/wiki/Features/ChangeInImplicitDSOLinking
[2] https://bugzilla.redhat.com/attachment.cgi?id=390880
--
Gianluca Sforna
http://morefedora.blogspot.com
http://www.linkedin.com/in/gianlucasforna
More information about the Rawstudio-dev
mailing list