1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-25 19:20:38 +02:00

Merge branch 'master' of projects.qi-hardware.com:openwrt-packages

This commit is contained in:
Mirko Vogt 2010-08-15 00:17:26 +00:00
commit 272a628402
5 changed files with 15 additions and 15 deletions

View File

@ -29,7 +29,7 @@ CFLAGS:=
define Build/Compile
#Building tetris
cd $(PKG_BUILD_DIR)/tetris; \
mv pathnames.h.in pathnames.h; \
cp pathnames.h.in pathnames.h; \
$(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; \
$(TARGET_CC) -lncurses -L$(STAGING_DIR)/usr/lib -o tetris input.o screen.o shapes.o scores.o tetris.o

View File

@ -62,7 +62,7 @@ diff -u bsd-games-2.17/tetris/shapes.c bsd-games-2.17-p/tetris/shapes.c
board[pos + *o++] = onoff;
diff -u bsd-games-2.17/tetris/tetris.c bsd-games-2.17-p/tetris/tetris.c
--- bsd-games-2.17/tetris/tetris.c 2004-01-27 23:52:07.000000000 +0300
+++ bsd-games-2.17-p/tetris/tetris.c 2010-07-26 22:04:34.430557133 +0400
+++ bsd-games-2.17-p/tetris/tetris.c 2010-08-12 12:21:29.685301361 +0400
@@ -35,10 +35,10 @@
*/
@ -76,3 +76,12 @@ diff -u bsd-games-2.17/tetris/tetris.c bsd-games-2.17-p/tetris/tetris.c
/*
* Tetris (or however it is spelled).
@@ -145,7 +145,7 @@
exit(1);
close(fd);
- keys = "jkl pq";
+ keys = "aks pq";
while ((ch = getopt(argc, argv, "k:l:ps")) != -1)
switch(ch) {

View File

@ -43,15 +43,6 @@ diff -u bsd-games-2.17/primes/primes.c bsd-games-2.17-p/primes/primes.c
/*
* primes - generate a table of primes between two values
diff -u bsd-games-2.17/primes/primes.h bsd-games-2.17-p/primes/primes.h
--- bsd-games-2.17/primes/primes.h 2003-12-17 05:47:37.000000000 +0300
+++ bsd-games-2.17-p/primes/primes.h 2010-07-27 10:03:25.333608205 +0400
@@ -48,3 +48,5 @@
/* bytes in sieve table (must be > 3*5*7*11) */
#define TABSIZE 256*1024
+
+int isblank(int c);
diff -u bsd-games-2.17/primes/pr_tbl.c bsd-games-2.17-p/primes/pr_tbl.c
--- bsd-games-2.17/primes/pr_tbl.c 2003-12-17 05:47:37.000000000 +0300
+++ bsd-games-2.17-p/primes/pr_tbl.c 2010-07-27 09:08:15.198301714 +0400

View File

@ -16,7 +16,7 @@ define Package/centerim
SECTION:=net
CATEGORY:=Network
SUBMENU:=Instant Messaging
DEPENDS:=+libncurses +libreadline +gpgme
DEPENDS:=+libncurses +libreadline +gpgme +libopenssl +libcurl
TITLE:=Universal IM client
URL:=http://www.centerim.org
endef

View File

@ -32,9 +32,9 @@ define Build/Configure
endef
define Package/kbd/install
$(INSTALL_DIR) $(1)/usr/sbin
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 \
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/$$$$f $(1)/usr/sbin;\
$(INSTALL_DIR) $(1)/usr/bin
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 \
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/$$$$f $(1)/usr/bin;\
done
endef