From 754dbc240beb7605f027c21bb75ac72715710b85 Mon Sep 17 00:00:00 2001 From: Mamoru Tasaka Date: Mar 20 2009 20:19:08 +0000 Subject: fix compilation error --- diff --git a/jd-rev2738-compile.patch b/jd-rev2738-compile.patch new file mode 100644 index 0000000..4898831 --- /dev/null +++ b/jd-rev2738-compile.patch @@ -0,0 +1,12 @@ +Index: src/cache.cpp +=================================================================== +--- src/cache.cpp (revision 2738) ++++ src/cache.cpp (working copy) +@@ -25,6 +25,7 @@ + #include + + #include ++#include + + enum + { diff --git a/jd.spec b/jd.spec index a405296..d033fc4 100644 --- a/jd.spec +++ b/jd.spec @@ -54,6 +54,7 @@ License: GPLv2 URL: http://jd4linux.sourceforge.jp/ Source0: http://downloads.sourceforge.jp/jd4linux/%{repoid}/%{name}-%{main_ver}-%{strtag}.tgz #Source0: %{name}-%{main_ver}-%{strtag}.tgz +Patch0: jd-rev2738-compile.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: %{gtkmmdevel} @@ -79,6 +80,7 @@ JD is a 2ch browser based on gtkmm2. %prep %setup -q -n %{name}-%{main_ver}-%{strtag} +%patch0 -p0 -b .compile #find . -name .svn | sort -r | xargs %{__rm} -rf sh autogen.sh @@ -98,7 +100,7 @@ export TZ='Asia/Tokyo' --with-migemodict=%{migemo_dict} %endif -%{__make} %{?_smp_mflags} +%{__make} %{?_smp_mflags} -k %install