Change Details
| bsd-games/Makefile |
| 29 | 29 | define Build/Compile |
| 30 | 30 | #Building tetris |
| 31 | 31 | cd $(PKG_BUILD_DIR)/tetris; \ |
| 32 | | mv pathnames.h.in pathnames.h; \ |
| 32 | cp pathnames.h.in pathnames.h; \ |
| 33 | 33 | $(TARGET_CC) -c -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -I$(STAGING_DIR)/usr/include input.c screen.c shapes.c scores.c tetris.c; \ |
| 34 | 34 | $(TARGET_CC) -lncurses -L$(STAGING_DIR)/usr/lib -o tetris input.o screen.o shapes.o scores.o tetris.o |
| 35 | 35 | |
| bsd-games/patches/001-tetris.patch |
| 62 | 62 | board[pos + *o++] = onoff; |
| 63 | 63 | diff -u bsd-games-2.17/tetris/tetris.c bsd-games-2.17-p/tetris/tetris.c |
| 64 | 64 | --- bsd-games-2.17/tetris/tetris.c 2004-01-27 23:52:07.000000000 +0300 |
| 65 | | +++ bsd-games-2.17-p/tetris/tetris.c 2010-07-26 22:04:34.430557133 +0400 |
| 66 | 65 | @@ -35,10 +35,10 @@ |
| 67 | 66 | */ |
| 68 | 67 | |
| ... | ... | |
| 76 | 76 | |
| 77 | 77 | /* |
| 78 | 78 | * Tetris (or however it is spelled). |
| 79 | @@ -145,7 +145,7 @@ |
| 80 | exit(1); |
| 81 | close(fd); |
| 82 | |
| 83 | - keys = "jkl pq"; |
| 84 | + keys = "aks pq"; |
| 85 | |
| 86 | while ((ch = getopt(argc, argv, "k:l:ps")) != -1) |
| 87 | switch(ch) { |
| bsd-games/patches/002-primes.patch |
| 43 | 43 | |
| 44 | 44 | /* |
| 45 | 45 | * primes - generate a table of primes between two values |
| 46 | | diff -u bsd-games-2.17/primes/primes.h bsd-games-2.17-p/primes/primes.h |
| 47 | | +++ bsd-games-2.17-p/primes/primes.h 2010-07-27 10:03:25.333608205 +0400 |
| 48 | | @@ -48,3 +48,5 @@ |
| 49 | | |
| 50 | | /* bytes in sieve table (must be > 3*5*7*11) */ |
| 51 | | #define TABSIZE 256*1024 |
| 52 | | + |
| 53 | | +int isblank(int c); |
| 54 | 46 | diff -u bsd-games-2.17/primes/pr_tbl.c bsd-games-2.17-p/primes/pr_tbl.c |
| 55 | 47 | --- bsd-games-2.17/primes/pr_tbl.c 2003-12-17 05:47:37.000000000 +0300 |
| 56 | 48 | +++ bsd-games-2.17-p/primes/pr_tbl.c 2010-07-27 09:08:15.198301714 +0400 |
| kbd/Makefile |
| 32 | 32 | endef |
| 33 | 33 | |
| 34 | 34 | define Package/kbd/install |
| 35 | | $(INSTALL_DIR) $(1)/usr/sbin |
| 36 | | for f in setfont psfxtable setmetamode unicode_stop kbdrate loadkeys kbd_mode showconsolefont loadunimap unicode_start deallocvt openvt getkeycodes showkey setleds cad chvt mapscrn fgconsole setkeycodes; do \ |
| 37 | | $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/$$$$f $(1)/usr/sbin;\ |
| 35 | $(INSTALL_DIR) $(1)/usr/bin |
| 36 | for f in setfont psfxtable setmetamode unicode_stop kbdrate loadkeys kbd_mode showconsolefont loadunimap unicode_start deallocvt openvt getkeycodes showkey setleds cad chvt mapscrn fgconsole setkeycodes dumpkeys; do \ |
| 37 | $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/$$$$f $(1)/usr/bin;\ |
| 38 | 38 | done |
| 39 | 39 | endef |
| 40 | 40 | |
Download the corresponding diff file