Cyril Brulebois <k...@debian.org> (03/07/2009):
> I'm going to file another bug for an FTBFS that only happens on
> kfreebsd-* and then prepare an upload with both fixes for DELAYED/7 or
> something like that.

That's #535579, and there's the whole source debdiff attached now,
fixed package uploaded to DELAYED/7.

Mraw,
KiBi.
diff -u tex-guy-1.3.2/debian/rules tex-guy-1.3.2/debian/rules
--- tex-guy-1.3.2/debian/rules
+++ tex-guy-1.3.2/debian/rules
@@ -36,6 +36,7 @@
 	ln -sf /usr/share/misc/config.sub /usr/share/misc/config.guess .
 	aclocal
 	autoconf
+	libtoolize
 	./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info \
 	--enable-static --with-gettext
 
diff -u tex-guy-1.3.2/debian/changelog tex-guy-1.3.2/debian/changelog
--- tex-guy-1.3.2/debian/changelog
+++ tex-guy-1.3.2/debian/changelog
@@ -1,3 +1,15 @@
+tex-guy (1.3.2-6.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix FTBFS due to libtool errors by calling “libtoolize” right after
+    “autoconf” in debian/rules in order to update libtool-related files
+    (Closes: #527759).
+  * Fix FTBFS on GNU/kFreeBSD, where setpgrp() takes no parameter, using
+    the following patch (Closes: #535579):
+     - debian/patches/01_fix_ftbfs_on_kfreebsd.dpatch
+
+ -- Cyril Brulebois <k...@debian.org>  Fri, 03 Jul 2009 14:08:31 +0200
+
 tex-guy (1.3.2-6) unstable; urgency=low
 
   * debian/patches/01_display_eps.dpatch: New patch.  Fixed the problem of
diff -u tex-guy-1.3.2/debian/patches/00list tex-guy-1.3.2/debian/patches/00list
--- tex-guy-1.3.2/debian/patches/00list
+++ tex-guy-1.3.2/debian/patches/00list
@@ -4,0 +5 @@
+01_fix_ftbfs_on_kfreebsd.dpatch
only in patch2:
unchanged:
--- tex-guy-1.3.2.orig/debian/patches/01_fix_ftbfs_on_kfreebsd.dpatch
+++ tex-guy-1.3.2/debian/patches/01_fix_ftbfs_on_kfreebsd.dpatch
@@ -0,0 +1,18 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_display_eps.dpatch by Cyril Brulebois <k...@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Fix FTBFS on GNU/kFreeBSD, where setpgrp() takes no argument.
+
+...@dpatch@
+--- tex-guy-1.3.2/DVIlib2-2.9.1/spc_ps.c~
++++ tex-guy-1.3.2/DVIlib2-2.9.1/spc_ps.c
+@@ -1905,7 +1905,7 @@
+     /*** GS ***/
+ #if defined(__linux__)
+     (void) setpgid(0,0);
+-#elif defined(__svr4__)||defined(__SVR4__)
++#elif defined(__svr4__)||defined(__SVR4__)||defined(__FreeBSD_kernel__)
+     (void) setpgrp();
+ #else
+     (void) setpgrp(0, getpid());

Reply via email to