rpms/ghdl/F-12 grt-dispmemleak.patch, NONE, 1.1 grt-processtimeoutchain.patch, NONE, 1.1 ghdl.spec, 1.56, 1.57

sailer sailer at fedoraproject.org
Mon Dec 14 09:35:53 UTC 2009


Author: sailer

Update of /cvs/extras/rpms/ghdl/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv32749

Modified Files:
	ghdl.spec 
Added Files:
	grt-dispmemleak.patch grt-processtimeoutchain.patch 
Log Message:
Process Timeout Chain bugfix, --trace-signals memory leak fix


grt-dispmemleak.patch:
 grt-rtis_utils.adb |    1 +
 1 file changed, 1 insertion(+)

--- NEW FILE grt-dispmemleak.patch ---
--- gcc/vhdl/grt/grt-rtis_utils.adb.orig	2009-12-13 02:53:11.000000000 +0100
+++ gcc/vhdl/grt/grt-rtis_utils.adb	2009-12-13 02:53:05.000000000 +0100
@@ -502,6 +502,7 @@
    begin
       Rtis_Utils.Get_Value (Name, Value, Type_Rti);
       Put (Stream, Name);
+      Free (Name);
    end Disp_Value;
 
    procedure Get_Enum_Value

grt-processtimeoutchain.patch:
 grt-processes.adb |    2 ++
 1 file changed, 2 insertions(+)

--- NEW FILE grt-processtimeoutchain.patch ---
--- gcc/vhdl/grt/grt-processes.adb.orig	2009-12-13 00:36:47.000000000 +0100
+++ gcc/vhdl/grt/grt-processes.adb	2009-12-13 00:37:24.000000000 +0100
@@ -312,6 +312,8 @@
          Proc.Timeout_Chain_Next.Timeout_Chain_Prev :=
            Proc.Timeout_Chain_Prev;
       end if;
+      Proc.Timeout_Chain_Next := null;
+      Proc.Timeout_Chain_Prev := null;
    end Remove_Process_From_Timeout_Chain;
 
    procedure Ghdl_Process_Wait_Set_Timeout (Time : Std_Time)


Index: ghdl.spec
===================================================================
RCS file: /cvs/extras/rpms/ghdl/F-12/ghdl.spec,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -p -r1.56 -r1.57
--- ghdl.spec	5 Dec 2009 13:07:16 -0000	1.56
+++ ghdl.spec	14 Dec 2009 09:35:52 -0000	1.57
@@ -5,7 +5,7 @@
 Summary: A VHDL simulator, using the GCC technology
 Name: ghdl
 Version: %{ghdlver}
-Release: 0.%{ghdlsvnver}svn.0%{?dist}
+Release: 0.%{ghdlsvnver}svn.1%{?dist}
 License: GPLv2+
 Group: Development/Languages
 URL: http://ghdl.free.fr/
@@ -27,6 +27,10 @@ Patch105: ghdl-grtadac.patch
 Patch106: ghdl-ppc64abort.patch
 # https://gna.org/bugs/index.php?13389
 Patch107: ieee-mathreal.patch
+# https://gna.org/bugs/index.php?14930
+Patch108: grt-processtimeoutchain.patch
+# https://gna.org/bugs/index.php?14931
+Patch109: grt-dispmemleak.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires(post): /sbin/install-info
 Requires(preun): /sbin/install-info
@@ -94,6 +98,9 @@ Requires: ghdl-grt = %{version}-%{releas
 %global gcc_target_platform %{_target_platform}
 %endif
 
+# do not strip libgrt.a -- makes debugging tedious otherwise
+%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's#/usr/lib/rpm/redhat/brp-strip-static-archive .*##g')
+
 %description
 GHDL is a VHDL simulator, using the GCC technology. VHDL is a language
 standardized by the IEEE, intended for developing electronic systems. GHDL
@@ -129,6 +136,8 @@ popd
 %patch104 -p0 -b .libgnat44
 %patch105 -p1 -b .grtadac
 %patch106 -p0 -b .ppc64abort
+%patch108 -p0 -b .processtimeoutchain
+%patch109 -p0 -b .dispmemleak
 
 %build
 %{__rm} -fr obj-%{gcc_target_platform}
@@ -309,8 +318,10 @@ popd
 # %{gcc_target_platform}/%{gccver} subdirectory
 %{_libdir}/gcc/
 
-
 %changelog
+* Sun Dec 13 2009 Thomas Sailer <t.sailer at alumni.ethz.ch> - 0.28-0.131svn.1
+- Process Timeout Chain bugfix
+
 * Sat Dec  5 2009 Thomas Sailer <t.sailer at alumni.ethz.ch> - 0.28-0.131svn.0
 - update to svn131
 




More information about the fedora-extras-commits mailing list