Accepting request 926968 from games

- Update to version 2.35.1

OBS-URL: https://build.opensuse.org/request/show/926968
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/angelscript?expand=0&rev=6
This commit is contained in:
Dominique Leuenberger 2021-10-22 22:51:38 +00:00 committed by Git OBS Bridge
commit 709e202442
5 changed files with 54 additions and 25 deletions

View File

@ -1,17 +0,0 @@
--- sdk/angelscript/projects/meson/meson.build.orig 2021-04-02 07:42:31.195376514 +0000
+++ sdk/angelscript/projects/meson/meson.build 2021-04-02 07:43:50.493193363 +0000
@@ -50,6 +50,14 @@ if host_machine.cpu_family() == 'arm'
]
endif
+if host_machine.cpu_family() == 'aarch64'
+ add_languages('c')
+ angel_srcs += [
+ '../../source/as_callfunc_arm64.cpp',
+ '../../source/as_callfunc_arm64_gcc.S',
+ ]
+endif
+
angelscript_version_num = run_command(find_program('python3'), 'detect_ver.py', '--num').stdout().strip()
angelscript_lib = library(
'angelscript',

View File

@ -1,3 +1,52 @@
-------------------------------------------------------------------
Thu Oct 21 14:45:16 UTC 2021 - Ferdinand Thiessen <rpm@fthiessen.de>
- Update to version 2.35.1
* Bug fixes
* Fixed invalid bytecode sequence on calling method on explicit
temporary object of value type
* Fixed freeze in compiler when compiling script that declared
the same interface twice and inherited from another
* Fixed a problem with lambdas declared within shared functions
not being considered shared (Thanks Phong Ba)
* Fixed invalid bytecode sequence on creating a delegate from a
lambda
* Declaring arrays using the type[] syntax will now properly
add implicit handle for the type when needed
* Fixed crash if attempting to call CreateScriptObjectCopy with
an asITypeInfo for a script function
* Fixed error in compilation of ternary condition operator with
regards to deferred arguments
* Added more sanity checks in LoadByteCode to avoid crash on
invalid stream data
* Fixed crash when instantiating shared class after original
module was discarded
* Fixed assert failure in compiler on implicit conversion
between unsigned integer types of different sizes
* Fixed invalid bytecode sequence in initialization lists with
value types whose opAssign returns void
* Fixed registering asBEHAVE_LIST_CONSTRUCT on value type
templates
* Fixed compiler error in as_symboltable.h on GCC 11
* Compiler no longer silently accepts implicit conversion from
null handle to object type registered with ASHANDLE if there
is no matching implicit constructor
* Fixed problem in native calling convention on arm64 when
function returned a reference to a class with
asOBJ_APP_CLASS_ALLFLOATS
* Script language
* Ternary condition operator is now able to implicitly convert
the types in the expressions to a common type
* Declarations of shorthand nested namespaces is now supported
* Add-ons
* Fixed compilation error in filesystem add-on
* Fixed datetime add-on to properly handle timezones with
day-light-savings in a portable way
* Fixed WRAP_MFN on gnuc when used within templated functions
* Fixed issue in array::sort with callback that could cause
objects in the array to be destroyed by gc
- Removed angelscript-fix-aarch64.patch, upstream merged
-------------------------------------------------------------------
Fri Apr 2 07:48:45 UTC 2021 - Guillaume GARDET <guillaume.gardet@opensuse.org>
@ -283,5 +332,3 @@ Sat Mar 3 21:34:28 UTC 2012 - joop.boonen@opensuse.org
Fri Feb 24 00:00:00 UTC 2012 - virus0025@gmail.com
- initial version
-------------------------------------------------------------------

View File

@ -16,9 +16,9 @@
#
%define sover 2_35_0
%define sover 2_35_1
Name: angelscript
Version: 2.35.0
Version: 2.35.1
Release: 0
Summary: Scripting library
License: Zlib
@ -27,7 +27,6 @@ URL: https://www.angelcode.com/angelscript/
Source: https://www.angelcode.com/angelscript/sdk/files/%{name}_%{version}.zip
# PATCH-FEATURE-OPENSUSE angelscript-addons_lib.patch aloisio@gmx.com -- build and install addons library
Patch0: angelscript-addons_lib.patch
Patch1: angelscript-fix-aarch64.patch
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: meson >= 0.49.0

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:010dd45e23e734d46f5891d70e268607a12cb9ab12503dda42f842d9db7e8857
size 1971850

3
angelscript_2.35.1.zip Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5c1096b6d6cf50c7e77ae93c736d35b69b07b1e5047161c7816bca25b413a18b
size 2033435