Attached.
Could really do with some cleanup still, *lots* of compiler warnings
with newer gcc now... :-(
Cheers,
--
Steve McIntyre [email protected]
<http://www.linaro.org/> Linaro.org | Open source software for ARM SoCs
diff -u juman-5.1/debian/changelog juman-5.1/debian/changelog
--- juman-5.1/debian/changelog
+++ juman-5.1/debian/changelog
@@ -1,3 +1,13 @@
+juman (5.1-2.1) unstable; urgency=low
+
+ * NMU
+ * Fix fprintf format warning/error. Closes: #643415
+ * Add ${misc:Depends} etc. for various binary packages
+ * Switch to ${binary:Version}) to allow binNMUs in future
+ * Updated Standards-Version
+
+ -- Steve McIntyre <[email protected]> Thu, 15 Dec 2011 17:45:16 +0000
+
juman (5.1-2) unstable; urgency=low
* Fix. (closes: #378301).
diff -u juman-5.1/debian/control juman-5.1/debian/control
--- juman-5.1/debian/control
+++ juman-5.1/debian/control
@@ -3,7 +3,7 @@
Priority: optional
Maintainer: TSUCHIYA Masatoshi <[email protected]>
Build-Depends: debhelper (>> 4.0.0), cdbs
-Standards-Version: 3.7.2
+Standards-Version: 3.9.2
Package: juman
Architecture: any
@@ -18,13 +18,14 @@
Package: juman-dic
Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}
Description: Juman dictionary in text format
This package provides Juman dictionary written in text format.
Package: libjuman-dev
Section: libdevel
Architecture: any
-Depends: libjuman4 (= ${Source-Version})
+Depends: libjuman4 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
Description: Header files of JUMAN
This package provides header files which are necessary to development
programs using runtime libraries of Juman, that is a Japanese
@@ -33,7 +34,7 @@
Package: libjuman4
Section: libs
Architecture: any
-Depends: ${shlibs:Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}
Conflicts: libjuman
Replaces: libjuman
Provides: libjuman
only in patch2:
unchanged:
--- juman-5.1.orig/debian/patches/003_fprintf_format.diff
+++ juman-5.1/debian/patches/003_fprintf_format.diff
@@ -0,0 +1,13 @@
+Fix fprintf format warning/error, #643415
+Steve McIntyre <[email protected]>
+--- lib/iotool.c.orig 2011-12-15 17:28:35.942749952 +0000
++++ lib/iotool.c 2011-12-15 17:30:10.790749100 +0000
+@@ -445,7 +445,7 @@
+ struct tm *tp;
+
+ time(&t); tp = localtime(&t);
+- fprintf(fp, asctime(tp));
++ fprintf(fp, "%s", asctime(tp));
+ }
+
+ /*