summaryrefslogtreecommitdiff
path: root/gnustep-base/libobjc2/files/libobjc2-2.3-incompatible-pointers.patch
blob: 5b431714ab52d308269128d6060d06091c3be247 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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