From fdf6a9698aec8353af67fe7f1b832efa9751b9fb Mon Sep 17 00:00:00 2001
From: dstoecker <>
Date: Oct 22 2021 23:17:37 +0000
Subject: Update angelscript to version 2.35.1 / rev 6 via SR 926968
https://build.opensuse.org/request/show/926968
by user dstoecker + dimstar_suse
- Update to version 2.35.1
---
diff --git a/.files b/.files
index 0daec5a..df8e3e0 100644
Binary files a/.files and b/.files differ
diff --git a/.rev b/.rev
index 6aa20df..ef6e8ad 100644
--- a/.rev
+++ b/.rev
@@ -39,4 +39,13 @@
883335
+
+ 461d440f2a416f5edd240a19955b3545
+ 2.35.1
+
+ dimstar_suse
+ - Update to version 2.35.1
+
+ 926968
+
diff --git a/angelscript-fix-aarch64.patch b/angelscript-fix-aarch64.patch
deleted file mode 100644
index 938cf17..0000000
--- a/angelscript-fix-aarch64.patch
+++ /dev/null
@@ -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',
diff --git a/angelscript.changes b/angelscript.changes
index c598dc9..4280a9c 100644
--- a/angelscript.changes
+++ b/angelscript.changes
@@ -1,4 +1,53 @@
-------------------------------------------------------------------
+Thu Oct 21 14:45:16 UTC 2021 - Ferdinand Thiessen
+
+- 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
- Fix build on aarch64:
@@ -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
-
--------------------------------------------------------------------
diff --git a/angelscript.spec b/angelscript.spec
index 085392f..7da635e 100644
--- a/angelscript.spec
+++ b/angelscript.spec
@@ -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
diff --git a/angelscript_2.35.0.zip b/angelscript_2.35.0.zip
deleted file mode 120000
index 21a262c..0000000
--- a/angelscript_2.35.0.zip
+++ /dev/null
@@ -1 +0,0 @@
-/ipfs/bafybeigd44jkxpfhawvecntmoav6uc4awfok2wqzk665lolmd7hwqfghqq
\ No newline at end of file
diff --git a/angelscript_2.35.1.zip b/angelscript_2.35.1.zip
new file mode 120000
index 0000000..b805c21
--- /dev/null
+++ b/angelscript_2.35.1.zip
@@ -0,0 +1 @@
+/ipfs/bafybeiakzngrmazxbswismhv3onbuczxdfilqlmmvbjrbiohzgtnf7icue
\ No newline at end of file