summaryrefslogtreecommitdiff
path: root/audio/cmp3/patches/patch-ab
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2002-02-24 22:36:48 +0000
committerwiz <wiz@pkgsrc.org>2002-02-24 22:36:48 +0000
commit13632a2b387da27338544c7d45efabe627908651 (patch)
tree1995b732f06157a3cdbbee4bf8917bf82a49404a /audio/cmp3/patches/patch-ab
parent3b0ed9803cf3a2dcae49a6361c4229a1b3332ce3 (diff)
downloadpkgsrc-13632a2b387da27338544c7d45efabe627908651.tar.gz
Buildlinkify.
Diffstat (limited to 'audio/cmp3/patches/patch-ab')
-rw-r--r--audio/cmp3/patches/patch-ab16
1 files changed, 9 insertions, 7 deletions
diff --git a/audio/cmp3/patches/patch-ab b/audio/cmp3/patches/patch-ab
index 2c40b12ffad..2a99878e169 100644
--- a/audio/cmp3/patches/patch-ab
+++ b/audio/cmp3/patches/patch-ab
@@ -1,18 +1,20 @@
-$NetBSD: patch-ab,v 1.1.1.1 2001/02/10 14:18:35 hubertf Exp $
+$NetBSD: patch-ab,v 1.2 2002/02/24 22:36:49 wiz Exp $
---- cmp3.h.orig Fri Mar 17 09:14:10 2000
-+++ cmp3.h Fri Feb 9 23:26:16 2001
-@@ -1,7 +1,12 @@
+--- cmp3.h.orig Fri Mar 17 02:14:10 2000
++++ cmp3.h
+@@ -1,10 +1,11 @@
#ifndef _CMP3_H
#define _CMP3_H
-#include<curses.h>
+-
+-#ifndef NCURSES_VERSION
+- #error "This program requires ncurses to function"
+#if defined(__FreeBSD__) || defined(__NetBSD__)
+#include <ncurses.h>
+#include <termios.h>
+#else
+#include <curses.h>
-+#endif
+ #endif
- #ifndef NCURSES_VERSION
- #error "This program requires ncurses to function"
+ #include <signal.h>