tags 529135 + patch pending
tags 641555 + patch pending
thanks

Dear maintainer,

I've prepared an NMU for ptex-bin (versioned as 3.1.11+0.04b-0.2) and
uploaded it to DELAYED/5. Please feel free to tell me if I
should delay it longer.
-- 
Regards,
        dai

GPG Fingerprint = 0B29 D88E 42E6 B765 B8D8 EA50 7839 619D D439 668E
diff -u ptex-bin-3.1.11+0.04b/debian/watch ptex-bin-3.1.11+0.04b/debian/watch
--- ptex-bin-3.1.11+0.04b/debian/watch
+++ ptex-bin-3.1.11+0.04b/debian/watch
@@ -1,5 +1,4 @@
-# Example watch control file for uscan
-# Rename this file to "watch" and then you can run the "uscan" command
-# to check for upstream updates and more.
-# Site		Directory		Pattern			Version	Script
-ftp://ftp.ascii.co.jp	/pub/TeX/ascii-ptex/tetex	ptex-src-(.*)\.tar\.gz	debian	uupdate
+# Compulsory line, this is a version 3 file
+version=3
+opts="uversionmangle=s/$/+0.04b/" \
+ http://ascii.asciimw.jp/pb/ptex/archives/ascii-ptex/tetex/ptex-src-(.*)\.tar\.gz debian uupdate
diff -u ptex-bin-3.1.11+0.04b/debian/changelog ptex-bin-3.1.11+0.04b/debian/changelog
--- ptex-bin-3.1.11+0.04b/debian/changelog
+++ ptex-bin-3.1.11+0.04b/debian/changelog
@@ -1,3 +1,16 @@
+ptex-bin (3.1.11+0.04b-0.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * debian/patches/teTeX/link-as-needed.patch: new file.
+    Fix FTBFS with ld --as-needed (Closes: #641555).
+    Thanks Matthias Klose <d...@ubuntu.com>
+  * debian/patches/ptex-src-hurd-i386-OPEN_MAX.patch: new file.
+    fix FTBFS on hurd-i386.
+  * debian/watch: updated to version 3 (Closes: #529135).
+    Thanks YOSHINO Yoshihito <yy.y.ja...@gmail.com>.
+
+ -- HIGUCHI Daisuke (VDR dai) <d...@debian.org>  Thu, 26 Jan 2012 10:37:28 +0900
+
 ptex-bin (3.1.11+0.04b-0.1) unstable; urgency=low
 
   * Non-maintainer upload.
only in patch2:
unchanged:
--- ptex-bin-3.1.11+0.04b.orig/debian/patches/ptex-src-hurd-i386-OPEN_MAX.patch
+++ ptex-bin-3.1.11+0.04b/debian/patches/ptex-src-hurd-i386-OPEN_MAX.patch
@@ -0,0 +1,25 @@
+## ptex-src-hurd-i386-OPEN_MAX.patch
+## by HIGUCHI Daisuke (VDR dai) <d...@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: fix FTBFS ptex-bin on hurd-i386. taken from nas-1.7/lib/audio/Alibnet.h.
+
+--- kanji.h.in.orig	2005-03-07 15:30:44.000000000 +0900
++++ kanji.h.in	2012-01-26 11:55:10.000000000 +0900
+@@ -70,6 +70,16 @@
+ #  include <limits.h>
+ #endif
+ #ifndef NOFILE
++#  ifndef OPEN_MAX
++#    if defined(_POSIX_OPEN_MAX) && !defined(SCO)
++#      define OPEN_MAX _POSIX_OPEN_MAX
++#    else
++#      ifndef NOFILES_MAX
++#        define NOFILES_MAX 255
++#      endif
++#      define OPEN_MAX NOFILES_MAX
++#    endif
++#  endif
+ #  define NOFILE OPEN_MAX
+ #endif
+ 
only in patch2:
unchanged:
--- ptex-bin-3.1.11+0.04b.orig/debian/patches/teTeX/link-as-needed.patch
+++ ptex-bin-3.1.11+0.04b/debian/patches/teTeX/link-as-needed.patch
@@ -0,0 +1,20 @@
+## link-as-needed.patch
+## by Matthias Klose <d...@ubuntu.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Fix FTBFS with ld --as-needed.
+
+--- ptex-bin-3.1.11+0.04b.orig/debian/patches/teTeX/link-as-needed.patch
++++ ptex-bin-3.1.11+0.04b/debian/patches/teTeX/link-as-needed.patch
+@@ -0,0 +1,11 @@
++--- texk/web2c/web2c/Makefile.in~	2011-09-13 23:58:48.622364365 +0200
+++++ texk/web2c/web2c/Makefile.in	2011-09-14 00:00:08.552481323 +0200
++@@ -37,7 +37,7 @@
++ fixwrites: fixwrites.o kps.o
++ 	$(build_link_command) fixwrites.o kps.o
++ splitup: splitup.o kps.o
++-	$(build_link_command) -lkpathsea splitup.o kps.o
+++	$(build_link_command) splitup.o kps.o -lkpathsea
++ regfix: regfix.o kps.o
++ 	$(build_link_command) regfix.o kps.o
++ 

Attachment: signature.asc
Description: Digital signature

Reply via email to