summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2017-04-25 15:54:18 +0200
committerBernard Cafarelli <voyageur@gentoo.org>2017-04-25 15:56:40 +0200
commitf430a2c2b7860903c8b5635dbaac3a28bd8d8fa2 (patch)
tree3d34275ae2b0948b1929e0c00e66835070e1363e /gnustep-libs/dbuskit/files/dbuskit-0.1.1-remove_gc.patch
parentgnustep-base/gnustep-base: 1.25.0 bump (diff)
downloadgentoo-f430a2c2b7860903c8b5635dbaac3a28bd8d8fa2.tar.gz
gentoo-f430a2c2b7860903c8b5635dbaac3a28bd8d8fa2.tar.bz2
gentoo-f430a2c2b7860903c8b5635dbaac3a28bd8d8fa2.zip
gnustep-libs/dbuskit: support latest gnustep-base
Garbage collection support was dropped Update ebuild EAPI Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'gnustep-libs/dbuskit/files/dbuskit-0.1.1-remove_gc.patch')
-rw-r--r--gnustep-libs/dbuskit/files/dbuskit-0.1.1-remove_gc.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnustep-libs/dbuskit/files/dbuskit-0.1.1-remove_gc.patch b/gnustep-libs/dbuskit/files/dbuskit-0.1.1-remove_gc.patch
new file mode 100644
index 00000000000..cc20e8dbe16
--- /dev/null
+++ b/gnustep-libs/dbuskit/files/dbuskit-0.1.1-remove_gc.patch
@@ -0,0 +1,29 @@
+--- trunk/Source/DKNotificationCenter.m 2016/03/26 05:10:00 39611
++++ trunk/Source/DKNotificationCenter.m 2016/03/28 06:16:41 39612
+@@ -519,7 +519,7 @@
+ {
+ return nil;
+ }
+- observer = GS_GC_HIDE(anObserver);
++ observer = anObserver;
+ selector = aSelector;
+
+ // Make sure the necessary components are there and that the selector takes a
+@@ -535,7 +535,7 @@
+
+ - (id)observer
+ {
+- return GS_GC_UNHIDE(observer);
++ return observer;
+ }
+
+ - (SEL)selector
+@@ -561,7 +561,7 @@
+ // callback and need to avoid the reentrancy. We do this by scheduling
+ // delivery of the notification on the run loop.
+ [[NSRunLoop currentRunLoop] performSelector: selector
+- target: GS_GC_UNHIDE(observer)
++ target: observer
+ argument: notification
+ order: UINT_MAX
+ modes: [NSArray arrayWithObject: NSDefaultRunLoopMode]];