rpms/jd/F-8 jd-svn2573-compile.patch,NONE,1.1 jd.spec,1.362,1.363

Mamoru Tasaka mtasaka at fedoraproject.org
Wed Dec 17 20:12:28 UTC 2008


Author: mtasaka

Update of /cvs/extras/rpms/jd/F-8
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv8962/F-8

Modified Files:
	jd.spec 
Added Files:
	jd-svn2573-compile.patch 
Log Message:
Fix compile

jd-svn2573-compile.patch:

--- NEW FILE jd-svn2573-compile.patch ---
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


Index: jd.spec
===================================================================
RCS file: /cvs/extras/rpms/jd/F-8/jd.spec,v
retrieving revision 1.362
retrieving revision 1.363
diff -u -r1.362 -r1.363
--- jd.spec	17 Dec 2008 18:57:49 -0000	1.362
+++ jd.spec	17 Dec 2008 20:11:57 -0000	1.363
@@ -51,7 +51,7 @@
 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 @@
 
 %prep
 %setup -q -n %{name}-%{main_ver}-%{strtag}
+%patch0 -p0 -b .compile
 #find . -name .svn | sort -r | xargs %{__rm} -rf
 
 %build
@@ -91,7 +92,7 @@
    --with-migemodict=%{migemo_dict}
 %endif
 
-%{__make} -j1
+%{__make} %{?_smp_mflags}
 
 
 %install




More information about the fedora-extras-commits mailing list