patch for glibc 2.4

This commit is contained in:
Gérard Milmeister 2005-09-06 20:04:16 +00:00
parent 697ad89686
commit 2f3f8fd5d0
2 changed files with 16 additions and 2 deletions

View File

@ -1,6 +1,6 @@
Name: erlang
Version: R10B
Release: 6.3%{?dist}
Release: 6.4%{?dist}
Summary: General-purpose programming language and runtime environment
Group: Development/Languages
@ -12,6 +12,7 @@ Source2: http://www.erlang.org/download/otp_doc_man_R10B-6.tar.gz
Patch: otp-links.patch
Patch1: otp-install.patch
Patch2: otp-rpath.patch
Patch3: otp-glibc24.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: ncurses-devel, openssl-devel, flex, unixODBC-devel
@ -35,6 +36,7 @@ Documentation for Erlang.
%patch -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%build
@ -88,8 +90,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Tue Sep 6 2005 Gerard Milmeister <gemi@bluewin.ch> - R10B-6.3
* Tue Sep 6 2005 Gerard Milmeister <gemi@bluewin.ch> - R10B-6.4
- Remove perl BuildRequires
- Add patch for glibc 2.4
* Tue Aug 30 2005 Gerard Milmeister <gemi@bluewin.ch> - R10B-6.2
- change /usr/lib to %%{_libdir}

11
otp-glibc24.patch Normal file
View File

@ -0,0 +1,11 @@
--- otp_src_R10B-6/erts/emulator/hipe/hipe_x86_signal.c.glibc24 2005-09-06 22:01:13.000000000 +0200
+++ otp_src_R10B-6/erts/emulator/hipe/hipe_x86_signal.c 2005-09-06 22:01:36.000000000 +0200
@@ -27,7 +27,7 @@
#include <stdlib.h>
#include "hipe_signal.h"
-#if __GLIBC__ == 2 && __GLIBC_MINOR__ == 3
+#if __GLIBC__ == 2 && __GLIBC_MINOR__ == 4
/* See comment below for glibc 2.2. */
#define __USE_GNU /* to un-hide RTLD_NEXT */
#include <dlfcn.h>