[packages/airstrike] Rel 3
arekm
arekm at pld-linux.org
Sun May 17 00:19:00 CEST 2026
commit 15d228adbcd64e530085e7af572d3c1b2bdbd7cd
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sun May 17 00:18:46 2026 +0200
Rel 3
airstrike-libm.patch | 11 +++++++++++
airstrike.spec | 4 +++-
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/airstrike.spec b/airstrike.spec
index 955be07..eb4875d 100644
--- a/airstrike.spec
+++ b/airstrike.spec
@@ -2,13 +2,14 @@ Summary: Airstrike
Summary(pl.UTF-8): Airstrike - Plastikowy Czerwony Baron
Name: airstrike
Version: pre6a
-Release: 2
+Release: 3
License: GPL
Group: X11/Applications/Games
Source0: http://icculus.org/airstrike/%{name}-%{version}-src.tar.gz
# Source0-md5: af7367f9223309fbcf9759e04028394e
Patch0: %{name}-pld.patch
Patch1: %{name}-opt.patch
+Patch2: %{name}-libm.patch
URL: http://icculus.org/airstrike/
BuildRequires: SDL-devel >= 1.2
BuildRequires: SDL_mixer-devel
@@ -42,6 +43,7 @@ linuksowej został sportowany dodatkowo na Windows i Mac OSX.
%setup -q -n %{name}-%{version}-src
%patch -P0 -p1
%patch -P1 -p1
+%patch -P2 -p1
%build
%{__make} \
diff --git a/airstrike-libm.patch b/airstrike-libm.patch
new file mode 100644
index 0000000..dc44673
--- /dev/null
+++ b/airstrike-libm.patch
@@ -0,0 +1,11 @@
+--- airstrike-pre6a-src/src/Makefile.orig 2026-05-11 23:57:06.383150573 +0200
++++ airstrike-pre6a-src/src/Makefile 2026-05-11 23:57:06.385201207 +0200
+@@ -6,7 +6,7 @@
+ OBJECTS:= $(CFILES:.c=.o)
+
+ airstrike: $(OBJECTS)
+- $(CC) -o $@ $(CFLAGS) $(OBJECTS) `sdl-config --libs` -lSDL_image
++ $(CC) -o $@ $(CFLAGS) $(OBJECTS) `sdl-config --libs` -lSDL_image -lm
+
+ airstrike-sound: $(OBJECTS)
+ $(CC) -o $@ $(CFLAGS) $(OBJECTS) `sdl-config --libs` -lSDL_image -lSDL_mixer
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/airstrike.git/commitdiff/15d228adbcd64e530085e7af572d3c1b2bdbd7cd
More information about the pld-cvs-commit
mailing list