diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-print/foomatic-db-engine/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-print/foomatic-db-engine/files')
3 files changed, 63 insertions, 0 deletions
diff --git a/net-print/foomatic-db-engine/files/4.0.12-use-pkgconfig.patch b/net-print/foomatic-db-engine/files/4.0.12-use-pkgconfig.patch new file mode 100644 index 000000000000..146932200197 --- /dev/null +++ b/net-print/foomatic-db-engine/files/4.0.12-use-pkgconfig.patch @@ -0,0 +1,35 @@ +https://bugs.linuxfoundation.org/show_bug.cgi?id=1339 + +From: Brian Norris <computersforpeace@gmail.com> +Date: Fri, 15 Jan 2016 11:12:03 -0800 +Subject: [PATCH] configure.ac: use pkg-config instead of xml2-config + +The former is much more standard, and libxml2 ships a .pc file. + +Leave libxml alone, since I haven't tested it, and it may not ship a .pc +file. +--- + configure.ac | 8 +------- + 1 file changed, 1 insertion(+), 7 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 1562ee61b9d5..0ed5323ff2e7 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -22,12 +22,7 @@ dnl LIBS="$LIBS" + # Test for libxml + # + xml_version= +-AC_PATH_PROG(XML2_CONFIG, xml2-config) +-if test ! -z "$XML2_CONFIG"; then +- xml_version=libxml2 +- XML_CFLAGS=`$XML2_CONFIG --cflags` +- XML_LIBS=`$XML2_CONFIG --libs` +-fi ++PKG_CHECK_MODULES(XML, libxml-2.0, [xml_version=libxml2]) + if test -z "$xml_version"; then + AC_PATH_PROG(XML_CONFIG, xml-config) + if test ! -z "$XML_CONFIG"; then +-- +2.1.2 + diff --git a/net-print/foomatic-db-engine/files/4.0.7-perl-module.patch b/net-print/foomatic-db-engine/files/4.0.7-perl-module.patch new file mode 100644 index 000000000000..dbb53feb2a87 --- /dev/null +++ b/net-print/foomatic-db-engine/files/4.0.7-perl-module.patch @@ -0,0 +1,13 @@ +diff --git a/Makefile.in b/Makefile.in +index 3014185..81e090d 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -42,7 +42,7 @@ LOCAL_LIBDIR=@LOCAL_LIBDIR@ + FOOMATIC_RIP=@FOOMATIC_RIP@ + + # foomatic-rip path for a "make inplace" installation +-LOCAL_FOOMATIC_RIP=@LOCAL_FOOMATIC_RIP@ ++LOCAL_FOOMATIC_RIP=@FOOMATIC_RIP@ + + # Locations for installing the components of this package + BINDIR=$(bindir) diff --git a/net-print/foomatic-db-engine/files/4.0.7-respect-ldflag.patch b/net-print/foomatic-db-engine/files/4.0.7-respect-ldflag.patch new file mode 100644 index 000000000000..9e6071276a4e --- /dev/null +++ b/net-print/foomatic-db-engine/files/4.0.7-respect-ldflag.patch @@ -0,0 +1,15 @@ +--- foomatic-db-engine-4.0.2/Makefile.in.orig 2009-07-23 11:45:28.487999828 +0200 ++++ foomatic-db-engine-4.0.2/Makefile.in 2009-07-23 11:45:53.939525006 +0200 +@@ -231,10 +231,10 @@ + ( cd lib && $(PERL) Makefile.PL verbose INSTALLDIRS=$(PERL_INSTALLDIRS) ) + + foomatic-combo-xml: foomatic-combo-xml.c +- $(CC) $(CFLAGS) -o foomatic-combo-xml foomatic-combo-xml.c ++ $(CC) $(CFLAGS) $(LDFLAGS) -o foomatic-combo-xml foomatic-combo-xml.c + + foomatic-perl-data: foomatic-perl-data.c +- $(CC) $(CFLAGS) $(XML_CFLAGS) -o foomatic-perl-data foomatic-perl-data.c $(XML_LIBS) ++ $(CC) $(CFLAGS) $(LDFLAGS) -o foomatic-perl-data foomatic-perl-data.c $(XML_CFLAGS) $(XML_LIBS) + + man: lib/Foomatic/Defaults.pm + chmod a+rx ./makeMan |