From b68eca55f1a6081f5c6164badf702c397a796a0e Mon Sep 17 00:00:00 2001 From: Mamoru Tasaka Date: Dec 17 2008 20:11:58 +0000 Subject: Fix compile --- diff --git a/jd-svn2573-compile.patch b/jd-svn2573-compile.patch new file mode 100644 index 0000000..f37ad5d --- /dev/null +++ b/jd-svn2573-compile.patch @@ -0,0 +1,13 @@ +Index: src/environment.cpp +=================================================================== +--- src/environment.cpp (revision 2573) ++++ src/environment.cpp (working copy) +@@ -76,7 +76,7 @@ + #ifdef SVN_REVISION + jd_version << get_svn_revision( SVN_REVISION ); + #else +- jd_version << get_svn_revision(); ++ jd_version << get_svn_revision( NULL ); + #endif // SVN_REVISION + + #else diff --git a/jd.spec b/jd.spec index 58a562a..1f3ddde 100644 --- a/jd.spec +++ b/jd.spec @@ -51,7 +51,7 @@ Group: Applications/Internet License: GPLv2 URL: http://jd4linux.sourceforge.jp/ Source0: http://downloads.sourceforge.jp/jd4linux/%{repoid}/%{name}-%{main_ver}-%{strtag}.tgz -#Patch0: jd-2.0.1-cookie-change.patch +Patch0: jd-svn2573-compile.patch #Source0: %{name}-%{main_ver}-%{strtag}.tgz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -75,6 +75,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 %build