Your message dated Fri, 23 Feb 2007 15:02:18 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#403323: fixed in dvipdfmx 1:20050831-5
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 ---
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.org
diff -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 <[EMAIL PROTECTED]>  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(&current_time);
+   bd_time = localtime(&current_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 ---
Source: dvipdfmx
Source-Version: 1:20050831-5

We believe that the bug you reported is fixed in the latest version of
dvipdfmx, which is due to be installed in the Debian FTP archive:

dvipdfmx_20050831-5.diff.gz
  to pool/main/d/dvipdfmx/dvipdfmx_20050831-5.diff.gz
dvipdfmx_20050831-5.dsc
  to pool/main/d/dvipdfmx/dvipdfmx_20050831-5.dsc
dvipdfmx_20050831-5_i386.deb
  to pool/main/d/dvipdfmx/dvipdfmx_20050831-5_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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Yu Guanghui <[EMAIL PROTECTED]> (supplier of updated dvipdfmx 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 [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Fri, 23 Feb 2007 20:39:55 +0800
Source: dvipdfmx
Binary: dvipdfmx
Architecture: source i386
Version: 1:20050831-5
Distribution: testing
Urgency: medium
Maintainer: Yu Guanghui <[EMAIL PROTECTED]>
Changed-By: Yu Guanghui <[EMAIL PROTECTED]>
Description: 
 dvipdfmx   - A DVI to PDF translator with CJK support
Closes: 403323
Changes: 
 dvipdfmx (1:20050831-5) testing; urgency=medium
 .
   * update pdfdoc.c to CVS 1.45. Fixed half timezone bug.
     (Closes:Bug#403323)
Files: 
 3290bb1f36e35bc20d7c6882b61e177d 628 tex optional dvipdfmx_20050831-5.dsc
 5d55a0daff6faa83a41a315df6899636 32215 tex optional dvipdfmx_20050831-5.diff.gz
 d87999fb46d58045c9245162f9fb0f62 343196 tex optional 
dvipdfmx_20050831-5_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFF3v/EKNPoKRflcycRAh08AJoC1X0P/Mxuu2rXw/pDTSls2gTWeQCdHUko
OG3JCFiZCTY8EtVqDnJGcpw=
=iRDG
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to