mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48:55 +02:00
alex4: fix the build after allegro bump.
This commit is contained in:
@@ -5,14 +5,15 @@ Lola from evil humans who want to make a bag of her."
|
||||
HOMEPAGE="https://sourceforge.net/projects/allegator/files/Alex4/"
|
||||
COPYRIGHT="2003 Johan Peitz"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="2"
|
||||
REVISION="3"
|
||||
SOURCE_URI="http://downloads.sourceforge.net/allegator/alex4src_data.zip"
|
||||
CHECKSUM_SHA256="d266d7fba64fbfedf13240d3d0eb21b8bacbedeaa5f22b26a27d472c8d23f103"
|
||||
SOURCE_URI_2="http://downloads.sourceforge.net/allegator/alex4_beos_src.zip"
|
||||
CHECKSUM_SHA256_2="b5333034638c19643a7bd8f6e54033b10b354bbcd4e8771b4ac7cd4a33c9e7cf"
|
||||
SOURCE_DIR="alex4src"
|
||||
SOURCE_DIR_2="alex4_BeOS_src"
|
||||
PATCHES_2="alex4-$portVersion.patch"
|
||||
PATCHES="alex4-$portVersion.patchset"
|
||||
PATCHES_2="alex4-$portVersion-source2.patchset"
|
||||
# TODO: Check if it would be OK to also import the patches in:
|
||||
# http://data.gpo.zugaina.org/gamerlay/games-arcade/alex4/files/
|
||||
# and sync with alex4-1.1 in http://gpo.zugaina.org/games-arcade/alex4
|
||||
@@ -42,15 +43,10 @@ BUILD_PREREQUIRES="
|
||||
cmd:patch
|
||||
"
|
||||
|
||||
PATCH()
|
||||
{
|
||||
patch -p6 -u -i $sourceDir2/alex4_BeOS.diff
|
||||
}
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cp $sourceDir2/Makefile src
|
||||
cp $sourceDir2/alex4.rsrc .
|
||||
cp $sourceDir2/alex4.rsrc src
|
||||
|
||||
make -C src $jobArgs
|
||||
}
|
||||
|
||||
@@ -1,6 +1,14 @@
|
||||
--- alex4_BeOS_src/Makefile.orig 2003-08-07 22:25:19.000000000 +0000
|
||||
+++ alex4_BeOS_src/Makefile
|
||||
@@ -1,11 +1,11 @@
|
||||
From aa5038994a06c9c957e1e9a86c8986b3faf8c74c Mon Sep 17 00:00:00 2001
|
||||
From: Jerome Duval <jerome.duval@gmail.com>
|
||||
Date: Sun, 12 May 2019 15:15:15 +0200
|
||||
Subject: link against libaldmb.so
|
||||
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index d10a6e5..6c802bc 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -1,6 +1,6 @@
|
||||
CC=g++
|
||||
CFLAGS=-c -O1 -c `allegro-config --cflags`
|
||||
-LDFLAGS=`allegro-config --libs` -ldumb
|
||||
@@ -8,9 +16,6 @@
|
||||
SOURCES=actor.c edit.c map.c player.c shooter.c bullet.c hisc.c options.c script.c timer.c control.c main.c particle.c scroller.c token.c
|
||||
OBJECTS :=$(SOURCES:%.c=%.o)
|
||||
all: clean compile
|
||||
strip --strip-all alex4
|
||||
- xres -o alex4 alex4.rsrc
|
||||
+ xres -o alex4 ../alex4.rsrc
|
||||
mimeset -f alex4
|
||||
mv alex4 ../alex4
|
||||
|
||||
--
|
||||
2.21.0
|
||||
|
||||
1636
games-arcade/alex4/patches/alex4-1.0.patchset
Normal file
1636
games-arcade/alex4/patches/alex4-1.0.patchset
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user