summaryrefslogtreecommitdiff
path: root/audio/xmcd/patches
diff options
context:
space:
mode:
authormarino <marino@pkgsrc.org>2012-08-07 20:18:20 +0000
committermarino <marino@pkgsrc.org>2012-08-07 20:18:20 +0000
commit249dd0441f9dc94ce4f804356ac8c0a30b1b82cf (patch)
treebb363f1adfc6e6a870723e7733b1abc0d9f2d0bd /audio/xmcd/patches
parent182460d3dcf62ae85d5f6ba689d155a5d91c35b5 (diff)
downloadpkgsrc-249dd0441f9dc94ce4f804356ac8c0a30b1b82cf.tar.gz
audio/xmcd: Fix FreeBSD && regression on DragonFly
FreeBSD deprecated and removed libmytinfo years ago (before that it was an alias for -lcurses). DragonFly recently followed suit and consequently this package broke. Patch taken from FreeBSD ports -- it fixed DragonFly too.
Diffstat (limited to 'audio/xmcd/patches')
-rw-r--r--audio/xmcd/patches/patch-ab16
1 files changed, 12 insertions, 4 deletions
diff --git a/audio/xmcd/patches/patch-ab b/audio/xmcd/patches/patch-ab
index fd0e4a70f74..2ff747d360e 100644
--- a/audio/xmcd/patches/patch-ab
+++ b/audio/xmcd/patches/patch-ab
@@ -1,6 +1,7 @@
-$NetBSD: patch-ab,v 1.12 2003/06/13 10:55:26 cjep Exp $
---- cda_d/Imakefile.orig Wed Aug 8 01:15:13 2001
-+++ cda_d/Imakefile Tue Jun 10 13:29:21 2003
+$NetBSD: patch-ab,v 1.13 2012/08/07 20:18:20 marino Exp $
+
+--- cda_d/Imakefile.orig 2001-08-08 00:15:13.000000000 +0000
++++ cda_d/Imakefile
@@ -53,7 +53,13 @@
DEFINES= -DBSDCOMPAT -DUSE_TERMIOS
#else
@@ -16,7 +17,14 @@ $NetBSD: patch-ab,v 1.12 2003/06/13 10:55:26 cjep Exp $
#else
#if defined(__bsdi__)
.if exists(/usr/include/ncurses.h)
-@@ -127,11 +133,16 @@
+@@ -121,17 +127,22 @@ LOCAL_LIBRARIES=-L/usr/5lib -lcurses
+ LOCAL_LIBRARIES=-lncurses
+ #else
+ #if defined(FreeBSDArchitecture)
+-LOCAL_LIBRARIES=-lncurses -lmytinfo
++LOCAL_LIBRARIES=-lncurses
+ .if exists(/usr/include/camlib.h)
+ LOCAL_LIBRARIES+= -lcam
.endif
#else
#if defined(NetBSDArchitecture)