Your message dated Tue, 14 Mar 2006 14:32:14 -0800
with message-id <[EMAIL PROTECTED]>
and subject line Bug#295174: fixed in xpcd 2.08-12
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: xpcd
Severity: normal
Tags: patch

When building 'xpcd' on amd64 with gcc-4.0,
I get the following error:

gcc -Wall -g -O2 -Wall -I.. -I./../libpcd -DSYSRC="\"/etc/xpcd/system.xpcdrc\"" 
  -c -o shmalloc.o shmalloc.c
shmalloc.c: In function 'sh_free':
shmalloc.c:94: error: invalid lvalue in decrement
make[2]: *** [shmalloc.o] Error 1
make[2]: Leaving directory `/xpcd-2.08/xpcd'

With the attached patch 'xpcd' can be compiled
on amd64 using gcc-4.0.

Regards
Andreas Jochens

diff -urN ../tmp-orig/xpcd-2.08/xpcd/shmalloc.c ./xpcd/shmalloc.c
--- ../tmp-orig/xpcd-2.08/xpcd/shmalloc.c       1998-09-27 09:34:16.000000000 
+0200
+++ ./xpcd/shmalloc.c   2005-02-14 08:09:50.477378603 +0100
@@ -91,7 +91,7 @@
     int             size;
 
     if (shared_anonymous_mmap_works) {
-       ((int *) data)--;
+       data = ((int *) data) - 1;
        size = *(int *) data;
        munmap(data, size);
     } else
diff -urN ../tmp-orig/xpcd-2.08/debian/control ./debian/control
--- ../tmp-orig/xpcd-2.08/debian/control        2005-02-14 08:09:55.545390480 
+0100
+++ ./debian/control    2005-02-14 08:07:56.369629153 +0100
@@ -3,7 +3,7 @@
 Priority: extra
 Maintainer: Stephan A Suerken <[EMAIL PROTECTED]>
 Standards-Version: 3.6.1
-Build-Depends: debhelper (>=3.0.0), xlibs-dev, libxaw7-dev, libtiff4-dev, 
libjpeg62-dev, svgalibg1-dev [i386]
+Build-Depends: debhelper (>=3.0.0), xlibs-dev, libxaw7-dev, libtiff4-dev, 
libjpeg62-dev, svgalibg1-dev [amd64 i386]
 
 Package: xpcd
 Architecture: any
@@ -19,7 +19,7 @@
  Also included is a PhotoCD viewing frontend for X (xpcd).
 
 Package: xpcd-svga
-Architecture: i386
+Architecture: amd64 i386
 Depends: ${shlibs:Depends}
 Conflicts: suidmanager (<< 0.50)
 Description: PhotoCD tool collection: SVGA Viewer
diff -urN ../tmp-orig/xpcd-2.08/debian/rules ./debian/rules
--- ../tmp-orig/xpcd-2.08/debian/rules  2005-02-14 08:09:55.547390091 +0100
+++ ./debian/rules      2005-02-14 08:08:20.625898846 +0100
@@ -22,7 +22,7 @@
 
 # This must be in sync with control
 #svga_archs=i386 alpha arm
-svga_archs=i386
+svga_archs=amd64 i386
 
 #----------------------------------------------------------------------
 # GENERIC PART


--- End Message ---
--- Begin Message ---
Source: xpcd
Source-Version: 2.08-12

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

xpcd-svga_2.08-12_i386.deb
  to pool/main/x/xpcd/xpcd-svga_2.08-12_i386.deb
xpcd_2.08-12.diff.gz
  to pool/main/x/xpcd/xpcd_2.08-12.diff.gz
xpcd_2.08-12.dsc
  to pool/main/x/xpcd/xpcd_2.08-12.dsc
xpcd_2.08-12_i386.deb
  to pool/main/x/xpcd/xpcd_2.08-12_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.
Stephan A Suerken <[EMAIL PROTECTED]> (supplier of updated xpcd 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: Tue, 14 Mar 2006 22:14:29 +0000
Source: xpcd
Binary: xpcd-svga xpcd
Architecture: source i386
Version: 2.08-12
Distribution: unstable
Urgency: low
Maintainer: Stephan A Suerken <[EMAIL PROTECTED]>
Changed-By: Stephan A Suerken <[EMAIL PROTECTED]>
Description: 
 xpcd       - PhotoCD tool collection: Base
 xpcd-svga  - PhotoCD tool collection: SVGA Viewer
Closes: 294793 295174 347145 347995
Changes: 
 xpcd (2.08-12) unstable; urgency=low
 .
   * I agree that xpcd is obsolete and should be removed from the
          archive. To give someone the chance to disagree still and adopt the
          package, I am orphaning this now. If there is no adoption within two
          weeks, I will file a bug to remove it from the archive.
          .
          Possible adopters: Consider
          - http://linux.bytesex.org/fbida/xpcd.html.
          - http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=333528
   * Accepting all NMU patches:
          - Bug fix: "FWD: [SECURITY] [DSA 676-1] New xpcd packages fix 
arbitrary
            code execution as root", thanks to Joey Hess (Closes: #294793).
          - Bug fix: "xpcd: FTBFS (amd64/gcc-4.0): invalid lvalue in 
assignment",
            thanks to Andreas Jochens (Closes: #295174).
          - Bug fix: "xpcd: FTBFS: build-depends on removed xlibs-dev", thanks 
to
            Adeodato Simó (Closes: #347145).
          - Bug fix: "xpcd: compilation error doesn't stop building", thanks to
            Andreas Jochens (Closes: #347995).
   * Thanks to all NMUers for their time and their patience with me ;).
   * control: Add "obsolete warning note" in description.
Files: 
 10d11af1172b6b3c99005fe21464a688 689 graphics extra xpcd_2.08-12.dsc
 fdb2fead4f6a687bc1f7d5e23e0862c6 15711 graphics extra xpcd_2.08-12.diff.gz
 77113b948a878af24579920a5c7a7068 70522 graphics extra xpcd_2.08-12_i386.deb
 420fb752d126b3735c3f8e3bd6b79948 23178 graphics extra 
xpcd-svga_2.08-12_i386.deb

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

iD8DBQFEF0EEzCVHePKM0QIRAl46AJ4t2ABQTFuMJyrRvbPfsMA/fIc8jgCeJ9z4
UBma1ZF327iK6gF1y4PdY5M=
=7fMB
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to