rpms/freehdl/devel freehdl-gcc4.3.patch, NONE, 1.1 freehdl.spec, 1.12, 1.13

Eric Tanguy (tanguy) fedora-extras-commits at redhat.com
Fri Feb 8 16:58:19 UTC 2008


Author: tanguy

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

Modified Files:
	freehdl.spec 
Added Files:
	freehdl-gcc4.3.patch 
Log Message:


freehdl-gcc4.3.patch:

--- NEW FILE freehdl-gcc4.3.patch ---
diff -Naur freehdl-0.0.4/freehdl/kernel-acl.hh freehdl-0.0.4-new/freehdl/kernel-acl.hh
--- freehdl-0.0.4/freehdl/kernel-acl.hh	2006-02-23 09:56:42.000000000 +0100
+++ freehdl-0.0.4-new/freehdl/kernel-acl.hh	2008-02-07 20:20:33.000000000 +0100
@@ -3,7 +3,7 @@
 
 #include <freehdl/kernel-error.hh>
 #include <stdlib.h>
-
+#include <cstring>
 
 #define MAX_ACL_DEPTH 100 // Max depth of acl objects
 #define ACL_MARKER ((int)0x80000000) // This const is used to store an range 
diff -Naur freehdl-0.0.4/freehdl/std-vhdl-types.hh freehdl-0.0.4-new/freehdl/std-vhdl-types.hh
--- freehdl-0.0.4/freehdl/std-vhdl-types.hh	2006-02-23 09:56:42.000000000 +0100
+++ freehdl-0.0.4-new/freehdl/std-vhdl-types.hh	2008-02-07 20:21:01.000000000 +0100
@@ -9,6 +9,7 @@
 #include <float.h>
 #include <math.h>
 #include <iostream>
+#include <cstring>
 
 using namespace std;
 
diff -Naur freehdl-0.0.4/v2cc/mapping.cc freehdl-0.0.4-new/v2cc/mapping.cc
--- freehdl-0.0.4/v2cc/mapping.cc	2003-04-09 18:13:25.000000000 +0200
+++ freehdl-0.0.4-new/v2cc/mapping.cc	2008-02-07 20:37:37.000000000 +0100
@@ -32,6 +32,7 @@
 #include <sys/stat.h>
 #include <fstream>
 #include <iostream>
+#include <stdlib.h>
 
 using namespace std;
 
diff -Naur freehdl-0.0.4/v2cc/v2cc-const-fold.cc freehdl-0.0.4-new/v2cc/v2cc-const-fold.cc
--- freehdl-0.0.4/v2cc/v2cc-const-fold.cc	2006-01-12 09:05:01.000000000 +0100
+++ freehdl-0.0.4-new/v2cc/v2cc-const-fold.cc	2008-02-07 23:01:05.000000000 +0100
@@ -13,6 +13,7 @@
 
 #include "mapping.h"
 #include "v2cc-util.h"
+#include <limits.h>
 
 
 
diff -Naur freehdl-0.0.4/v2cc/v2cc-explore.cc freehdl-0.0.4-new/v2cc/v2cc-explore.cc
--- freehdl-0.0.4/v2cc/v2cc-explore.cc	2006-02-16 09:56:22.000000000 +0100
+++ freehdl-0.0.4-new/v2cc/v2cc-explore.cc	2008-02-07 22:51:37.000000000 +0100
@@ -13,6 +13,7 @@
 #include "v2cc-chunk.h"
 #include "mapping.h"
 #include "v2cc-util.h"
+#include <limits.h>
 
 using namespace std;
 
diff -Naur freehdl-0.0.4/v2cc/v2cc-expr.cc freehdl-0.0.4-new/v2cc/v2cc-expr.cc
--- freehdl-0.0.4/v2cc/v2cc-expr.cc	2006-01-13 10:03:21.000000000 +0100
+++ freehdl-0.0.4-new/v2cc/v2cc-expr.cc	2008-02-07 23:05:00.000000000 +0100
@@ -15,7 +15,7 @@
 #include "v2cc-chunk.h"
 #include "mapping.h"
 #include "v2cc-util.h"
-
+#include <limits.h>
 
 // used to generate error messages
 extern vaul_error_printer codegen_error;
diff -Naur freehdl-0.0.4/v2cc/v2cc-util.cc freehdl-0.0.4-new/v2cc/v2cc-util.cc
--- freehdl-0.0.4/v2cc/v2cc-util.cc	2006-02-16 09:56:22.000000000 +0100
+++ freehdl-0.0.4-new/v2cc/v2cc-util.cc	2008-02-07 22:57:18.000000000 +0100
@@ -7,7 +7,7 @@
 #include <math.h>
 
 #include "v2cc-util.h"
-
+#include <limits.h>
 
 // ******************************************************************************************
 // Some global variables


Index: freehdl.spec
===================================================================
RCS file: /cvs/extras/rpms/freehdl/devel/freehdl.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- freehdl.spec	5 May 2007 17:39:30 -0000	1.12
+++ freehdl.spec	8 Feb 2008 16:57:49 -0000	1.13
@@ -1,11 +1,12 @@
 Summary: GPLed free VHDL
 Name: freehdl
 Version: 0.0.4
-Release: 4%{?dist}
+Release: 5%{?dist}
 License: GPL
 Group: Applications/Engineering
 Source0: http://ovh.dl.sourceforge.net/sourceforge/qucs/%{name}-%{version}.tar.gz
 Patch0: freehdl-fire.diff
+Patch1: freehdl-gcc4.3.patch
 URL: http://www.freehdl.seul.org/
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: texinfo
@@ -18,6 +19,7 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %configure \
@@ -57,6 +59,9 @@
 %{_mandir}/man5/*
 
 %changelog
+* Fri Feb 08 2008 Eric Tanguy <eric.tanguy at univ-nantes.fr> 0.0.4-5
+- Add patch to build with new gcc-4.3
+
 * Sat May 05 2007 Eric Tanguy <eric.tanguy at univ-nantes.fr> 0.0.4-4
 - Rebuild
 




More information about the fedora-extras-commits mailing list