rpms/yap/FC-4 Yap-fix.patch,NONE,1.1 yap.spec,1.4,1.5

Gérard Milmeister (gemi) fedora-extras-commits at redhat.com
Sat Jun 18 12:22:55 UTC 2005


Author: gemi

Update of /cvs/extras/rpms/yap/FC-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31825

Modified Files:
	yap.spec 
Added Files:
	Yap-fix.patch 
Log Message:
compiler fix for fc4

Yap-fix.patch:

--- NEW FILE Yap-fix.patch ---
--- Yap-4.5.5/H/Heap.h.fix	2005-06-16 21:15:50.000000000 +0200
+++ Yap-4.5.5/H/Heap.h	2005-06-16 21:16:09.000000000 +0200
@@ -654,8 +654,8 @@
 #define  FileAliases              Yap_heap_regs->file_aliases
 #if LOW_PROF
 #define  ProfilerOn		  Yap_heap_regs->profiler_on
-#define  FProf     		  ((FILE *)Yap_heap_regs->f_prof)
-#define  FPreds     		  ((FILE *)Yap_heap_regs->f_preds)
+#define  FProf     		  (Yap_heap_regs->f_prof)
+#define  FPreds     		  (Yap_heap_regs->f_preds)
 #define  ProfPreds		  Yap_heap_regs->prof_preds
 #endif /* LOW_PROF */
 #define  ReductionsCounter        Yap_heap_regs->call_counters.reductions


Index: yap.spec
===================================================================
RCS file: /cvs/extras/rpms/yap/FC-4/yap.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- yap.spec	6 Apr 2005 22:13:54 -0000	1.4
+++ yap.spec	18 Jun 2005 12:22:53 -0000	1.5
@@ -1,17 +1,18 @@
 Name:		yap
 Version:	4.5.5
-Release:	2
+Release:	3%{?dist}
 
 Summary:	High-performance Prolog Compiler
 
 Group:		Development/Languages
 License:	Artistic/LGPL
 Source:		http://download.sourceforge.net/yap/Yap-4.5.5.tar.gz
-URL:		http://www.ncc.up.pt/~vsc/Yap
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Patch0:		Yap-fix.patch
+URL: 		http://www.ncc.up.pt/~vsc/Yap
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:	readline-devel, gmp-devel
-Requires(post):		/sbin/install-info
-Requires(postun):	/sbin/install-info
+Requires(post):	  /sbin/install-info
+Requires(postun): /sbin/install-info
 
 %description
 A high-performance Prolog compiler developed at LIACC, Universidade do
@@ -22,6 +23,7 @@
 
 %prep
 %setup -q -n Yap-%{version}
+%patch0 -p1
 
 %build
 %configure \
@@ -65,6 +67,9 @@
 %{_infodir}/*
 
 %changelog
+* Sat Jun 18 2005 Gerard Milmeister <gemi at bluewin.ch> - 4.5.5-3
+- Compiler fix for FC4
+
 * Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
 - rebuilt
 




More information about the fedora-extras-commits mailing list