new version R11B-2

This commit is contained in:
Gérard Milmeister 2006-12-30 23:48:41 +00:00
parent 380e40c0c8
commit 717787009c
3 changed files with 17 additions and 12 deletions

View File

@ -1,6 +1,6 @@
Name: erlang
Version: R11B
Release: 2.1%{?dist}
Release: 2.2%{?dist}
Summary: General-purpose programming language and runtime environment
Group: Development/Languages
@ -13,6 +13,7 @@ Patch0: otp-links.patch
Patch1: otp-install.patch
Patch2: otp-rpath.patch
Patch3: otp-sslrpath.patch
Patch4: otp-glibc25.patch
Patch5: otp-run_erl.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -48,6 +49,7 @@ Documentation for Erlang.
%patch1 -p1 -b .install
%patch2 -p1 -b .rpath
%patch3 -p1 -b .sslrpath
%patch4 -p1 -b .glibc25
%patch5 -p1 -b .run_erl
@ -102,6 +104,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Sat Dec 30 2006 Gerard Milmeister <gemi@bluewin.ch> - R11B-2.2
- added patch for compiling with glibc 2.5
* Sat Dec 30 2006 Gerard Milmeister <gemi@bluewin.ch> - R11B-2.1
- new version R11B-2

View File

@ -1,11 +0,0 @@
--- otp_src_R10B-10/erts/emulator/hipe/hipe_x86_signal.c.glibc24 2006-03-13 17:16:39.000000000 +0100
+++ otp_src_R10B-10/erts/emulator/hipe/hipe_x86_signal.c 2006-03-13 17:17:11.000000000 +0100
@@ -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. */
#ifndef __USE_GNU
#define __USE_GNU /* to un-hide RTLD_NEXT */

11
otp-glibc25.patch Normal file
View File

@ -0,0 +1,11 @@
--- otp_src_R11B-2/erts/emulator/hipe/hipe_x86_signal.c.glibc25 2006-12-30 23:57:04.000000000 +0100
+++ otp_src_R11B-2/erts/emulator/hipe/hipe_x86_signal.c 2006-12-30 23:57:36.000000000 +0100
@@ -34,7 +34,7 @@
#endif
#include "hipe_signal.h"
-#if __GLIBC__ == 2 && (__GLIBC_MINOR__ == 3 || __GLIBC_MINOR__ == 4)
+#if __GLIBC__ == 2 && (__GLIBC_MINOR__ == 3 || __GLIBC_MINOR__ == 4 || __GLIBC_MINOR__ == 5)
/* See comment below for glibc 2.2. */
#ifndef __USE_GNU
#define __USE_GNU /* to un-hide RTLD_NEXT */