public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-libs/fontconfig/files: fontconfig-2.5.0-libtool-2.2.patch
@ 2008-05-04 13:27 Peter Volkov (pva)
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Volkov (pva) @ 2008-05-04 13:27 UTC (permalink / raw
  To: gentoo-commits

pva         08/05/04 13:27:42

  Added:                fontconfig-2.5.0-libtool-2.2.patch
  Log:
  Fixed compilation with libtool-2.2, bug #213831, thank Alessandro Guido for report.
  (Portage version: 2.1.4.4)

Revision  Changes    Path
1.1                  media-libs/fontconfig/files/fontconfig-2.5.0-libtool-2.2.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/fontconfig/files/fontconfig-2.5.0-libtool-2.2.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/fontconfig/files/fontconfig-2.5.0-libtool-2.2.patch?rev=1.1&content-type=text/plain

Index: fontconfig-2.5.0-libtool-2.2.patch
===================================================================
From: Keith Packard <keithp@keithp.com>
Date: Sun, 4 May 2008 03:23:37 +0000 (-0700)
Subject: Deal with libtool 2.2 which doesn't let us use LT_ variables. (bug 15692)
X-Git-Tag: 2.5.92
X-Git-Url: http://gitweb.freedesktop.org/?p=fontconfig;a=commitdiff;h=19d124dc4f9a68e1c9ddce58bf79a5e11d2ccbfd

Deal with libtool 2.2 which doesn't let us use LT_ variables. (bug 15692)

Libtool-2.2 introduces new restrictions. So now it does not allow LT_*
variables as it includes marcros:

m4_pattern_forbid([^_?LT_[A-Z_]+$])

Rename the LT_ variables to LIBT_ to work around this restriction.
---

--- a/configure.in
+++ b/configure.in
@@ -41,17 +41,17 @@ dnl libtool versioning
 dnl bump revision when fixing bugs
 dnl bump current and age, reset revision to zero when adding APIs
 dnl bump current, leave age, reset revision to zero when changing/removing APIS
-LT_CURRENT=4
-LT_REVISION=0
-AC_SUBST(LT_CURRENT)
-AC_SUBST(LT_REVISION)
-LT_AGE=3
+LIBT_CURRENT=4
+LIBT_REVISION=0
+AC_SUBST(LIBT_CURRENT)
+AC_SUBST(LIBT_REVISION)
+LIBT_AGE=3
 
-LT_VERSION_INFO="$LT_CURRENT:$LT_REVISION:$LT_AGE"
-AC_SUBST(LT_VERSION_INFO)
+LIBT_VERSION_INFO="$LIBT_CURRENT:$LIBT_REVISION:$LIBT_AGE"
+AC_SUBST(LIBT_VERSION_INFO)
 
-LT_CURRENT_MINUS_AGE=`expr $LT_CURRENT - $LT_AGE`
-AC_SUBST(LT_CURRENT_MINUS_AGE)
+LIBT_CURRENT_MINUS_AGE=`expr $LIBT_CURRENT - $LIBT_AGE`
+AC_SUBST(LIBT_CURRENT_MINUS_AGE)
 
 dnl ==========================================================================
 
--- a/fontconfig-zip.in
+++ b/fontconfig-zip.in
@@ -10,7 +10,7 @@ DEVZIP=/tmp/fontconfig-dev-@VERSION@.zip
 cd @prefix@
 rm -f $ZIP
 zip $ZIP -@ <<EOF
-bin/libfontconfig-@LT_CURRENT_MINUS_AGE@.dll
+bin/libfontconfig-@LIBT_CURRENT_MINUS_AGE@.dll
 etc/fonts/fonts.conf
 EOF
 
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -112,7 +112,7 @@ libfontconfig_la_SOURCES = \
 lib_LTLIBRARIES = libfontconfig.la
 
 libfontconfig_la_LDFLAGS =			\
-	-version-info @LT_VERSION_INFO@ -no-undefined $(export_symbols)
+	-version-info @LIBT_VERSION_INFO@ -no-undefined $(export_symbols)
 
 libfontconfig_la_LIBADD = $(ICONV_LIBS) $(FREETYPE_LIBS) $(LIBXML2_LIBS) $(EXPAT_LIBS)
 
@@ -148,6 +148,6 @@ fontconfig.def: $(PUBLIC_FILES) $(PUBLIC
 	(cat $(PUBLIC_FILES) $(PUBLIC_FT_FILES) || echo 'FcERROR ()' ) | \
  	grep '^Fc[^ ]* *(' | sed -e 's/ *(.*$$//' -e 's/^/	/' | \
 	sort; \
-	echo LIBRARY libfontconfig-@LT_CURRENT_MINUS_AGE@.dll; \
-	echo VERSION @LT_CURRENT@.@LT_REVISION@) >$@
+	echo LIBRARY libfontconfig-@LIBT_CURRENT_MINUS_AGE@.dll; \
+	echo VERSION @LIBT_CURRENT@.@LIBT_REVISION@) >$@
 	@ ! grep -q FcERROR $@ || ($(RM) $@; false)



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in media-libs/fontconfig/files: fontconfig-2.5.0-libtool-2.2.patch
@ 2010-04-11  1:00 Ryan Hill (dirtyepic)
  0 siblings, 0 replies; 2+ messages in thread
From: Ryan Hill (dirtyepic) @ 2010-04-11  1:00 UTC (permalink / raw
  To: gentoo-commits

dirtyepic    10/04/11 01:00:59

  Removed:              fontconfig-2.5.0-libtool-2.2.patch
  Log:
  Disable doc regeneration with USE="-doc" (bug #310157). Drop epunt_cxx
  call that hasn't been applying for a while now. Remove old.
  (Portage version: 2.2_rc67/cvs/Linux x86_64)



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-04-11  1:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-11  1:00 [gentoo-commits] gentoo-x86 commit in media-libs/fontconfig/files: fontconfig-2.5.0-libtool-2.2.patch Ryan Hill (dirtyepic)
  -- strict thread matches above, loose matches on Subject: below --
2008-05-04 13:27 Peter Volkov (pva)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox