rpms/qucs/devel qucs-0.0.7-2.diff,NONE,1.1 qucs.spec,1.2,1.3

Eric Tanguy (tanguy) fedora-extras-commits at redhat.com
Wed Oct 19 15:32:27 UTC 2005


Author: tanguy

Update of /cvs/extras/rpms/qucs/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv32434/devel

Modified Files:
	qucs.spec 
Added Files:
	qucs-0.0.7-2.diff 
Log Message:
auto-import qucs-0.0.7-7 on branch devel from qucs-0.0.7-7.src.rpm

qucs-0.0.7-2.diff:

--- NEW FILE qucs-0.0.7-2.diff ---
diff -ur qucs-0.0.7-orig/qucs/qucsview.cpp qucs-0.0.7/qucs/qucsview.cpp
--- qucs-0.0.7-orig/qucs/qucsview.cpp	Thu Jul 21 21:23:19 2005
+++ qucs-0.0.7/qucs/qucsview.cpp	Fri Aug 26 19:21:33 2005
@@ -539,7 +539,7 @@
       else {  if(long(pw->Port1) & 1) { pw->x1 += MAx1; }
               if(long(pw->Port1) & 2) { pw->y1 += MAy1; } }
 
-      if(int(pw->Port2) > 3) { pw->x2 += MAx1;  pw->y2 += MAy1; }
+      if(((unsigned long)pw->Port2) > 3) { pw->x2 += MAx1;  pw->y2 += MAy1; }
       else {  if(long(pw->Port2) & 1) pw->x2 += MAx1;
               if(long(pw->Port2) & 2) pw->y2 += MAy1; }
 
@@ -725,7 +725,7 @@
       else {  if(long(pw->Port1) & 1) { pw->x1 += MAx1; }
               if(long(pw->Port1) & 2) { pw->y1 += MAy1; } }
 
-      if(int(pw->Port2) > 3) { pw->x2 += MAx1;  pw->y2 += MAy1; }
+      if(((unsigned long)pw->Port2) > 3) { pw->x2 += MAx1;  pw->y2 += MAy1; }
       else {  if(long(pw->Port2) & 1) pw->x2 += MAx1;
               if(long(pw->Port2) & 2) pw->y2 += MAy1; }
 


Index: qucs.spec
===================================================================
RCS file: /cvs/extras/rpms/qucs/devel/qucs.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- qucs.spec	19 Oct 2005 11:37:16 -0000	1.2
+++ qucs.spec	19 Oct 2005 15:32:24 -0000	1.3
@@ -1,10 +1,11 @@
 Summary:	Circuit simulator
 Name: 		qucs
 Version:	0.0.7
-Release: 	6%{?dist}
+Release: 	7%{?dist}
 Source0:	http://ovh.dl.sourceforge.net/sourceforge/qucs/%{name}-%{version}.tar.gz
 Source1:	%{name}.desktop
 Patch0:		qucs-0.0.7-config.diff
+Patch1:		qucs-0.0.7-2.diff
 URL:		http://qucs.sourceforge.net/
 License:	GPL 
 Group: 		Applications/Engineering
@@ -22,6 +23,7 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 [ -n "$QTDIR" ] || . %{_sysconfdir}/profile.d/qt.sh
@@ -52,6 +54,9 @@
 %{_mandir}/man1/*
 
 %changelog
+* Tue Oct 19 2005 Eric Tanguy <eric.tanguy at univ-nantes.fr> - 0.0.7-7
+- Add qucs-0.0.7-2.diff for the x86_64 target
+
 * Tue Oct 18 2005 Ralf Corsepius <rc040203 at freenet.de> - 0.0.7-6
 - Add qucs-0.0.7-config.diff to make configure script aware of RPM_OPT_FLAGS.
 




More information about the fedora-extras-commits mailing list