forked from pool/racket
Accepting request 618959 from devel:languages:misc
OBS-URL: https://build.opensuse.org/request/show/618959 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/racket?expand=0&rev=5
This commit is contained in:
commit
c21f528b7e
@ -1,69 +0,0 @@
|
||||
Index: racket-5.3.5/src/racket/gc/include/private/gcconfig.h
|
||||
===================================================================
|
||||
--- racket-5.3.5.orig/src/racket/gc/include/private/gcconfig.h
|
||||
+++ racket-5.3.5/src/racket/gc/include/private/gcconfig.h
|
||||
@@ -76,6 +76,13 @@
|
||||
# endif
|
||||
|
||||
/* Determine the machine type: */
|
||||
+#if defined(__aarch64__)
|
||||
+# define AARCH64
|
||||
+# if !defined(LINUX)
|
||||
+# define NOSYS
|
||||
+# define mach_type_known
|
||||
+# endif
|
||||
+# endif
|
||||
# if defined(__arm__) || defined(__thumb__)
|
||||
# define ARM32
|
||||
# if !defined(LINUX) && !defined(NETBSD) && !defined(OPENBSD)
|
||||
@@ -249,6 +256,10 @@
|
||||
# define IA64
|
||||
# define mach_type_known
|
||||
# endif
|
||||
+# if defined(LINUX) && defined(__aarch64__)
|
||||
+# define AARCH64
|
||||
+# define mach_type_known
|
||||
+# endif
|
||||
# if defined(LINUX) && defined(__arm__)
|
||||
# define ARM32
|
||||
# define mach_type_known
|
||||
@@ -529,6 +540,7 @@
|
||||
/* running Amdahl UTS4 */
|
||||
/* S390 ==> 390-like machine */
|
||||
/* running LINUX */
|
||||
+ /* AARCH64 ==> ARM AArch64 */
|
||||
/* ARM32 ==> Intel StrongARM */
|
||||
/* IA64 ==> Intel IPF */
|
||||
/* (e.g. Itanium) */
|
||||
@@ -1818,6 +1830,31 @@
|
||||
# endif
|
||||
# endif
|
||||
|
||||
+# ifdef AARCH64
|
||||
+# define CPP_WORDSZ 64
|
||||
+# define MACH_TYPE "AARCH64"
|
||||
+# define ALIGNMENT 8
|
||||
+# ifndef HBLKSIZE
|
||||
+# define HBLKSIZE 4096
|
||||
+# endif
|
||||
+# ifdef LINUX
|
||||
+# define OS_TYPE "LINUX"
|
||||
+# define LINUX_STACKBOTTOM
|
||||
+# define DYNAMIC_LOADING
|
||||
+ extern int __data_start[];
|
||||
+# define DATASTART ((ptr_t)__data_start)
|
||||
+ extern char _end[];
|
||||
+# define DATAEND ((ptr_t)(&_end))
|
||||
+# endif
|
||||
+# ifdef NOSYS
|
||||
+ /* __data_start is usually defined in the target linker script. */
|
||||
+ extern int __data_start[];
|
||||
+# define DATASTART ((ptr_t)__data_start)
|
||||
+ extern void *__stack_base__;
|
||||
+# define STACKBOTTOM ((ptr_t)__stack_base__)
|
||||
+# endif
|
||||
+# endif
|
||||
+
|
||||
# ifdef ARM32
|
||||
# define CPP_WORDSZ 32
|
||||
# define MACH_TYPE "ARM32"
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 25 09:43:21 UTC 2018 - schwab@suse.de
|
||||
|
||||
- gc-aarch64.patch: remove obsolete patch, this GC implementation is no
|
||||
longer used.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 27 08:46:28 UTC 2017 - kgronlund@suse.com
|
||||
|
||||
@ -25,7 +31,6 @@ Sun Sep 24 21:10:21 UTC 2017 - olszewst@gmail.com
|
||||
* Drop DrRacket's -singleInstance option from %suse_update_desktop_file. This
|
||||
option caused error messages coming from %suse_update_desktop_file itself.
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 11 22:37:03 UTC 2017 - sfalken@opensuse.org
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package racket
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2012, 2013 Togan Muftuoglu toganm@opensuse.org
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@ -21,14 +21,12 @@ Name: racket
|
||||
Version: 6.11
|
||||
Release: 0
|
||||
Summary: Scheme implementation with teaching tools
|
||||
License: LGPL-2.1+ and GPL-3.0+
|
||||
License: LGPL-2.1-or-later AND GPL-3.0-or-later
|
||||
Group: Development/Languages/Scheme
|
||||
Url: http://racket-lang.org
|
||||
Source0: http://download.racket-lang.org/installers/%version/%name-%version-src.tgz
|
||||
Source2: racket-completion.bash
|
||||
Source3: racket-6.10.1.rpmlintrc
|
||||
# PATCH-FIX-UPSTREAM aarch64 support for gc
|
||||
Patch1: gc-aarch64.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: ImageMagick
|
||||
BuildRequires: chrpath
|
||||
@ -97,7 +95,6 @@ compile and link programs which use Racket.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p1
|
||||
|
||||
cp %{S:2} src/.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user