Your message dated Sat, 09 Jan 2010 07:17:17 +0000
with message-id <e1ntvzv-00040u...@ries.debian.org>
and subject line Bug#546357: fixed in cvsnt 2.5.04.3236-1.1
has caused the Debian Bug report #546357,
regarding cvsnt: FTBFS due to invalid const char* conversion
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
546357: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=546357
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: cvsnt
Version: 2.5.04.3236-1
Severity: important
Tags: patch
Justification: fails to build from source
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu karmic ubuntu-patch

In Ubuntu, we've applied the attached patch to achieve the following:

  * Fix FTBFS with gcc-4.4: const char* conversion (LP: #428391).

We thought you might be interested in doing the same. 


-- System Information:
Debian Release: 5.0
  APT prefers jaunty-updates
  APT policy: (500, 'jaunty-updates'), (500, 'jaunty-security'), (500, 
'jaunty-proposed'), (500, 'jaunty-backports'), (500, 'jaunty')
Architecture: i386 (i686)

Kernel: Linux 2.6.28-15-generic (SMP w/2 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u cvsnt-2.5.04.3236/debian/patches/00list cvsnt-2.5.04.3236/debian/patches/00list
--- cvsnt-2.5.04.3236/debian/patches/00list
+++ cvsnt-2.5.04.3236/debian/patches/00list
@@ -2,0 +3 @@
+03_ftbfs_gcc-4.4.dpatch
only in patch2:
unchanged:
--- cvsnt-2.5.04.3236.orig/debian/patches/03_ftbfs_gcc-4.4.dpatch
+++ cvsnt-2.5.04.3236/debian/patches/03_ftbfs_gcc-4.4.dpatch
@@ -0,0 +1,34 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 03_ftbfs_gcc-4.4.dpatch by Ilya Barygin <bary...@gmail.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+...@dpatch@
+diff -urNad cvsnt-2.5.04.3236~/src/filesubr.cpp cvsnt-2.5.04.3236/src/filesubr.cpp
+--- cvsnt-2.5.04.3236~/src/filesubr.cpp	2006-08-18 01:33:30.000000000 +0400
++++ cvsnt-2.5.04.3236/src/filesubr.cpp	2009-09-12 18:30:37.000000000 +0400
+@@ -1229,7 +1229,7 @@
+ /* Return a pointer into PATH's last component.  */
+ const char *last_component (const char *path)
+ {
+-    char *last = strrchr (path, '/');
++    const char *last = strrchr (path, '/');
+     
+     if (last && (last != path))
+         return last + 1;
+diff -urNad cvsnt-2.5.04.3236~/src/rcs.cpp cvsnt-2.5.04.3236/src/rcs.cpp
+--- cvsnt-2.5.04.3236~/src/rcs.cpp	2008-05-20 15:06:03.000000000 +0400
++++ cvsnt-2.5.04.3236/src/rcs.cpp	2009-09-12 18:30:37.000000000 +0400
+@@ -5898,9 +5898,8 @@
+ 	if(diffopts)
+ 	{
+ 		cvs::string fn;
+-		char *pathpos=NULL;
+-		if (rcsdiff_args.file!=NULL)
+-			pathpos=strpbrk(PATCH_NULL(rcsdiff_args.file),"\\/");
++		const char *pathpos = (rcsdiff_args.file==NULL) ? NULL :
++			strpbrk(PATCH_NULL(rcsdiff_args.file),"\\/");
+ 		if ((rcsdiff_args.file!=NULL)&&(pathpos!=NULL))
+ 			cvs::sprintf(fn,80,"%s",rcsdiff_args.file);
+ 		else

--- End Message ---
--- Begin Message ---
Source: cvsnt
Source-Version: 2.5.04.3236-1.1

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

cvsnt_2.5.04.3236-1.1.diff.gz
  to main/c/cvsnt/cvsnt_2.5.04.3236-1.1.diff.gz
cvsnt_2.5.04.3236-1.1.dsc
  to main/c/cvsnt/cvsnt_2.5.04.3236-1.1.dsc
cvsnt_2.5.04.3236-1.1_i386.deb
  to main/c/cvsnt/cvsnt_2.5.04.3236-1.1_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 546...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jari Aalto <jari.aa...@cante.net> (supplier of updated cvsnt 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 ftpmas...@debian.org)


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

Format: 1.8
Date: Wed, 06 Jan 2010 16:45:31 +0200
Source: cvsnt
Binary: cvsnt
Architecture: source i386
Version: 2.5.04.3236-1.1
Distribution: unstable
Urgency: medium
Maintainer: Andreas Tscharner <a...@vis.ethz.ch>
Changed-By: Jari Aalto <jari.aa...@cante.net>
Description: 
 cvsnt      - Improved multiplatform version of the original CVS
Closes: 546357
Changes: 
 cvsnt (2.5.04.3236-1.1) unstable; urgency=medium
 .
   [Jari Aalto]
   * Non-maintainer upload.
   * debian/patches
     - (03_ftbfs_gcc-4.4.dpatch): New file. Fix gcc-4.4: const
       char* conversion (RC bug serious FTBFS; Closes: #546357).
       Thanks to Ilya Barygin <bary...@gmail.com> from ubuntu-devel.
Checksums-Sha1: 
 dea71fb74e19f22c58eeae32fa314be9a3166a9f 1250 cvsnt_2.5.04.3236-1.1.dsc
 7b9c4faf2d6006f764bf9d45452acc4d0131c658 17314 cvsnt_2.5.04.3236-1.1.diff.gz
 cb16a72b81e50759f29a49ad55973b64f2db6a14 1221124 cvsnt_2.5.04.3236-1.1_i386.deb
Checksums-Sha256: 
 789888d8f52049d5612fa0d296e5722bb0158e0a4a44ad7d451f33c8c1c38d41 1250 
cvsnt_2.5.04.3236-1.1.dsc
 08bf32f9e80d364d19efa4b8e28290e21be7b0840ca0798373e68f168c4efc0b 17314 
cvsnt_2.5.04.3236-1.1.diff.gz
 642981660208deab02ac829aa42f17ac5e33142f1b67878ca683a31d50e2f06f 1221124 
cvsnt_2.5.04.3236-1.1_i386.deb
Files: 
 2a6e8bb2df0e27b92f7c7656eff4af32 1250 devel optional cvsnt_2.5.04.3236-1.1.dsc
 6011145ab36e4e3e587cc6dfc90e8652 17314 devel optional 
cvsnt_2.5.04.3236-1.1.diff.gz
 ff1757758b1983249fe31cca32858f35 1221124 devel optional 
cvsnt_2.5.04.3236-1.1_i386.deb

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

iEYEARECAAYFAktFhVUACgkQpdwBkPlyvgOC7ACggepjJbuyi+RX5atsyR81G0b5
hgAAnRKqP/PyXUdPndqV+0bpn+Tv4uux
=LkAF
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to