[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#349681: tetex-bin: FTBFS fix with poppler 0.5



Package: tetex-bin
Version: 3.0-13
Tags: patch

Hi Frank!

In Ubuntu we recently upgraded to poppler 0.5.0, which caused
tetex-bin to FTBFS. poppler/Link.h must now be included explicitly.

I attached the trivial patch. It should work fine with poppler 0.4,
too, so you can already apply it if you want to. If not, then this bug
is at least a convenient place to not forget about the patch. :)

Thanks,

Martin
-- 
Martin Pitt        http://www.piware.de
Ubuntu Developer   http://www.ubuntu.com
Debian Developer   http://www.debian.org

In a world without walls and fences, who needs Windows and Gates?
diff -u tetex-bin-3.0/debian/patches/patch-poppler tetex-bin-3.0/debian/patches/patch-poppler
--- tetex-bin-3.0/debian/patches/patch-poppler
+++ tetex-bin-3.0/debian/patches/patch-poppler
@@ -65,7 +65,7 @@
 ===================================================================
 --- tetex-bin-3.0.orig/texk/web2c/pdftexdir/pdftoepdf.cc	2005-12-28 10:27:18.079779192 +0100
 +++ tetex-bin-3.0/texk/web2c/pdftexdir/pdftoepdf.cc	2005-12-28 10:29:17.692595280 +0100
-@@ -26,22 +26,22 @@
+@@ -26,22 +26,23 @@
  #include <stdio.h>
  #include <string.h>
  #include <ctype.h>
@@ -95,6 +95,7 @@
 +#include "poppler/Array.h"
 +#include "poppler/Dict.h"
 +#include "poppler/XRef.h"
++#include "poppler/Link.h"
 +#include "poppler/Catalog.h"
 +#include "poppler/Page.h"
 +#include "poppler/GfxFont.h"
diff -u tetex-bin-3.0/debian/changelog tetex-bin-3.0/debian/changelog
--- tetex-bin-3.0/debian/changelog
+++ tetex-bin-3.0/debian/changelog
@@ -1,3 +1,10 @@
+tetex-bin (3.0-13ubuntu1) dapper; urgency=low
+
+  * debian/patches/patch-poppler: Additionally include <poppler/Link.h> in
+    pdftoepdf.cc to fix FTBFS with poppler >= 0.5.
+
+ -- Martin Pitt <martin.pitt@ubuntu.com>  Tue, 24 Jan 2006 15:59:55 +0100
+
 tetex-bin (3.0-13) unstable; urgency=low
 
   * {texconfig,fmtutil,updmap}-sys: improve handling to avoid spurious

Attachment: signature.asc
Description: Digital signature


Reply to: