From 2f3f8fd5d0ce4be3a62b24ee7be4dc4543eebb58 Mon Sep 17 00:00:00 2001 From: GĂ©rard Milmeister Date: Sep 06 2005 20:04:16 +0000 Subject: patch for glibc 2.4 --- diff --git a/erlang.spec b/erlang.spec index 53e765b..779c3ba 100644 --- a/erlang.spec +++ b/erlang.spec @@ -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 - R10B-6.3 +* Tue Sep 6 2005 Gerard Milmeister - R10B-6.4 - Remove perl BuildRequires +- Add patch for glibc 2.4 * Tue Aug 30 2005 Gerard Milmeister - R10B-6.2 - change /usr/lib to %%{_libdir} diff --git a/otp-glibc24.patch b/otp-glibc24.patch new file mode 100644 index 0000000..7ecc067 --- /dev/null +++ b/otp-glibc24.patch @@ -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 + #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