Files
gentoo/gnustep-base/libobjc2/files/libobjc2-2.3-incompatible-pointers.patch
2026-03-10 09:54:07 +01:00

28 lines
821 B
Diff

https://bugs.gentoo.org/970708
backported upstream patch for incomatible pointers. CI stuff
trimmed.
https://github.com/gnustep/libobjc2/commit/0e027650d960626b2119efabaebde20bb003a3db
From 0e027650d960626b2119efabaebde20bb003a3db Mon Sep 17 00:00:00 2001
From: Hugo Melder <service@hugomelder.com>
Date: Sat, 25 Oct 2025 13:50:36 +0200
Subject: [PATCH] Add Weekly CI (#352)
* CI: add weekly workflow
* CI: testing in feature branch
* Test/FastPathAlloc: fix compilation error
diff --git a/Test/FastPathAlloc.m b/Test/FastPathAlloc.m
index 340a8dd3..f1eb6244 100644
--- a/Test/FastPathAlloc.m
+++ b/Test/FastPathAlloc.m
@@ -96,7 +96,7 @@ + (instancetype)alloc
@implementation ShouldInitSubclassed
+ (instancetype) alloc
{
- return [ShouldInit alloc];
+ return (ShouldInitSubclassed *)[ShouldInit alloc];
}
@end