Evgeni Golov <sarge...@die-welt.net> (19/01/2009):
> Great, attached is a more verbose diff, that also does two minor
> cleanups.
> 
> Alan, I plan to NMU that soon, any objections?

After some suggestions from me, it has been uploaded to DELAYED/1. Final
debdiff is attached.

Mraw,
KiBi.
diff -u xnecview-1.35/debian/changelog xnecview-1.35/debian/changelog
--- xnecview-1.35/debian/changelog
+++ xnecview-1.35/debian/changelog
@@ -1,3 +1,18 @@
+xnecview (1.35-5.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Always use C locale to prevent issues with locales that have
+    different (other than '.') decimal-point chars.
+    Thanks to Fernando M. Maresca for debugging and testing.
+    Closes: #511852.
+  * debian/rules:
+    + Call dh_clean instead of several rm -f in the clean target,
+      that cleans debian/ better, especially the debhelper logs.
+    + Add Makefile and xnecview._man to the cleaned files,
+      so they don't show up in the diff.gz.
+
+ -- Evgeni Golov <sarge...@die-welt.net>  Tue, 20 Jan 2009 08:27:19 +0100
+
 xnecview (1.35-5) unstable; urgency=low
   * Fix md5sums file
   * Change strip options to remove .comment and .note sections
diff -u xnecview-1.35/debian/rules xnecview-1.35/debian/rules
--- xnecview-1.35/debian/rules
+++ xnecview-1.35/debian/rules
@@ -24,10 +24,8 @@
 
 clean:
 	$(checkdir)
-	-rm -f build
-	-rm -f *.o xnecview *.bak
-	-rm -f `find . -name "*~"`
-	-rm -rf debian/tmp debian/files* core debian/substvars
+	dh_clean build *.o xnecview *.bak *~ core Makefile \
+		xnecview._man debian/substvars
 
 binary-indep: checkroot build
 	$(checkdir)
only in patch2:
unchanged:
--- xnecview-1.35.orig/xnecview.c
+++ xnecview-1.35/xnecview.c
@@ -15,6 +15,8 @@
 #include <string.h>
 #include <math.h>
 
+#include <locale.h>
+
 #ifndef NO_GETOPT
   #include <getopt.h>
 #endif
@@ -373,6 +375,8 @@
    initX(&argc,argv);
    inputfilename=NULL;
 
+   setlocale(LC_ALL, "C");
+
    wires=mymalloc(maxwires*sizeof(Wire));
    surfaces=mymalloc(maxsurfaces*sizeof(Surface));
    excis=mymalloc(maxexcis*sizeof(Exci));

Attachment: signature.asc
Description: Digital signature

Reply via email to