rpms/jd/F-10 jd-rev2738-compile.patch,NONE,1.1 jd.spec,1.412,1.413

Mamoru Tasaka mtasaka at fedoraproject.org
Fri Mar 20 20:19:37 UTC 2009


Author: mtasaka

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

Modified Files:
	jd.spec 
Added Files:
	jd-rev2738-compile.patch 
Log Message:
fix compilation error

jd-rev2738-compile.patch:

--- NEW FILE jd-rev2738-compile.patch ---
Index: src/cache.cpp
===================================================================
--- src/cache.cpp	(revision 2738)
+++ src/cache.cpp	(working copy)
@@ -25,6 +25,7 @@
 #include <dirent.h>
 
 #include <fcntl.h>
+#include <cstring>
 
 enum
 {


Index: jd.spec
===================================================================
RCS file: /cvs/extras/rpms/jd/F-10/jd.spec,v
retrieving revision 1.412
retrieving revision 1.413
diff -u -r1.412 -r1.413
--- jd.spec	20 Mar 2009 20:00:50 -0000	1.412
+++ jd.spec	20 Mar 2009 20:19:07 -0000	1.413
@@ -54,6 +54,7 @@
 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 @@
 
 %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 @@
    --with-migemodict=%{migemo_dict}
 %endif
 
-%{__make} %{?_smp_mflags}
+%{__make} %{?_smp_mflags} -k
 
 
 %install




More information about the fedora-extras-commits mailing list