Browse Source

Clifford Wolf:


			
			
				rocklinux
			
			
		
Clifford Wolf 19 years ago
parent
commit
88ac70f3a1
2 changed files with 22 additions and 2 deletions
  1. +2
    -2
      package/base/bsd-games/bsd-games.desc
  2. +20
    -0
      package/base/bsd-games/pc_sym_hack.patch

+ 2
- 2
package/base/bsd-games/bsd-games.desc

@ -82,8 +82,8 @@
[L] BSD
[S] Stable
[V] 2.16
[V] 2.17
[P] X -?---5---9 114.700
[D] 4099866631 bsd-games-2.16.tar.gz ftp://metalab.unc.edu/pub/Linux/games/
[D] 1330333793 bsd-games-2.17.tar.gz ftp://metalab.unc.edu/pub/Linux/games/

+ 20
- 0
package/base/bsd-games/pc_sym_hack.patch

@ -0,0 +1,20 @@
--- ./hack/hack.termcap.c.orig 2005-06-01 13:08:46.361608016 +0200
+++ ./hack/hack.termcap.c 2005-06-01 13:09:16.788982352 +0200
@@ -80,7 +80,7 @@
char *HO, *CL, *CE, *UP, *CM, *ND, *XD, *BC, *SO, *SE, *TI, *TE;
static char *VS, *VE;
static int SG;
-char PC = '\0';
+char PC_my = '\0';
char *CD; /* tested in pri.c: docorner() */
int CO, LI; /* used in pri.c and whatis.c */
@@ -101,7 +101,7 @@
if (tgetent(tptr, term) < 1)
error("Unknown terminal type: %s.", term);
if ((pc = tgetstr("pc", &tbufptr)) != NULL)
- PC = *pc;
+ PC_my = *pc;
if (!(BC = tgetstr("bc", &tbufptr))) {
if (!tgetflag("bs"))
error("Terminal must backspace.");

Loading…
Cancel
Save