summaryrefslogtreecommitdiff
path: root/audio/trm
diff options
context:
space:
mode:
authormarino <marino@pkgsrc.org>2011-11-23 19:15:08 +0000
committermarino <marino@pkgsrc.org>2011-11-23 19:15:08 +0000
commitbf8244053b049d752ea70147b4b0af4124969137 (patch)
tree573878f4f71e59b2cc876369f0cf0d0ff2e49a95 /audio/trm
parent48eff819093ec8d11744c949e081a8e109a045a9 (diff)
downloadpkgsrc-bf8244053b049d752ea70147b4b0af4124969137.tar.gz
audio/trm: Fix DragonFly breakage
Conditionally add <strings.h> for DragonFly. No PKGREVISION bump required.
Diffstat (limited to 'audio/trm')
-rw-r--r--audio/trm/distinfo3
-rw-r--r--audio/trm/patches/patch-ad14
2 files changed, 16 insertions, 1 deletions
diff --git a/audio/trm/distinfo b/audio/trm/distinfo
index fdacf34d2a1..6073e06e6a6 100644
--- a/audio/trm/distinfo
+++ b/audio/trm/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2010/02/01 01:50:04 joerg Exp $
+$NetBSD: distinfo,v 1.5 2011/11/23 19:15:08 marino Exp $
SHA1 (trm-0.2.1.tar.gz) = ea032c38ca83266026e0c10919749814282994e9
RMD160 (trm-0.2.1.tar.gz) = fb74d692920af62a7fcbbacfb32cd0e277e56126
@@ -6,3 +6,4 @@ Size (trm-0.2.1.tar.gz) = 131349 bytes
SHA1 (patch-aa) = 152a7b8503ca887c641aeedfdd78f2520b88763b
SHA1 (patch-ab) = 909c55da818a72b687c88c69a4e8d682f5a02df5
SHA1 (patch-ac) = a189db1a7b5b85baa0cd813e10869146045303c7
+SHA1 (patch-ad) = 096e594963d5419617e92ddacaff4fdc8ce226fc
diff --git a/audio/trm/patches/patch-ad b/audio/trm/patches/patch-ad
new file mode 100644
index 00000000000..66dd2c6068e
--- /dev/null
+++ b/audio/trm/patches/patch-ad
@@ -0,0 +1,14 @@
+$NetBSD: patch-ad,v 1.1 2011/11/23 19:15:08 marino Exp $
+
+--- mbid3.cpp.orig 2002-10-02 09:02:56.000000000 +0000
++++ mbid3.cpp
+@@ -6,6 +6,9 @@
+ #ifdef HAVE_LIBID3
+
+ #include <stdio.h>
++#if defined (__DragonFly__)
++#include <string.h>
++#endif
+ #include "mbid3.h"
+
+ #define DB Debug_v("%s:%d", __FILE__, __LINE__);