mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-29 11:38:52 +02:00
tuxpaint: enable x86_64, fix build
*couldn't test, package contents not published.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
From 4f7259db0df3f771f89cb34ec062a61c6dfcbb9c Mon Sep 17 00:00:00 2001
|
||||
From: Jerome Duval <jerome.duval@gmail.com>
|
||||
Date: Sat, 30 Aug 2014 20:51:07 +0000
|
||||
Subject: applying patch tuxpaint-0.9.22.patch
|
||||
|
||||
|
||||
diff --git a/src/fonts.c b/src/fonts.c
|
||||
index a81a2e6..b1e34aa 100644
|
||||
--- a/src/fonts.c
|
||||
@@ -42,3 +48,30 @@ index 4df46be..2e2298e 100644
|
||||
if (*env_language)
|
||||
{
|
||||
env_language_lang = strtok(env_language, ":");
|
||||
--
|
||||
1.8.3.4
|
||||
|
||||
|
||||
From 7f502224dfd679b1e207e48a7f7ee35f7cb7b818 Mon Sep 17 00:00:00 2001
|
||||
From: Jerome Duval <jerome.duval@gmail.com>
|
||||
Date: Sat, 30 Aug 2014 21:07:09 +0000
|
||||
Subject: NOSVG seems broken
|
||||
|
||||
|
||||
diff --git a/src/tuxpaint.c b/src/tuxpaint.c
|
||||
index afa90ab..d1b824f 100644
|
||||
--- a/src/tuxpaint.c
|
||||
+++ b/src/tuxpaint.c
|
||||
@@ -1939,8 +1939,8 @@ static SDL_Surface * load_kpx(char * file);
|
||||
static SDL_Surface * load_svg(char * file);
|
||||
static float pick_best_scape(unsigned int orig_w, unsigned int orig_h,
|
||||
unsigned int max_w, unsigned int max_h);
|
||||
-static SDL_Surface * myIMG_Load_RWops(char * file);
|
||||
#endif
|
||||
+static SDL_Surface * myIMG_Load_RWops(char * file);
|
||||
static SDL_Surface * myIMG_Load(char * file);
|
||||
static int trash(char * path);
|
||||
int file_exists(char * path);
|
||||
--
|
||||
1.8.3.4
|
||||
|
||||
@@ -10,7 +10,9 @@ COPYRIGHT="2002-2010 Bill Kendrick and others"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
|
||||
ARCHITECTURES="x86 x86_gcc2 ?x86_64"
|
||||
ARCHITECTURES="x86 x86_gcc2 x86_64"
|
||||
|
||||
PATCHES="tuxpaint-$portVersion.patchset"
|
||||
|
||||
PROVIDES="
|
||||
tuxpaint = $portVersion
|
||||
@@ -60,8 +62,6 @@ USER_SETTINGS_FILES="
|
||||
settings/TuxPaint directory
|
||||
"
|
||||
|
||||
PATCHES="tuxpaint-0.9.22.patch"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make $jobArgs FRIBIDI_LIB=-lfribidi
|
||||
|
||||
Reference in New Issue
Block a user