Your message dated Wed, 10 Jan 2007 11:47:10 +0000 with message-id <E1H4bvC-0006U8-5M@ries.debian.org> and subject line Bug#291438: fixed in tetex-bin 3.0-29 has caused the attached Bug report to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database)
--- Begin Message ---
- To: Debian BTS Submit <submit@bugs.debian.org>
- Subject: tetex-bin: dvipdfm crash in some timezones
- From: Martin Pitt <martin.pitt@ubuntu.com>
- Date: Fri, 15 Dec 2006 18:53:46 +0100
- Message-id: <20061215175346.GB12876@piware.de>
Package: tetex-bin Version: 3.0-27 Tags: patch Hi! We recently got https://launchpad.net/bugs/66474 about a dvipdfm crash. I verified the crash and that the patch fixes it (and dvipdfm still works normally). Thanks, Martin -- Martin Pitt http://www.piware.de Ubuntu Developer http://www.ubuntu.com Debian Developer http://www.debian.orgdiff -u tetex-bin-3.0/debian/rules tetex-bin-3.0/debian/rules --- tetex-bin-3.0/debian/rules +++ tetex-bin-3.0/debian/rules @@ -329,7 +329,7 @@ done # needs devscripts in etch or from backports.org - debchange --distribution sarge-backports -b --newversion 3.0-24ubuntu1~bpo.1 "Recompiled for sarge." + debchange --distribution sarge-backports -b --newversion 3.0-24ubuntu2~bpo.1 "Recompiled for sarge." debchange --append \ "Add a Build-Depends on sarge's xlibs-dev to prevent linking against XOrg" debchange --append \ 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,12 @@ +tetex-bin (3.0-24ubuntu2) feisty; urgency=low + + * Add debian/patches/patch-dvipdfm-timezones: + - Fix dvipdfm crash in certain time zones. + - Thanks to Alex Murray for digging out the patch! + - Closes: LP#66474 + + -- Martin Pitt <martin.pitt@ubuntu.com> Fri, 15 Dec 2006 18:05:19 +0100 + tetex-bin (3.0-24ubuntu1) feisty; urgency=low * Merge to Debian unstable. Remaining Ubuntu changes: diff -u tetex-bin-3.0/debian/patches/series tetex-bin-3.0/debian/patches/series --- tetex-bin-3.0/debian/patches/series +++ tetex-bin-3.0/debian/patches/series @@ -16,0 +17 @@ +patch-dvipdfm-timezones only in patch2: unchanged: --- tetex-bin-3.0.orig/debian/patches/patch-dvipdfm-timezones +++ tetex-bin-3.0/debian/patches/patch-dvipdfm-timezones @@ -0,0 +1,44 @@ +Index: tetex-bin-3.0/texk/dvipdfm/pdfdoc.c +=================================================================== +--- tetex-bin-3.0.orig/texk/dvipdfm/pdfdoc.c 2006-12-15 18:18:02.000000000 +0100 ++++ tetex-bin-3.0/texk/dvipdfm/pdfdoc.c 2006-12-15 18:18:06.000000000 +0100 +@@ -234,7 +234,7 @@ + { + #ifndef HAVE_TIMEZONE + #ifdef TM_GM_TOFF +- #define timezone (bdtime->gm_toff) ++ #define timezone (bd_time->tm_gmtoff) + #else + #define timezone 0l + #endif /* TM_GM_TOFF */ +@@ -242,15 +242,26 @@ + static char date_string[24]; + time_t current_time; + struct tm *bd_time; ++ long hh, mm; + if (debug) { + fprintf (stderr, "(asn_date)"); + } + time(¤t_time); + bd_time = localtime(¤t_time); +- sprintf (date_string, "D:%04d%02d%02d%02d%02d%02d%+03ld'%02ld'", +- bd_time -> tm_year+1900, bd_time -> tm_mon+1, bd_time -> tm_mday, +- bd_time -> tm_hour, bd_time -> tm_min, bd_time -> tm_sec, +- -timezone/3600, timezone%3600); ++ if (timezone == 0l) { ++ sprintf (date_string, "D:%04d%02d%02d%02d%02d%02dZ00'00'", ++ bd_time -> tm_year+1900, bd_time -> tm_mon+1, bd_time -> tm_mday, ++ bd_time -> tm_hour, bd_time -> tm_min, bd_time -> tm_sec); ++ } else { ++ hh = timezone/3600; ++ mm = (timezone%3600)/60; ++ if (timezone < 0) ++ mm = -mm; ++ sprintf (date_string, "D:%04d%02d%02d%02d%02d%02d%+03ld'%02ld'", ++ bd_time -> tm_year+1900, bd_time -> tm_mon+1, bd_time -> tm_mday, ++ bd_time -> tm_hour, bd_time -> tm_min, bd_time -> tm_sec, ++ hh, mm); ++ } + return date_string; + } +Attachment: signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---
- To: 291438-close@bugs.debian.org
- Subject: Bug#291438: fixed in tetex-bin 3.0-29
- From: Frank Küster <frank@debian.org>
- Date: Wed, 10 Jan 2007 11:47:10 +0000
- Message-id: <E1H4bvC-0006U8-5M@ries.debian.org>
Source: tetex-bin Source-Version: 3.0-29 We believe that the bug you reported is fixed in the latest version of tetex-bin, which is due to be installed in the Debian FTP archive: libkpathsea-dev_3.0-29_i386.deb to pool/main/t/tetex-bin/libkpathsea-dev_3.0-29_i386.deb libkpathsea4_3.0-29_i386.deb to pool/main/t/tetex-bin/libkpathsea4_3.0-29_i386.deb tetex-bin_3.0-29.diff.gz to pool/main/t/tetex-bin/tetex-bin_3.0-29.diff.gz tetex-bin_3.0-29.dsc to pool/main/t/tetex-bin/tetex-bin_3.0-29.dsc tetex-bin_3.0-29_i386.deb to pool/main/t/tetex-bin/tetex-bin_3.0-29_i386.deb A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 291438@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Frank Küster <frank@debian.org> (supplier of updated tetex-bin package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@debian.org) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.7 Date: Wed, 10 Jan 2007 01:49:56 +0530 Source: tetex-bin Binary: tetex-bin libkpathsea-dev libkpathsea4 Architecture: source i386 Version: 3.0-29 Distribution: unstable Urgency: low Maintainer: Debian TeX maintainers <debian-tex-maint@lists.debian.org> Changed-By: Frank Küster <frank@debian.org> Description: libkpathsea-dev - path search library for teTeX (devel part) libkpathsea4 - path search library for teTeX (runtime part) tetex-bin - The teTeX programs Closes: 291438 Changes: tetex-bin (3.0-29) unstable; urgency=low . * Apply a patch from upstream (Mark A. Wicks) to prevent dvipdfm from crashing when called in a time zone having an offset from GMT, which is not an integer number. (Closes: #291438) [hilmar] Files: 5a8be11f076a924a50ea53aa7e7a173f 1011 tex optional tetex-bin_3.0-29.dsc 95492cd414f978dc6e0eb49fa9c0004b 122018 tex optional tetex-bin_3.0-29.diff.gz 3bfd081323e5c594e931bcb56269fc63 3541178 tex optional tetex-bin_3.0-29_i386.deb 9be138588d983cf775daf25679dfe5dc 81212 libs optional libkpathsea4_3.0-29_i386.deb 2faa2f60246ab92da4e7810f1d2b2bee 70610 libdevel optional libkpathsea-dev_3.0-29_i386.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFFpNDQ+xs9YyJS+hoRAtAgAJ9hxb4fiGc0o6Cs/T+huIHPVDH3fgCeOi+w KRUcbu9O5+HaIoxAblibT1k= =rRax -----END PGP SIGNATURE-----
--- End Message ---