rpms/doctorj/devel doctorj-precision.patch, NONE, 1.1 doctorj.spec, 1.10, 1.11
Ville Skytta (scop)
fedora-extras-commits at redhat.com
Fri May 20 20:40:15 UTC 2005
Author: scop
Update of /cvs/extras/rpms/doctorj/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12191
Modified Files:
doctorj.spec
Added Files:
doctorj-precision.patch
Log Message:
Patch to fix x86_64 build.
doctorj-precision.patch:
--- NEW FILE doctorj-precision.patch ---
diff -Naru doctorj-4.0.2.orig/java/src/AST.cpp doctorj-4.0.2/java/src/AST.cpp
--- doctorj-4.0.2.orig/java/src/AST.cpp 2003-07-24 05:10:31.000000000 +0300
+++ doctorj-4.0.2/java/src/AST.cpp 2005-05-20 21:48:10.000000000 +0300
@@ -8808,7 +8808,7 @@
comments_(NULL)
{
DEBUG_NONCODE({
- cout << "Noncode(" << (unsigned int)(start) << ", " << (unsigned int)(end) << ")" << endl;
+ cout << "Noncode(" << (unsigned long)(start) << ", " << (unsigned long)(end) << ")" << endl;
string nc(start, end - start);
int stline = srcfile->lineOf(start);
int stcol = srcfile->columnOf(start);
diff -Naru doctorj-4.0.2.orig/java/src/Parser.cpp doctorj-4.0.2/java/src/Parser.cpp
--- doctorj-4.0.2.orig/java/src/Parser.cpp 2003-07-24 05:10:31.000000000 +0300
+++ doctorj-4.0.2/java/src/Parser.cpp 2005-05-20 21:48:10.000000000 +0300
@@ -68,8 +68,8 @@
AstNoncode* Parser::makeNoncode() const
{
DEBUG_NONCODE(cout << "Noncode("
- << "from " << (unsigned int)(lastWsPosition_)
- << " to " << (unsigned int)(position_)
+ << "from " << (unsigned long)(lastWsPosition_)
+ << " to " << (unsigned long)(position_)
<< ". current_file " << currentFile_->name() << endl);
if (lastWsPosition_ != position_) {
AstNoncode* nc = new AstNoncode(lastWsPosition_, position_, currentFile_);
Index: doctorj.spec
===================================================================
RCS file: /cvs/extras/rpms/doctorj/devel/doctorj.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- doctorj.spec 19 May 2005 17:56:52 -0000 1.10
+++ doctorj.spec 20 May 2005 20:40:13 -0000 1.11
@@ -1,14 +1,15 @@
Name: doctorj
Version: 4.0.2
-Release: 6
+Release: 7
Summary: Java source code analyzer
Group: Development/Tools
License: LGPL
URL: http://doctorj.sourceforge.net/
-Source: http://download.sourceforge.net/doctorj/doctorj-4.0.2.tar.gz
-Patch: %{name}-improperseq.patch
+Source: http://download.sf.net/doctorj/%{name}-%{version}.tar.gz
+Patch0: %{name}-improperseq.patch
Patch1: %{name}-yagol.patch
+Patch2: %{name}-precision.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: flex
@@ -22,6 +23,7 @@
%setup -q
%patch0 -p1
%patch1 -p1
+%patch2 -p1
%build
@@ -50,6 +52,9 @@
%changelog
+* Fri May 20 2005 Ville Skyttä <ville.skytta at iki.fi> - 4.0.2-7
+- Patch to fix x86_64 build.
+
* Thu May 19 2005 Ville Skyttä <ville.skytta at iki.fi> - 4.0.2-6
- Rebuild.
More information about the fedora-extras-commits
mailing list