pkgsrc-Bugs archive

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

pkg/42601: [PATCH] sysutils/cdrdao does not compile on DragonFly BSD (and probably on FreeBSD as well)



>Number:         42601
>Category:       pkg
>Synopsis:       [PATCH] sysutils/cdrdao does not compile on DragonFly BSD (and 
>probably on FreeBSD as well)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 09 22:35:00 +0000 2010
>Originator:     Rumko
>Release:        /
>Organization:
>Environment:
DragonFly rumko.rumko.net 2.5.1-DEVELOPMENT DragonFly 
v2.5.1.537.g8f505-DEVELOPMENT #60: Wed Jan  6 03:57:11 CET 2010     
root%rumko.rumko.net@localhost:/usr/obj/usr/src/sys/MYPRECIOUS  i386
>Description:
ScsiIf-freebsd-cam.cc calls strdupCC but "info.h" has to be included to use it.
>How-To-Repeat:

>Fix:
From 1a7f620ef669c6eaddfde6d227dbd24196f6ccba Mon Sep 17 00:00:00 2001
From: Rumko <rumcic%gmail.com@localhost>
Date: Sat, 9 Jan 2010 22:16:27 +0100
Subject: [PATCH 2/2] Missing include in cdrdao's source.

ScsiIf-freebsd-cam.cc calls strdupCC but you need to include "info.h" to use it.
---
 sysutils/cdrdao/distinfo         |    2 +-
 sysutils/cdrdao/patches/patch-ah |   10 +++++++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/sysutils/cdrdao/distinfo b/sysutils/cdrdao/distinfo
index 7125a2a..dfc6c4d 100644
--- a/sysutils/cdrdao/distinfo
+++ b/sysutils/cdrdao/distinfo
@@ -9,7 +9,7 @@ SHA1 (patch-ad) = b2baa69007fce6637049b9cf6fd0b95ef94560e3
 SHA1 (patch-ae) = 3243fc8a0b81aa7ef49940c5fbadb70e094d16cf
 SHA1 (patch-af) = 6db55b356b6f78f26472f710ecef2f98ce0051ca
 SHA1 (patch-ag) = e5466c41d1f6e492a57588ccbc2cdfe5696b0a8a
-SHA1 (patch-ah) = 1ec8be46c29c4af2f5fdecccae5b2aa4a7f9893f
+SHA1 (patch-ah) = 29737d78717b2fe8ab585589a7fe7ee58a024699
 SHA1 (patch-ai) = cf46de1a2d0d466bcdb30d9123f17de7c571d6b2
 SHA1 (patch-aj) = 16bd87d3217019a07af3441f0593db2496cd7279
 SHA1 (patch-al) = eba32acd367714c668feb2662a486476577d0643
diff --git a/sysutils/cdrdao/patches/patch-ah b/sysutils/cdrdao/patches/patch-ah
index e2527f0..c535dc0 100644
--- a/sysutils/cdrdao/patches/patch-ah
+++ b/sysutils/cdrdao/patches/patch-ah
@@ -2,7 +2,15 @@ $NetBSD: patch-ah,v 1.1 2004/07/19 02:21:57 fredb Exp $
 
 --- dao/ScsiIf-freebsd-cam.cc.orig     2001-09-03 12:37:42.000000000 -0500
 +++ dao/ScsiIf-freebsd-cam.cc
-@@ -220,6 +220,12 @@
+@@ -32,6 +32,7 @@
+ 
+ #include "ScsiIf.h"
+ #include "log.h"
++#include "util.h"
+ 
+ #define DEF_RETRY_COUNT 1
+ 
+@@ -220,6 +221,12 @@
        for (i = 3; i >= 0 && revision_[i] == ' '; i--)
                revision_[i] = 0;
  
-- 
1.6.4



Home | Main Index | Thread Index | Old Index