Your message dated Wed, 09 May 2012 19:32:32 +0000
with message-id <[email protected]>
and subject line Bug#542851: fixed in libpaper 1.1.24+nmu2
has caused the Debian Bug report #542851,
regarding libpaper: paperconf uses the wrong header for getopt
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 [email protected]
immediately.)


-- 
542851: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=542851
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libpaper
Version: 1.1.23+nmu1
Severity: normal
Tags: patch


paperconf uses getopt(3) to parse command-line options, but it uses getopt.h
rather than the correct unistd.h. This doesn't make a difference on Linux
since getopt.h (which defines getopt_long and friends) pulls in unistd.h
anyway, but it prevents it from building on Solaris.

The fix is straightforward:

diff -x config.log -x config.status -ru 
tmp/libpaper-1.1.23+nmu1/src/paperconf.c 
work/libpaper-1.1.23+nmu1/src/paperconf.c
--- tmp/libpaper-1.1.23+nmu1/src/paperconf.c>   2007-09-26 07:13:38.000000000 
+0100
+++ work/libpaper-1.1.23+nmu1/src/paperconf.c>  2009-08-21 20:00:03.000000000 
+0100
@@ -6,7 +6,7 @@
 #include <sys/param.h>
.
 #include <ctype.h>
-#include <getopt.h>
+#include <unistd.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>

-- System Information:
Debian Release: 5.0.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



--- End Message ---
--- Begin Message ---
Source: libpaper
Source-Version: 1.1.24+nmu2

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

libpaper-dev_1.1.24+nmu2_amd64.deb
  to main/libp/libpaper/libpaper-dev_1.1.24+nmu2_amd64.deb
libpaper-utils_1.1.24+nmu2_amd64.deb
  to main/libp/libpaper/libpaper-utils_1.1.24+nmu2_amd64.deb
libpaper1_1.1.24+nmu2_amd64.deb
  to main/libp/libpaper/libpaper1_1.1.24+nmu2_amd64.deb
libpaper_1.1.24+nmu2.dsc
  to main/libp/libpaper/libpaper_1.1.24+nmu2.dsc
libpaper_1.1.24+nmu2.tar.gz
  to main/libp/libpaper/libpaper_1.1.24+nmu2.tar.gz



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.
Wookey <[email protected]> (supplier of updated libpaper 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.8
Date: Wed, 02 May 2012 17:52:10 +0000
Source: libpaper
Binary: libpaper1 libpaper-utils libpaper-dev
Architecture: source amd64
Version: 1.1.24+nmu2
Distribution: unstable
Urgency: low
Maintainer: Giuseppe Sacco <[email protected]>
Changed-By: Wookey <[email protected]>
Description: 
 libpaper-dev - library for handling paper characteristics (development files)
 libpaper-utils - library for handling paper characteristics (utilities)
 libpaper1  - library for handling paper characteristics
Closes: 475683 542851 649672
Changes: 
 libpaper (1.1.24+nmu2) unstable; urgency=low
 .
   * Add multiarch support (Closes: #649672)
   * Fix option-parsing headers for non-linux OSes (Closes: #542851)
   * Correct DL size in paperconf (Closes: #475683)
Checksums-Sha1: 
 b8092d1661fab32899526a9cca2b880cb70407b0 949 libpaper_1.1.24+nmu2.dsc
 40f16453d7752bf5e3c9e74515650eb37edbb3fe 361130 libpaper_1.1.24+nmu2.tar.gz
 c4d1b04ecbc7a82c0f66e0118b74e74f882182c4 22000 libpaper1_1.1.24+nmu2_amd64.deb
 73014f6cbda3d4c70ef4efb8e42e9f64129de328 18324 
libpaper-utils_1.1.24+nmu2_amd64.deb
 8ab5512dd045fc1543feed4b56fa894977f56d59 17826 
libpaper-dev_1.1.24+nmu2_amd64.deb
Checksums-Sha256: 
 3e6d2a32d99a0d302e72862e875efdff74d2af747a277b9629f5cbcad4658c17 949 
libpaper_1.1.24+nmu2.dsc
 c5bdd6d9dff179699160675dbb61651d9b3158f6da27558fdaba00e7c427ba96 361130 
libpaper_1.1.24+nmu2.tar.gz
 6dd5318ac6c205031442fc9c919de7a58ea5ece5a7bfdcf8f05c86c96137009f 22000 
libpaper1_1.1.24+nmu2_amd64.deb
 3d0190a8efcb936679fb39e1fc4afde66539285c6d60b61a3c0e4385e0c35068 18324 
libpaper-utils_1.1.24+nmu2_amd64.deb
 f549e132a3e47a45ab2ccd3dc89ef6e81ebaf756ab339bc1c3acd1f4b9dff1a5 17826 
libpaper-dev_1.1.24+nmu2_amd64.deb
Files: 
 e60ae6d2a7ae4a47b1280c1d2ac9d3ff 949 libs optional libpaper_1.1.24+nmu2.dsc
 108ae122e539c03d0ca3e7b9456ffbce 361130 libs optional 
libpaper_1.1.24+nmu2.tar.gz
 876b38e32715f5b918bcc7f87089d092 22000 libs optional 
libpaper1_1.1.24+nmu2_amd64.deb
 4e6e86f444e2ac0545622e1f9d4ae491 18324 utils optional 
libpaper-utils_1.1.24+nmu2_amd64.deb
 0086fb66c0ba03729d80678d4ce5addc 17826 libdevel optional 
libpaper-dev_1.1.24+nmu2_amd64.deb

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

iD8DBQFPqsG/IWclcBdP7jURAlnZAJ46Rb6ezgFi8Djrf0ORmez70PPZAwCgg0WN
q3Wk7Ijbg+N1wIK1pUxnce8=
=wobW
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to