Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37777776
en ru br
ALT Linux repositórios
S:3.1.1-alt5
5.0: 2.7.11-alt1
4.1: 2.7.11-alt1
4.0: 2.7.11-alt0.M40.1

Group :: Gráficos
RPM: flam3

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: flam3-3.1.1-alt-002-libxml.patch
Download


Description: Fix FTBFS caused by xml2-config removal
Author: Peter Blackman <peter@pblackman.plus.com>
Bug-Debian: https://bugs.debian.org/949143
Last-Update: 2020-01-19
Index: b/configure.ac
===================================================================
--- a/configure.ac
+++ b/configure.ac
@@ -70,13 +70,11 @@
 if test "${enable_pthread}" = "yes" ; then
   AC_CHECK_LIB([pthread],[pthread_create],,[AC_MSG_WARN([Pthread library not found - threads disabled.])])
 fi
+
 AC_CHECK_LIB([jpeg],[jpeg_start_compress],,[AC_MSG_ERROR([The jpeg library is required.])])
-AC_PATH_PROG(XML2_CONFIG,xml2-config, no, $PATH:/bin:/usr/bin:/usr/local/bin)
 
-if test "$XML2_CONFIG" != "no"
-then
-   CPPFLAGS="`$XML2_CONFIG --cflags` $CPPFLAGS"
-fi
+PKG_CHECK_MODULES(XML, libxml-2.0)
+#CPPFLAGS+=" -I${includedir}/libxml2"
 
 AC_OUTPUT([
 Makefile
Index: b/Makefile.am
===================================================================
--- a/Makefile.am
+++ b/Makefile.am
@@ -35,3 +35,7 @@
 
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = flam3.pc
+
+CPPFLAGS += $(XML_CFLAGS)
+LDFLAGS += $(XML_LIBS)
+
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009