Dear maintainers,

I've prepared an NMU for gbgoffice (versioned as 1.4-4.1) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should delay it longer.

Regards.

-- 
 .''`.   http://info.comodo.priv.at/ -- GPG Key IDs: 0x00F3CFE4, 0x8649AA06
 : :' :  Debian GNU/Linux user, admin, & developer - http://www.debian.org/
 `. `'   Member of VIBE!AT, SPI Inc., fellow of FSFE | http://got.to/quote/
   `-    BOFH excuse #339:  manager in the cable duct 
diff -u gbgoffice-1.4/debian/patches/series gbgoffice-1.4/debian/patches/series
--- gbgoffice-1.4/debian/patches/series
+++ gbgoffice-1.4/debian/patches/series
@@ -7,0 +8 @@
+08_fix_const_conversion.patch
diff -u gbgoffice-1.4/debian/changelog gbgoffice-1.4/debian/changelog
--- gbgoffice-1.4/debian/changelog
+++ gbgoffice-1.4/debian/changelog
@@ -1,3 +1,11 @@
+gbgoffice (1.4-4.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix "FTBFS: invalid const conversion", apply patch from Ubuntu, thanks to
+    Jon Bernard (closes: #550115).
+
+ -- gregor herrmann <gre...@debian.org>  Fri, 25 Dec 2009 19:05:39 +0100
+
 gbgoffice (1.4-4) unstable; urgency=low
 
   * "Going official"
only in patch2:
unchanged:
--- gbgoffice-1.4.orig/debian/patches/08_fix_const_conversion.patch
+++ gbgoffice-1.4/debian/patches/08_fix_const_conversion.patch
@@ -0,0 +1,19 @@
+# Description: Since a constant is passed into strchr(), pu must also be const
+#              to keep the compiler from generating an error.
+# Ubuntu: https://bugs.launchpad.net/ubuntu/+source/gbgoffice/+bug/445624
+# Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=550115
+#
+Index: b/src/translator.cpp
+===================================================================
+--- a/src/translator.cpp
++++ b/src/translator.cpp
+@@ -315,7 +315,8 @@ bool Translator::findWord(const char *wo
+ 
+ char *Translator::transformResult(const char *result) {
+ 	int j, i, m, n, u;
+-	char *b, *pu;
++	const char *pu;
++	char *b;
+ 	char c;
+ 	strcpy(dataBuffer2, result);
+ 	if ((advancedSearchState) && (advancedSearchHighlight)) {

Attachment: signature.asc
Description: Digital signature

Reply via email to