mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-03 13:38:52 +02:00
Fixes for sdl2_image and sdl2_ttf (#1135)
* Add title to sdllopan window * Fixes for sdl2_image and sdl2_ttf * WIP recipes for box2d and numptyphysics
This commit is contained in:
@@ -1,3 +1,28 @@
|
||||
From 213275e0a82538697cadc569a30a9e2516596708 Mon Sep 17 00:00:00 2001
|
||||
From: Scott McCreary <scottmc2@gmail.com>
|
||||
Date: Wed, 1 Feb 2017 21:23:54 -0800
|
||||
Subject: [PATCH] Add Window title
|
||||
|
||||
---
|
||||
gfx.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/gfx.c b/gfx.c
|
||||
index 4a5e1bc..81935d1 100644
|
||||
--- a/gfx.c
|
||||
+++ b/gfx.c
|
||||
@@ -295,6 +295,7 @@ unsigned char r,g,b;
|
||||
}
|
||||
stride=thescreen->pitch;
|
||||
videomem=(void *)thescreen->pixels;
|
||||
+ SDL_WM_SetCaption("SDL Lopan", "SDL Lopan");
|
||||
// SDL_ShowCursor(0);
|
||||
|
||||
for(i=0;i<65536;++i)
|
||||
--
|
||||
2.7.0
|
||||
|
||||
|
||||
From 6aaf58f76675bf2ad86b72206aceffd825b26778 Mon Sep 17 00:00:00 2001
|
||||
From: Adrien Destugues <pulkomandy@pulkomandy.tk>
|
||||
Date: Thu, 28 Nov 2013 20:44:31 +0100
|
||||
@@ -16,13 +41,13 @@ index d653914..a597b9f 100644
|
||||
@@ -543,6 +544,8 @@ int code;
|
||||
unsigned char redraw;
|
||||
int backup;
|
||||
|
||||
|
||||
+ chdir(dirname(argv[0]));
|
||||
+
|
||||
bgsetnumber=tilesetnumber=-1;
|
||||
randomize();
|
||||
opendisplay(640,400);
|
||||
--
|
||||
--
|
||||
1.8.3.4
|
||||
|
||||
|
||||
@@ -119,7 +144,7 @@ index 0000000..78d07c4
|
||||
+ $"8400040A010101000A020102000A030103000A0501052021210A050106100117"
|
||||
+ $"830004"
|
||||
+};
|
||||
--
|
||||
--
|
||||
1.8.3.4
|
||||
|
||||
|
||||
@@ -1031,6 +1056,6 @@ ffB*RS_;<gv9vJdU1Bk7EeEtK0t0VB@#f$$3`==Qd
|
||||
literal 0
|
||||
HcmV?d00001
|
||||
|
||||
--
|
||||
--
|
||||
1.8.3.4
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ In both cases, number files beginnging with 0."
|
||||
HOMEPAGE="http://www.linuxmotors.com/sdllopan/"
|
||||
COPYRIGHT="1999-2008 Dave Ashley"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="3"
|
||||
REVISION="4"
|
||||
SOURCE_URI="http://www.linuxmotors.com/sdllopan/downloads/sdllopan-10.tgz"
|
||||
CHECKSUM_SHA256="386de065bc8c3449c3b0b5e5651cb035cb1bdc242b425c865dd387c54ce708c3"
|
||||
PATCHES="sdllopan-10.patchset"
|
||||
|
||||
Reference in New Issue
Block a user