summaryrefslogtreecommitdiff
path: root/games/onscripter/patches/patch-Makefile.Linux
diff options
context:
space:
mode:
authortsutsui <tsutsui@pkgsrc.org>2012-10-30 16:09:53 +0000
committertsutsui <tsutsui@pkgsrc.org>2012-10-30 16:09:53 +0000
commitdf38e8c3343fff8aaa7c8bf3abd6872650153a50 (patch)
treee32fcd982a7092f78bd1e0ff9bbc352e69ca847b /games/onscripter/patches/patch-Makefile.Linux
parent0095e60af8857eeff0e64f1bf52ef04d362735b4 (diff)
downloadpkgsrc-df38e8c3343fff8aaa7c8bf3abd6872650153a50.tar.gz
Update onscripter to 20121019.
pkgsrc changes: - add PKG_OPTION onscripter-pda that enables PDA_AUTOSIZE option to fit window size to screen on small PDA devices like W-ZERO3 and Zaurus upstream changes since 20120926: 20121029: - fix compiler error on iOS target build environment 20121019: serious bug fix - fix memory leak per rendering a glyph, slipped in since 20050819 20121016: - reimplement yesnobox insn to allow yes/no choice in dialog - implement okcancelbox insn - enlarge buttons in yesnobox and okcancelbox dialogs - allow mapping right click to no/cancle in yesnobox and okcancelbox insns
Diffstat (limited to 'games/onscripter/patches/patch-Makefile.Linux')
-rw-r--r--games/onscripter/patches/patch-Makefile.Linux16
1 files changed, 11 insertions, 5 deletions
diff --git a/games/onscripter/patches/patch-Makefile.Linux b/games/onscripter/patches/patch-Makefile.Linux
index 9a0b89fea8e..5ca2f51f191 100644
--- a/games/onscripter/patches/patch-Makefile.Linux
+++ b/games/onscripter/patches/patch-Makefile.Linux
@@ -1,10 +1,11 @@
-$NetBSD: patch-Makefile.Linux,v 1.5 2012/05/27 17:40:38 tsutsui Exp $
+$NetBSD: patch-Makefile.Linux,v 1.6 2012/10/30 16:09:54 tsutsui Exp $
- use appropriate pkg-config metainfo for INCS and LIBS definitions
- disable avifile (that is not in pkgsrc) support
- replace tools definitions with pkgsrc ones
+- make optional PDA options configurable
---- Makefile.Linux.orig 2012-05-27 05:49:49.000000000 +0000
+--- Makefile.Linux.orig 2012-10-19 17:34:31.000000000 +0000
+++ Makefile.Linux
@@ -18,8 +18,8 @@ EXT_OBJS =
@@ -33,7 +34,7 @@ $NetBSD: patch-Makefile.Linux,v 1.5 2012/05/27 17:40:38 tsutsui Exp $
# optional: Integer OggVorbis
#DEFS += -DUSE_OGG_VORBIS -DINTEGER_OGG_VORBIS
-@@ -42,16 +44,16 @@ LIBS += -logg -lvorbis -lvorbisfile
+@@ -42,31 +44,33 @@ LIBS += -logg -lvorbis -lvorbisfile
DEFS += -DUSE_CDROM
# optional: avifile
@@ -57,7 +58,12 @@ $NetBSD: patch-Makefile.Linux,v 1.5 2012/05/27 17:40:38 tsutsui Exp $
EXT_OBJS += LUAHandler$(OBJSUFFIX)
# optional: force screen width for PDA
-@@ -62,11 +64,11 @@ EXT_OBJS += LUAHandler$(OBJSUFFIX)
+ #DEFS += -DPDA_WIDTH=640
++#DEFS += -DPDA_AUTOSIZE
++DEFS += @PDA_DEFS@
+
+ # optional: enable English mode
+ #DEFS += -DENABLE_1BYTE_CHAR -DFORCE_1BYTE_CHAR
# for GNU g++
@@ -72,7 +78,7 @@ $NetBSD: patch-Makefile.Linux,v 1.5 2012/05/27 17:40:38 tsutsui Exp $
# for GCC on PowerPC specfied
#CC = powerpc-unknown-linux-gnu-g++
-@@ -80,6 +82,6 @@ CFLAGS = -O3 -Wall -fomit-frame-pointer
+@@ -80,6 +84,6 @@ CFLAGS = -O3 -Wall -fomit-frame-pointer
#CFLAGS = -O3 -tpp6 -xK -c $(INCS) $(DEFS)