Your message dated Sat, 29 Jul 2006 14:02:54 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#374841: fixed in dvd+rw-tools 6.1-3
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: dvd+rw-tools
Severity: important
Version: 6.1-2
Tags: patch


Hi,

the current version fails to build on GNU/kFreeBSD.

It needs additional build-dependency and small changes to detection logic.
Please find attached patch with that.

It would also be nice if you can ask upstream
to include changes from 03-kfreebsd.dpatch.

Thanks in advance

                        Petr
diff -u dvd+rw-tools-6.1/debian/control dvd+rw-tools-6.1/debian/control
--- dvd+rw-tools-6.1/debian/control
+++ dvd+rw-tools-6.1/debian/control
@@ -2,7 +2,7 @@
 Section: utils
 Priority: optional
 Maintainer: Daniel Baumann <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 4.0.0), dpatch, m4, sharutils
+Build-Depends: debhelper (>= 4.0.0), dpatch, m4, sharutils, libcam-dev 
[kfreebsd-i386 kfreebsd-amd64]
 Standards-Version: 3.6.2
 
 Package: dvd+rw-tools
diff -u dvd+rw-tools-6.1/debian/patches/00list 
dvd+rw-tools-6.1/debian/patches/00list
--- dvd+rw-tools-6.1/debian/patches/00list
+++ dvd+rw-tools-6.1/debian/patches/00list
@@ -2,0 +3 @@
+03-kfreebsd
only in patch2:
unchanged:
--- dvd+rw-tools-6.1.orig/debian/patches/03-kfreebsd.dpatch
+++ dvd+rw-tools-6.1/debian/patches/03-kfreebsd.dpatch
@@ -0,0 +1,79 @@
+#!/bin/sh /usr/share/dpatch/dpatch-run
+## DP: support for GNU/kFreeBSD
+
[EMAIL PROTECTED]@
+
+only in patch2:
+unchanged:
+--- dvd+rw-tools-6.1.orig/Makefile.m4
++++ dvd+rw-tools-6.1/Makefile.m4
+@@ -14,6 +14,7 @@
+ ifelse(OS,NetBSD,[define([OS],[BSD])CXXFLAGS+=-D__unix])
+ ifelse(OS,OpenBSD,[define([OS],[BSD])])
+ ifelse(OS,FreeBSD,[define([OS],[BSD])LDLIBS=-lcam])
++ifelse(OS,GNU/kFreeBSD,[define([OS],[Linux])LDLIBS=-lcam])
+ ifelse(OS,IRIX64,[define([OS],[IRIX])])
+ 
+ ifelse(OS,MINGW32,[
+@@ -170,7 +170,7 @@
+ CFLAGS        +=$(WARN) -O2 -D_REENTRANT
+ CXX   =g++
+ CXXFLAGS+=$(WARN) -O2 -fno-exceptions -D_REENTRANT
+-LDLIBS        =-lpthread
++LDLIBS        +=-lpthread
+ LINK.o        =$(LINK.cc)
+ 
+ prefix?=/usr/local
+only in patch2:
+unchanged:
+--- dvd+rw-tools-6.1.orig/transport.hxx
++++ dvd+rw-tools-6.1/transport.hxx
+@@ -471,7 +471,7 @@
+     { return 1;   }
+ };
+ 
+-#elif defined(__FreeBSD__)
++#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
+ 
+ #include <sys/ioctl.h>
+ #include <camlib.h>
+only in patch2:
+unchanged:
+--- dvd+rw-tools-6.1.orig/growisofs.c
++++ dvd+rw-tools-6.1/growisofs.c
+@@ -367,7 +367,7 @@
+ #define _LARGEFILE64_SOURCE
+ #define _FILE_OFFSET_BITS 64
+ 
+-#if defined(__linux)
++#if defined(__linux) || defined(__GLIBC__)
+ /* ... and "engage" glibc large file support */
+ # ifndef _GNU_SOURCE
+ #  define _GNU_SOURCE
+@@ -418,7 +418,7 @@
+ # define FATAL_START(e)       (0x80|(e))
+ # define FATAL_MASK    0x7F
+ 
+-#ifdef __FreeBSD__
++#if defined (__FreeBSD__) || defined (__FreeBSD_kernel__)
+ # include <sys/syscall.h>
+ # ifndef SYS_mlockall
+ #  define SYS_mlockall 324
+@@ -856,7 +856,7 @@
+     goto open_rw;
+ }
+ 
+-#elif defined(__FreeBSD__)
++#elif defined(__FreeBSD__) || defined (__FreeBSD_kernel__)
+ 
+ #include <sys/cdio.h>
+ #include <camlib.h>
+@@ -2263,7 +2263,7 @@
+           if (setrlimit(RLIMIT_MEMLOCK,&rlim)) break;
+       }
+ # endif
+-# ifdef __FreeBSD__
++# if defined (__FreeBSD__) || defined (__FreeBSD_kernel__)
+       syscall(SYS_mlockall,3);
+ # else
+       mlockall(MCL_CURRENT|MCL_FUTURE);

--- End Message ---
--- Begin Message ---
Source: dvd+rw-tools
Source-Version: 6.1-3

We believe that the bug you reported is fixed in the latest version of
dvd+rw-tools, which is due to be installed in the Debian FTP archive:

dvd+rw-tools_6.1-3.diff.gz
  to pool/main/d/dvd+rw-tools/dvd+rw-tools_6.1-3.diff.gz
dvd+rw-tools_6.1-3.dsc
  to pool/main/d/dvd+rw-tools/dvd+rw-tools_6.1-3.dsc
dvd+rw-tools_6.1-3_i386.deb
  to pool/main/d/dvd+rw-tools/dvd+rw-tools_6.1-3_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.
Daniel Baumann <[EMAIL PROTECTED]> (supplier of updated dvd+rw-tools 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: Sat, 29 Jul 2006 20:54:00 +0200
Source: dvd+rw-tools
Binary: dvd+rw-tools
Architecture: source i386
Version: 6.1-3
Distribution: unstable
Urgency: low
Maintainer: Daniel Baumann <[EMAIL PROTECTED]>
Changed-By: Daniel Baumann <[EMAIL PROTECTED]>
Description: 
 dvd+rw-tools - DVD+-RW/R tools
Closes: 374841
Changes: 
 dvd+rw-tools (6.1-3) unstable; urgency=low
 .
   * New email address.
   * Bumped policy version.
   * Added patch from Petr Salinger <[EMAIL PROTECTED]> to support
     kfreebsd (Closes: #374841).
Files: 
 c004c202d0701646e31a7c04f0b8fb0a 639 utils optional dvd+rw-tools_6.1-3.dsc
 a754b89ba22739771af0b15cd87deaba 15060 utils optional 
dvd+rw-tools_6.1-3.diff.gz
 843bb745256441ae2710adb83b7a9b69 148342 utils optional 
dvd+rw-tools_6.1-3_i386.deb

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

iD8DBQFEy7Fm+C5cwEsrK54RAq0+AKCwd1RlZTY3MMywfYVPScDyh7uTygCffzD5
vFHCbfpnB9SXM1vmQkvYQow=
=L9RK
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to