Date:2010-07-27 09:51:18 (10 years 6 months ago)
Author:kyak
Commit:01dfb9450db1363a88ee74cbcf485a7628b0b61d
Message:bsd-games: tetris scores is now in /usr/share/games/tetris-bsd.scores; patch cleanup

Files: bsd-games/Makefile (1 diff)
bsd-games/patches/001-tetris.patch (2 diffs)

Change Details

bsd-games/Makefile
4848define Package/tetris/install
4949    $(INSTALL_DIR) \
5050        $(1)/usr/bin \
51        $(1)/var/games
51        $(1)/usr/share/games
5252
5353    $(INSTALL_BIN) \
5454        $(PKG_BUILD_DIR)/tetris/tetris \
bsd-games/patches/001-tetris.patch
1010 again:
1111     set[0].fd = STDIN_FILENO;
1212     set[0].events = POLLIN;
13Файлы bsd-games-2.17/tetris/input.o и bsd-games-2.17-p/tetris/input.o различаются
13diff -u bsd-games-2.17/tetris/pathnames.h.in bsd-games-2.17-p/tetris/pathnames.h.in
14--- bsd-games-2.17/tetris/pathnames.h.in 2003-12-17 05:47:37.000000000 +0300
15@@ -34,4 +34,4 @@
16  * @(#)pathnames.h 8.1 (Berkeley) 5/31/93
17  */
18
19-#define _PATH_SCOREFILE "@tetris_scorefile@"
20+#define _PATH_SCOREFILE "/usr/share/games/tetris-bsd.scores"
1421diff -u bsd-games-2.17/tetris/screen.c bsd-games-2.17-p/tetris/screen.c
1522--- bsd-games-2.17/tetris/screen.c 2004-01-27 23:52:07.000000000 +0300
1623+++ bsd-games-2.17-p/tetris/screen.c 2010-07-26 22:04:34.422151495 +0400
...... 
3139     newtt.c_oflag &= ~OXTABS;
3240     newtt.c_cc[VMIN] = 1;
3341     newtt.c_cc[VTIME] = 0;
34Файлы bsd-games-2.17/tetris/screen.o и bsd-games-2.17-p/tetris/screen.o различаются
3542diff -u bsd-games-2.17/tetris/shapes.c bsd-games-2.17-p/tetris/shapes.c
3643--- bsd-games-2.17/tetris/shapes.c 2003-12-17 05:47:37.000000000 +0300
3744+++ bsd-games-2.17-p/tetris/shapes.c 2010-07-27 09:30:41.267111585 +0400

Archive Download the corresponding diff file



interactive