Your message dated Tue, 01 Sep 2009 00:46:29 +0000
with message-id <[email protected]>
and subject line Bug#540137: fixed in unworkable 0.52-1
has caused the Debian Bug report #540137,
regarding unworkable: FTBFS on GNU/kFreeBSD
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.)


-- 
540137: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=540137
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: unworkable
Version: 0.51-5
Severity: important
Tags: patch
User: [email protected]
Usertags: kfreebsd

Hi,

the current version fails to build on GNU/kFreeBSD.

It needs small tweaks for GNUmakefile and torrent.c,
see bellow. The change in torrent.c is add " || defined(__GLIBC__)"
and move conditional inclusion after all standard headers.

It would also be nice if you can ask upstream
to include this changes.

Thanks in advance

                        Petr



diff -u unworkable-0.51/GNUmakefile unworkable-0.51/GNUmakefile
--- unworkable-0.51/GNUmakefile
+++ unworkable-0.51/GNUmakefile
@@ -27,7 +27,7 @@
 SRCS=$(wildcard *.c *.y)
 LIBS=-levent -lcrypto
 UNAME=$(shell uname)
-ifeq ($(UNAME),Linux)
+ifneq (, $(filter Linux GNU GNU/%, $(UNAME)))
 SRCS+=openbsd-compat/strlcpy.c
 SRCS+=openbsd-compat/strlcat.c
 SRCS+=openbsd-compat/sha1.c
only in patch2:
unchanged:
--- unworkable-0.51.orig/torrent.c
+++ unworkable-0.51/torrent.c
@@ -15,15 +15,6 @@
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */

-#if defined(__linux__) || defined(__CYGWIN__)
-#include <sys/file.h>
-#endif
-
-/* solaris 10 */
-#if defined(__SVR4) && defined(__sun)
-#include "/usr/ucbinclude/sys/file.h"
-#endif
-
 #include <sys/types.h>
 #include <sys/mman.h>
 #include <sys/param.h>
@@ -41,6 +32,15 @@
 #include <time.h>
 #include <unistd.h>

+#if defined(__linux__) || defined(__CYGWIN__) || defined(__GLIBC__)
+#include <sys/file.h>
+#endif
+
+/* solaris 10 */
+#if defined(__SVR4) && defined(__sun)
+#include "/usr/ucbinclude/sys/file.h"
+#endif
+
 #include "includes.h"






--- End Message ---
--- Begin Message ---
Source: unworkable
Source-Version: 0.52-1

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

unworkable_0.52-1.diff.gz
  to pool/main/u/unworkable/unworkable_0.52-1.diff.gz
unworkable_0.52-1.dsc
  to pool/main/u/unworkable/unworkable_0.52-1.dsc
unworkable_0.52-1_amd64.deb
  to pool/main/u/unworkable/unworkable_0.52-1_amd64.deb
unworkable_0.52.orig.tar.gz
  to pool/main/u/unworkable/unworkable_0.52.orig.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.
Michael Stapelberg <[email protected]> (supplier of updated unworkable 
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: Tue, 01 Sep 2009 00:55:57 +0200
Source: unworkable
Binary: unworkable
Architecture: source amd64
Version: 0.52-1
Distribution: unstable
Urgency: low
Maintainer: Michael Stapelberg <[email protected]>
Changed-By: Michael Stapelberg <[email protected]>
Description: 
 unworkable - efficient, simple and secure bittorrent client
Closes: 540137
Changes: 
 unworkable (0.52-1) unstable; urgency=low
 .
   * New upstream version
   * Fixes FTBFS on GNU/kFreeBSD (Closes: #540137)
   * Bump standards version to 3.8.2
Checksums-Sha1: 
 2b58e838ce029739b47bf23d4b0c8f0a90560e49 1065 unworkable_0.52-1.dsc
 ec0681f1f5edcc3c8f44e765a02b681c0aa0b272 75264 unworkable_0.52.orig.tar.gz
 1a932dbf8cff915b1c2bb585adf6084e64980094 2093 unworkable_0.52-1.diff.gz
 5b74bba58843c747988bb0c03c66a1170e755ce3 39696 unworkable_0.52-1_amd64.deb
Checksums-Sha256: 
 003a4379c446c1531aba676a07bb454ee84fee25ed0d9bc77e03b77df9db14a8 1065 
unworkable_0.52-1.dsc
 c8f4a14cd17eec9beb4db36c678e9f4f929a38f75ceed8683aa9c30b00bf3ae3 75264 
unworkable_0.52.orig.tar.gz
 1629633d6c0efa189344c100da960600d12a1555cc8f6d0cba74ac614f28bdfb 2093 
unworkable_0.52-1.diff.gz
 e233a6a1256fcb404362cd3187f5774a620e92c5bf7bd67336e9968f9d138d65 39696 
unworkable_0.52-1_amd64.deb
Files: 
 70568f5cdc87ab6168d706f8620b972f 1065 net optional unworkable_0.52-1.dsc
 c63ed36252e00ecb39b5454f2a5928da 75264 net optional unworkable_0.52.orig.tar.gz
 64a99c4d8dd52c876c27031a8df8b0af 2093 net optional unworkable_0.52-1.diff.gz
 cfc1996e5ff34726d143e6b6165155eb 39696 net optional unworkable_0.52-1_amd64.deb

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

iEYEARECAAYFAkqcWGkACgkQ9su5nWW3kMKlFQCg2OCSbYGt4naxr/ugQc5YTgfb
ud8AoM4VPLLJgRJX59UfZT5Z0dmYgArs
=IXKT
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to