[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#644643: cdrdao: Patch for kfreebsd



Package: src:cdrdao
Version: 1:1.2.3-0.2
Severity: important
Tags: sid wheezy patch
User: debian-bsd@lists.debian.org
Usertags: kfreebsd
X-Debbugs-Cc: debian-bsd@lists.debian.org

Hi!

Your package failed to build on kfreebsd-*. The following patch +
autoreconfing fixes this problem (the second hunk might well be a
upstream problem also causing trouble for plain freebsd):

--- cdrdao-1.2.3.orig/configure.ac
+++ cdrdao-1.2.3/configure.ac
@@ -257,7 +257,7 @@ else
 	       scsilib_objs="ScsiIf-linux.o sg_err.o"
 	       ;;
     
-    *-freebsd*)
+    *-*freebsd*)
 	       scsilib_libs="-lcam"
 	       scsilib_objs="ScsiIf-freebsd-cam.o"
 	       ;;
--- cdrdao-1.2.3.orig/dao/ScsiIf-freebsd-cam.cc
+++ cdrdao-1.2.3/dao/ScsiIf-freebsd-cam.cc
@@ -33,6 +33,8 @@
 #include "ScsiIf.h"
 #include "log.h"
 
+#include "util.h"
+
 #define DEF_RETRY_COUNT 1
 
 #include "decodeSense.cc"

Regards

    Christoph

-- 
9FED 5C6C E206 B70A 5857  70CA 9655 22B9 D49A E731
Debian Developer | Lisp Hacker | CaCert Assurer



Reply to: