From 917e7209b9a48aac16fa3954f459663cc8c861fb Mon Sep 17 00:00:00 2001 From: Nikola Pajkovsky Date: Feb 17 2010 16:17:59 +0000 Subject: Resolves: #564768 - FTBFS atanks-4.3-2.fc13: ImplicitDSOLinking --- diff --git a/atanks-4.3-add-lpthread.patch b/atanks-4.3-add-lpthread.patch new file mode 100644 index 0000000..c94d5b7 --- /dev/null +++ b/atanks-4.3-add-lpthread.patch @@ -0,0 +1,12 @@ +diff -up atanks-4.3/src/Makefile.add-lpthread atanks-4.3/src/Makefile +--- atanks-4.3/src/Makefile.add-lpthread 2010-01-15 02:24:24.000000000 +0100 ++++ atanks-4.3/src/Makefile 2010-02-17 12:16:44.865030273 +0100 +@@ -15,7 +15,7 @@ OUTPUT = ../atanks + WFLAGS = + OFLAGS = + LFLAGS += +-LDFLAGS = `allegro-config --libs` ++LDFLAGS = `allegro-config --libs` -lpthread + + CFLAGS += -g -Wall -Iinclude # -fprofile-arcs -ftest-coverage + diff --git a/atanks.spec b/atanks.spec index 21fa512..8d1a9f8 100644 --- a/atanks.spec +++ b/atanks.spec @@ -1,15 +1,15 @@ Name: atanks Version: 4.3 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Remake of a classic DOS game "Scorched Earth" Group: Amusements/Games License: GPLv2+ URL: http://atanks.sourceforge.net/ Source0: http://download.sourceforge.net/atanks/atanks-%{version}.tar.gz -Source1: atanks.sh -#Patch0: atanks-4.1-nothreads.patch -Patch1: atanks-4.2-mkdir.patch +Source1: atanks.sh +Patch1: atanks-4.2-mkdir.patch +Patch2: atanks-4.3-add-lpthread.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: allegro-devel, desktop-file-utils, glibc-headers @@ -26,8 +26,8 @@ is the winner. %prep %setup -q -#%patch0 -p1 -%patch1 -p0 +%patch1 -p0 -b .mkdir +%patch2 -p1 -b .add-lpthread %build CFLAGS="%{optflags}" make %{?_smp_mflags} @@ -80,6 +80,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Wed Feb 17 2010 Nikola Pajkovsky - 4.3-3 +- Resolves: #564768 - FTBFS atanks-4.3-2.fc13: ImplicitDSOLinking + * Fri Jan 22 2010 Jon Ciesla - 4.3-2 - Update icon cache.