Files
pkgsrc-ng/audio/cmp3/patches/patch-ab
2016-11-18 22:39:22 +01:00

26 lines
571 B
Plaintext

$NetBSD: patch-ab,v 1.7 2015/12/29 04:04:26 dholland Exp $
--- cmp3.h.orig 2001-07-01 05:38:08.000000000 +0100
+++ cmp3.h 2013-10-14 14:11:00.000000000 +0100
@@ -1,17 +1,10 @@
#ifndef _CMP3_H
#define _CMP3_H
-#if defined(__FreeBSD__)
-#include <ncurses.h>
-#include <termios.h>
-#else
+/* pkgsrc will link ncurses.h to curses.h correctly
+ * as configure doesn't work this out */
#include <curses.h>
-#endif
-
-
-#ifndef NCURSES_VERSION
- #error "This program requires ncurses to function"
-#endif
+#include <termios.h>
#include <signal.h>
#include <dirent.h>