pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/cdrdao Need to include "util.h" for strdupCC.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e4abfc993fae
branches:  trunk
changeset: 569143:e4abfc993fae
user:      obache <obache%pkgsrc.org@localhost>
date:      Sun Jan 10 05:39:29 2010 +0000

description:
Need to include "util.h" for strdupCC.
Fixes build failure on DragonFly (and probably on FreeBSD),
noticed by Rumko via PR#42601.

diffstat:

 sysutils/cdrdao/distinfo         |   4 ++--
 sysutils/cdrdao/patches/patch-ah |  14 +++++++++++---
 2 files changed, 13 insertions(+), 5 deletions(-)

diffs (41 lines):

diff -r a2151205765c -r e4abfc993fae sysutils/cdrdao/distinfo
--- a/sysutils/cdrdao/distinfo  Sat Jan 09 22:20:31 2010 +0000
+++ b/sysutils/cdrdao/distinfo  Sun Jan 10 05:39:29 2010 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.21 2009/11/22 21:05:17 drochner Exp $
+$NetBSD: distinfo,v 1.22 2010/01/10 05:39:29 obache Exp $
 
 SHA1 (cdrdao-1.2.3.tar.bz2) = 70d6547795a1342631c7ab56709fd1940c2aff9f
 RMD160 (cdrdao-1.2.3.tar.bz2) = a162bdf2bc4d65581816d3a9e3c0d3ba66bb6523
@@ -9,7 +9,7 @@
 SHA1 (patch-ae) = 3243fc8a0b81aa7ef49940c5fbadb70e094d16cf
 SHA1 (patch-af) = 6db55b356b6f78f26472f710ecef2f98ce0051ca
 SHA1 (patch-ag) = e5466c41d1f6e492a57588ccbc2cdfe5696b0a8a
-SHA1 (patch-ah) = 1ec8be46c29c4af2f5fdecccae5b2aa4a7f9893f
+SHA1 (patch-ah) = a1c82bed76fee272e4afffdcad0a7e5c101f235c
 SHA1 (patch-ai) = cf46de1a2d0d466bcdb30d9123f17de7c571d6b2
 SHA1 (patch-aj) = 16bd87d3217019a07af3441f0593db2496cd7279
 SHA1 (patch-al) = eba32acd367714c668feb2662a486476577d0643
diff -r a2151205765c -r e4abfc993fae sysutils/cdrdao/patches/patch-ah
--- a/sysutils/cdrdao/patches/patch-ah  Sat Jan 09 22:20:31 2010 +0000
+++ b/sysutils/cdrdao/patches/patch-ah  Sun Jan 10 05:39:29 2010 +0000
@@ -1,8 +1,16 @@
-$NetBSD: patch-ah,v 1.1 2004/07/19 02:21:57 fredb Exp $
+$NetBSD: patch-ah,v 1.2 2010/01/10 05:39:30 obache Exp $
 
---- dao/ScsiIf-freebsd-cam.cc.orig     2001-09-03 12:37:42.000000000 -0500
+--- dao/ScsiIf-freebsd-cam.cc.orig     2007-12-29 12:26:33.000000000 +0000
 +++ 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 @@ int ScsiIf::inquiry()
        for (i = 3; i >= 0 && revision_[i] == ' '; i--)
                revision_[i] = 0;
  



Home | Main Index | Thread Index | Old Index