pkg://yahtzee-1.0-188.src.rpm:41462/colour-yahtzee.dif
info downloads
--- Makefile
+++ Makefile 2000/05/30 09:05:53
@@ -9,7 +9,7 @@
CFLAGS = -O2 -I/usr/include/ncurses
$(BIN): $(OBJ)
- cc -o $@ $(OBJ) -lncurses -ltermcap
+ cc -o $@ $(OBJ) -L/usr/lib/termcap -L/usr/lib64/termcap -lncurses -ltermcap
clean:
rm -f $(OBJ) $(BIN)
--- config.h
+++ config.h 2000/05/30 09:39:16
@@ -1,7 +1,7 @@
#ifndef _config_H_
#define _config_H_
-#define SCOREDIR "/usr/games"
+#define SCOREDIR "/var/games/yahtzee"
#define SCOREFNAME "yahtzee.sco" /* must allow .L extension */
#define NUM_TOP_PLAYERS 10
@@ -13,7 +13,7 @@
a) has no rename, or
b) can't rename regular files if newname exists
*/
-#define HAS_RENAME /* comment out if you don't */
#endif
+#define HAS_RENAME /* comment out if you don't */
#endif /* _config_H_ */
--- main.c
+++ main.c 2000/05/30 09:05:53
@@ -4,7 +4,7 @@
#include <sys/stat.h>
#include <errno.h>
#include <signal.h>
-#include <ncurses/ncurses.h>
+#include <ncurses.h>
#include <stdarg.h>
#include "yahtzee.h"