openbsd-ports/games/omega/patches/patch-defs_h

26 lines
756 B
Plaintext
Raw Normal View History

$OpenBSD: patch-defs_h,v 1.1.1.1 2001/07/28 16:31:47 lebel Exp $
--- defs.h.orig Thu Dec 31 19:07:57 1998
+++ defs.h Fri Jul 27 20:59:03 2001
@@ -45,7 +45,9 @@ on save and restore. */
This might usually be "/usr/games/lib/omegalib/", for unix,
or something like "c:\\games\\omega\\omegalib\\" for msdos */
+#ifndef OMEGALIB
#define OMEGALIB "./lib/"
+#endif
/* Comment the following line out if you want users to be able to override */
/* the OMEGALIB define, above, by setting the environment variable OMEGALIB */
@@ -570,7 +572,11 @@ on save and restore. */
/* WDT: thank goodness for that lack of implementation. */
#else
+#ifdef __FreeBSD__
+#include <ncurses.h>
+#else
#include <curses.h>
+#endif
#define COL_FG_BLINK A_BLINK