summaryrefslogtreecommitdiff
path: root/x11-toolkits/gtoolkit/files/patch-GToolKit.m
diff options
context:
space:
mode:
authorDavid Chisnall <theraven@FreeBSD.org>2013-08-28 18:26:01 +0000
committerDavid Chisnall <theraven@FreeBSD.org>2013-08-28 18:26:01 +0000
commit3bec8741ffe1e70c5dbabd1ee86bfdf05f1c3e99 (patch)
treeab5064afd823ae17563635026226e53774a6614d /x11-toolkits/gtoolkit/files/patch-GToolKit.m
parentUpdate devel/monodevelop to 4.0.12 and unbreak build. (diff)
Update to latest GNUstep core libraries.
Update dependent packages with more recent releases. Remove old and bit-rotted ones. Switch to using clang 3.3 and libobjc2 1.7 by default, so modern Objective-C features work out of the box and remove a lot of configurable options for sub-optimal (and, often, unsupported / deprecated upstream) configurations. Take maintainership of GNUstep-related ports. Several of the ports left in have scary warnings which mean that they are likely broken in lots of cases. Future commits will fix them. Approved by: bapt
Notes
Notes: svn path=/head/; revision=325546
Diffstat (limited to 'x11-toolkits/gtoolkit/files/patch-GToolKit.m')
-rw-r--r--x11-toolkits/gtoolkit/files/patch-GToolKit.m72
1 files changed, 0 insertions, 72 deletions
diff --git a/x11-toolkits/gtoolkit/files/patch-GToolKit.m b/x11-toolkits/gtoolkit/files/patch-GToolKit.m
deleted file mode 100644
index e6b424035831..000000000000
--- a/x11-toolkits/gtoolkit/files/patch-GToolKit.m
+++ /dev/null
@@ -1,72 +0,0 @@
---- GToolKit.m.orig 2002-02-21 16:43:52.000000000 +0100
-+++ GToolKit.m 2011-04-15 20:17:16.000000000 +0200
-@@ -2550,6 +2550,17 @@
- #include <GToolKit/GTKWidget.h>
- #include <GToolKit/GTKAccelGroup.h>
-
-+#ifdef HAVE_CONFIG_H
-+#include "config.h"
-+#endif
-+
-+#include <stdio.h>
-+#include <string.h>
-+#include <Foundation/NSAutoreleasePool.h>
-+#if defined (DEBUG) && defined (HAVE_OBJC_OBJC_API_H)
-+#include <objc/objc-api.h>
-+#endif
-+
- @implementation GTKItemFactory
- + (GtkType) getType
- {
-@@ -2651,16 +2662,6 @@
- {
- gtk_item_factory_set_translate_func(gtk, func , data , notify);
- }
--#ifdef HAVE_CONFIG_H
--#include "config.h"
--#endif
--
--#include <stdio.h>
--#include <string.h>
--#include <Foundation/NSAutoreleasePool.h>
--#if defined (DEBUG) && defined (HAVE_OBJC_OBJC_API_H)
--#include <objc/objc-api.h>
--#endif
-
-
- static void item_forward_signal (gpointer data, guint action, GtkWidget *widget)
-@@ -3134,11 +3135,11 @@
- {
- return gtk_main_iteration_do( blocking);
- }
--- (gint) true
-+- (gint) val_true
- {
- return gtk_true();
- }
--- (gint) false
-+- (gint) val_false
- {
- return gtk_false();
- }
-@@ -6376,6 +6377,10 @@
- #include <GToolKit/GTKWidget.h>
- #include <GToolKit/GTKAccelGroup.h>
-
-+#include <gtk/gtksignal.h>
-+#include <Foundation/NSAutoreleasePool.h>
-+#include <Foundation/NSNotification.h>
-+
- @implementation GTKWindow
- + (GtkType) getType
- {
-@@ -6437,9 +6442,6 @@
- {
- gtk_window_set_modal(gtk, modal);
- }
--#include <gtk/gtksignal.h>
--#include <Foundation/NSAutoreleasePool.h>
--#include <Foundation/NSNotification.h>
-
-
- NSString *GTKWindowDidBecomeMainNotification = @"GTKWindowDidBecomeMain";