Compare commits

...
Sign in to create a new pull request.

2 commits

Author SHA1 Message Date
Dan Horák
51ddb63694 fix non-x86 builds with recent gcc
Conflicts:

	yap.spec
2011-06-23 15:29:50 +02:00
Dan Horák
7c83cc4679 rebuilt for mysql 5.5.10 (soname bump in libmysqlclient) 2011-03-23 19:57:54 +01:00
2 changed files with 24 additions and 1 deletions

View file

@ -0,0 +1,14 @@
diff -up yap-6/C/gprof.c.macro yap-6/C/gprof.c
--- yap-6/C/gprof.c.macro 2011-06-23 14:45:25.000000000 +0200
+++ yap-6/C/gprof.c 2011-06-23 14:45:43.000000000 +0200
@@ -102,8 +102,8 @@ typedef greg_t context_reg;
#else
-#define CONTEXT_PC NULL
-#define CONTEXT_BP NULL
+#define CONTEXT_PC(scv) NULL
+#define CONTEXT_BP(scv) NULL
#endif

View file

@ -4,7 +4,7 @@
Name: yap
Version: 6.2.0
Release: 2%{?dist}
Release: 4%{?dist}
Summary: High-performance Prolog Compiler
Group: Development/Languages
# README Perl Artistic license 2 and the FSF's LGPL
@ -25,6 +25,8 @@ Patch6: yap-6.2.0-Install-info-pages-non-executable.patch
Patch7: yap-6.2.0-Do-not-install-info-dir-index.patch
# In upstream already
Patch8: yap-6.2.0-fix-chr-install-from-Keri.patch
# fix non-x86 build with recent gcc
Patch9: yap-6.2.0-gprof-macro.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: autoconf
BuildRequires: gmp-devel
@ -79,6 +81,7 @@ Documentation for Yap.
%patch6 -p1 -b .non_executable_info
%patch7 -p1 -b .do_not_install_info_index
%patch8 -p1 -b .fix_chr_install
%patch9 -p1 -b .macro
# remove redundant RPATH
sed -i 's/-Wl,-R\(,\)\{0,1\}\\$(LIBDIR)//' configure.in
@ -224,6 +227,12 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Thu Jun 23 2011 Dan Horák <dan@danny.cz> - 6.2.0-4
- fix non-x86 builds with recent gcc
* Wed Mar 23 2011 Dan Horák <dan@danny.cz> - 6.2.0-3
- rebuilt for mysql 5.5.10 (soname bump in libmysqlclient)
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.2.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild