SHA256
1
0
forked from pool/ldc
ldc/ldc-1.9.0-fix_arm_build.patch
Guillaume GARDET 08d5df33e9 - Update to 1.39.0:
- Drop upstream patch merge in 1.34.0:
  * riscv64-default-target.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:D/ldc?expand=0&rev=70
2024-09-05 11:36:05 +00:00

13 lines
442 B
Diff

--- ldc-1.9.0-src.orig/runtime/druntime/src/ldc/arm_unwind.c 2018-06-05 15:47:25.521618323 +0200
+++ ldc-1.9.0-src/runtime/druntime/src/ldc/arm_unwind.c 2018-06-06 09:44:20.368786818 +0200
@@ -26,7 +26,8 @@ _Unwind_Ptr _d_eh_GetIP(_Unwind_Context
#ifdef __GLIBC__
_Unwind_Ptr _d_eh_GetIPInfo(_Unwind_Context *context, int *ptr)
{
- return _Unwind_GetIPInfo(context, ptr);
+ *ptr = 0;
+ return _Unwind_GetIP(context);
}
#endif