summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGérard Milmeister <gemi@fedoraproject.org>2005-09-06 20:04:16 +0000
committerGérard Milmeister <gemi@fedoraproject.org>2005-09-06 20:04:16 +0000
commit2f3f8fd5d0ce4be3a62b24ee7be4dc4543eebb58 (patch)
treee2d38829c50dabf19b089c469b02b9e1dd927a5a
parent697ad89686c28bb3aded20a478a6dbf4863ddb0b (diff)
downloaderlang-2f3f8fd5d0ce4be3a62b24ee7be4dc4543eebb58.tar.gz
erlang-2f3f8fd5d0ce4be3a62b24ee7be4dc4543eebb58.tar.xz
erlang-2f3f8fd5d0ce4be3a62b24ee7be4dc4543eebb58.zip
patch for glibc 2.4
-rw-r--r--erlang.spec7
-rw-r--r--otp-glibc24.patch11
2 files changed, 16 insertions, 2 deletions
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 <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}
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 <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>