From 2975657fa146f02c0166cb3365bf9081edd193a9 Mon Sep 17 00:00:00 2001 From: kyak Date: Tue, 1 Feb 2011 20:55:33 +0300 Subject: [PATCH] backgammon: set 4x8 to avoid segfault --- bsd-games/Makefile | 4 ++++ bsd-games/files/backgammon.sh | 3 +++ 2 files changed, 7 insertions(+) create mode 100644 bsd-games/files/backgammon.sh diff --git a/bsd-games/Makefile b/bsd-games/Makefile index 24e762a..6e22fd9 100644 --- a/bsd-games/Makefile +++ b/bsd-games/Makefile @@ -114,6 +114,10 @@ define Package/backgammon/install $(INSTALL_BIN) \ $(PKG_BUILD_DIR)/backgammon/teachgammon/teachgammon \ $(1)/usr/bin/teachgammon + + $(INSTALL_BIN) \ + $(FILES_DIR)/backgammon.sh \ + $(1)/usr/bin/backgammon.sh endef $(eval $(call BuildPackage,tetris)) diff --git a/bsd-games/files/backgammon.sh b/bsd-games/files/backgammon.sh new file mode 100644 index 0000000..652de13 --- /dev/null +++ b/bsd-games/files/backgammon.sh @@ -0,0 +1,3 @@ +#!/bin/sh +/usr/sbin/setfont2 /usr/share/setfont2/un-fuzzy-4x8-font.pnm +exec /usr/bin/backgammon