tag 374909 patch
thanks سلام שלם

On Thu, Jun 22, 2006, Julien Danjou wrote:
> There was a problem while autobuilding your package:

Hi,

The attached patch fixes the issue and may be uploaded as part of the
ongoing 0-day NMU policy.

I hope it helps,
-- 
adn
Mohammed Adnène Trojette
diff -u ttmkfdir-3.0.9/debian/patches/Makefile.patch 
ttmkfdir-3.0.9/debian/patches/Makefile.patch
--- ttmkfdir-3.0.9/debian/patches/Makefile.patch
+++ ttmkfdir-3.0.9/debian/patches/Makefile.patch
@@ -1,5 +1,5 @@
---- Makefile.orig      2003-11-07 23:09:51.000000000 -0600
-+++ Makefile   2003-11-07 23:10:23.000000000 -0600
+--- Makefile.orig      2006-07-03 18:28:33.000000000 +0200
++++ Makefile   2006-07-03 18:28:57.000000000 +0200
 @@ -15,9 +15,6 @@
  VERSION=$(shell rpm -q --qf "%{version}\n" --specfile $(NAME).spec | head -1)
  RELEASE=$(shell rpm -q --qf "%{release}\n" --specfile $(NAME).spec | head -1)
@@ -19,7 +19,7 @@
  LDFLAGS=$(FREETYPE_LIB) $(DEBUG)
  
  DESTDIR=
-@@ -39,7 +36,7 @@
+@@ -39,10 +36,10 @@
  all: ttmkfdir
  
  .cpp.o:
@@ -27,7 +27,11 @@
 +      libtool --mode=compile $(CXX) $(CXXFLAGS) $(COMPILE_FLAGS) -o $@ -c $^
  
  ttmkfdir: ttmkfdir.o directory.o commandline.o ttf.o encoding.o parser.o 
builtin.o
-       libtool --mode=link $(CXX) -o $@ $^ $(LDFLAGS)
+-      libtool --mode=link $(CXX) -o $@ $^ $(LDFLAGS)
++      libtool --mode=link $(CXX) -o $@ $^ $(LDFLAGS) -lfontconfig
+ 
+ parser.cpp: encoding.l
+           flex -i -8 -o$@ $<
 @@ -53,21 +50,7 @@
  
  clean:
diff -u ttmkfdir-3.0.9/debian/control ttmkfdir-3.0.9/debian/control
--- ttmkfdir-3.0.9/debian/control
+++ ttmkfdir-3.0.9/debian/control
@@ -2,8 +2,8 @@
 Section: x11
 Priority: optional
 Maintainer: Miros/law L. Baran <[EMAIL PROTECTED]>
-Standards-Version: 3.6.2.1
-Build-Depends: cdbs (>= 0.4.12), debhelper (>= 4.1.46), flex, 
libfreetype6-dev, libtool (>= 1.5)
+Standards-Version: 3.7.2
+Build-Depends: cdbs (>= 0.4.12), debhelper (>= 4.1.46), flex, 
libfreetype6-dev, libtool (>= 1.5), libfontconfig1-dev
 
 Package: ttmkfdir
 Architecture: any
diff -u ttmkfdir-3.0.9/debian/changelog ttmkfdir-3.0.9/debian/changelog
--- ttmkfdir-3.0.9/debian/changelog
+++ ttmkfdir-3.0.9/debian/changelog
@@ -1,3 +1,13 @@
+ttmkfdir (3.0.9-5.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix FTBFS with missing (Closes: #374909)
+     + update debian/patches/Makefile.patch with missing -lfontconfig.
+     + add Build-Depends on libfontconfig1-dev.
+  * Bump Standards-Version to 3.7.2.
+
+ -- Mohammed Adnène Trojette <[EMAIL PROTECTED]>  Mon,  3 Jul 2006 18:31:32 
+0200
+
 ttmkfdir (3.0.9-5) unstable; urgency=low
 
   * Added information about Panose font classification

Reply via email to