[packages/guile1: 108/172] - added ttyname patch (avoid SEGV with no /proc), mktemp patch (fix /tmp usage) - disabled breaking

jajcus jajcus at pld-linux.org
Sat Dec 12 13:47:52 CET 2015


commit ec16a99298c5481a47a0dff11f308a8333fa6a00
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Jul 25 18:01:32 2004 +0000

    - added ttyname patch (avoid SEGV with no /proc), mktemp patch (fix /tmp usage)
    - disabled breaking ia64 patch, run check-guile after build
    - release 5
    
    Changed files:
        guile.spec -> 1.85

 guile.spec | 19 +++++++++++++++----
 1 file changed, 15 insertions(+), 4 deletions(-)
---
diff --git a/guile.spec b/guile.spec
index 64c004d..9d35c9a 100644
--- a/guile.spec
+++ b/guile.spec
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_without	tests	# don't perform ./check-guile
+#
 Summary:	GNU Extension language
 Summary(es):	Lenguaje de extensi�n de la GNU
 Summary(ja):	���ץꥱ�������γ�ĥ�Τ���� GNU �ˤ�� Scheme �μ���
@@ -7,11 +11,11 @@ Summary(ru):	
 Summary(uk):	���� ��������� GNU
 Name:		guile
 Version:	1.6.4
-Release:	4
+Release:	5
 Epoch:		5
 License:	GPL
 Group:		Development/Languages
-Source0:	ftp://ftp.gnu.org/pub/gnu/guile/%{name}-%{version}.tar.gz
+Source0:	ftp://ftp.gnu.org/gnu/guile/%{name}-%{version}.tar.gz
 # Source0-md5: a4aceb5f185878c1de4e8aa7c38b6d1d
 Patch0:		%{name}-info.patch
 Patch1:		%{name}-fix_awk_patch.patch
@@ -23,6 +27,8 @@ Patch6:		%{name}-ppc64.patch
 Patch7:		%{name}-unknown_arch.patch
 Patch8:		%{name}-realloc.patch
 Patch9:		%{name}-stack-end.patch
+Patch10:	%{name}-ttyname.patch
+Patch11:	%{name}-mktemp.patch
 URL:		http://www.gnu.org/software/guile/guile.html
 BuildRequires:	autoconf >= 2.53
 BuildRequires:	automake >= 1.6
@@ -143,11 +149,15 @@ Bibliotecas est
 %patch1 -p1
 %patch3 -p1
 %patch4 -p1
-%patch5 -p1
+# it comes from RH, was meant to remove usage of (g)libc internal symbols(?)
+# - but it only causes guile memory fault during build
+#%patch5 -p1
 %patch6 -p1
 %patch7 -p1
 %patch8 -p1
 %patch9 -p1
+%patch10 -p1
+%patch11 -p0
 
 # I wouldn't apply it, it breaks other programs, but I have fixed it, so
 # if you convince me... (but remember about perl, python, tcl and ruby ) (filon)
@@ -169,7 +179,8 @@ cd ..
 	--enable-fast-install
 
 %{__make}
-#	THREAD_LIBS_LOCAL=`pwd`/qt/.libs/libqthreads.so
+
+%{?with_tests:./check-guile}
 
 %install
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/guile1.git/commitdiff/ebe6c26bec9cbe3813afc2be58f989889f8e944a



More information about the pld-cvs-commit mailing list