From ba89e9ecd8969ceec0018ccefd12f741ae106ba9 Mon Sep 17 00:00:00 2001 From: Dirk Meyer Date: Wed, 24 Dec 2008 07:49:52 +0000 Subject: - fix build for gnustep-gui 0.16 --- devel/gorm/Makefile | 25 ++++++++++++++++++++++++ devel/gorm/files/patch-GormNSWindow.m | 12 ++++++++++++ devel/gorm/files/patch-GormNibWrapperLoader.h | 12 ++++++++++++ devel/gorm/files/patch-GormPrivate.h | 13 ++++++++++++ sysutils/burn/files/patch-ExtProgressIndicator.m | 3 ++- sysutils/burn/files/patch-WorkInProgress.m | 10 ++++++++++ 6 files changed, 74 insertions(+), 1 deletion(-) create mode 100644 devel/gorm/files/patch-GormNSWindow.m create mode 100644 devel/gorm/files/patch-GormNibWrapperLoader.h create mode 100644 devel/gorm/files/patch-GormPrivate.h create mode 100644 sysutils/burn/files/patch-WorkInProgress.m diff --git a/devel/gorm/Makefile b/devel/gorm/Makefile index 9c9d32052ab8..e388a442d0ec 100644 --- a/devel/gorm/Makefile +++ b/devel/gorm/Makefile @@ -24,4 +24,29 @@ USE_GNUSTEP_LDCONFIG= ${GNUSTEP_SYSTEM_LIBRARIES} DEFAULT_LIBVERSION= 1.1.0 +FIXME= GormCore/GormCustomView.m \ + GormCore/GormDocument.m \ + GormCore/GormFilePrefsManager.m \ + GormCore/GormHelpInspector.m \ + GormCore/GormPrivate.m \ + Palettes/1Windows/WindowsPalette.m \ + Plugins/Nib/GormNibWrapperBuilder.m + +FIXME2= Palettes/1Windows/GormNSPanel.m \ + Palettes/1Windows/GormWindowSizeInspector.m \ + Plugins/Gorm/GormGormWrapperBuilder.m \ + Plugins/Nib/GormNibWrapperLoader.h \ + +post-patch: +.for i in ${FIXME} + ${REINPLACE_CMD} -e 's|GSNibTemplates|GSNibLoading|' \ + -e 's|GSNibCompatibility|GSNibLoading|' \ + ${WRKSRC}/${i} +.endfor +.for i in ${FIXME2} + ${REINPLACE_CMD} -e 's|GSNibTemplates|GSGormLoading|' \ + -e 's|GSNibCompatibility|GSGormLoading|' \ + ${WRKSRC}/${i} +.endfor + .include diff --git a/devel/gorm/files/patch-GormNSWindow.m b/devel/gorm/files/patch-GormNSWindow.m new file mode 100644 index 000000000000..459ee8cc33c5 --- /dev/null +++ b/devel/gorm/files/patch-GormNSWindow.m @@ -0,0 +1,12 @@ +--- Palettes/1Windows/GormNSWindow.m.orig 2008-05-03 19:40:55.000000000 +0200 ++++ Palettes/1Windows/GormNSWindow.m 2008-12-23 11:55:25.000000000 +0100 +@@ -23,7 +23,8 @@ + */ + + #include +-#include ++#include ++#include + #include + #include "GormNSWindow.h" + diff --git a/devel/gorm/files/patch-GormNibWrapperLoader.h b/devel/gorm/files/patch-GormNibWrapperLoader.h new file mode 100644 index 000000000000..15f8970224c9 --- /dev/null +++ b/devel/gorm/files/patch-GormNibWrapperLoader.h @@ -0,0 +1,12 @@ +--- Plugins/Nib/GormNibWrapperLoader.h.orig 2008-06-25 00:09:55.000000000 +0200 ++++ Plugins/Nib/GormNibWrapperLoader.h 2008-12-23 16:40:32.000000000 +0100 +@@ -26,7 +26,8 @@ + #define GORM_NIBWRAPPERLOADER + + #include +-#include ++#include ++#include + + @interface GormNibWrapperLoader : GormWrapperLoader + { diff --git a/devel/gorm/files/patch-GormPrivate.h b/devel/gorm/files/patch-GormPrivate.h new file mode 100644 index 000000000000..712c08db0685 --- /dev/null +++ b/devel/gorm/files/patch-GormPrivate.h @@ -0,0 +1,13 @@ +--- GormCore/GormPrivate.h.orig 2007-11-06 00:44:36.000000000 +0100 ++++ GormCore/GormPrivate.h 2008-12-23 09:27:03.000000000 +0100 +@@ -36,8 +36,8 @@ + #include + #include + #include +-#include +-#include ++#include ++#include + + extern NSString *GormLinkPboardType; + extern NSString *GormToggleGuidelineNotification; diff --git a/sysutils/burn/files/patch-ExtProgressIndicator.m b/sysutils/burn/files/patch-ExtProgressIndicator.m index 518d3df0c8cd..f0a5141869b2 100644 --- a/sysutils/burn/files/patch-ExtProgressIndicator.m +++ b/sysutils/burn/files/patch-ExtProgressIndicator.m @@ -1,10 +1,11 @@ --- ExtProgressIndicator.m.orig 2005-05-12 17:58:49.000000000 +0200 +++ ExtProgressIndicator.m 2008-05-03 09:35:27.000000000 +0200 -@@ -21,6 +21,7 @@ +@@ -21,6 +21,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#include ++#include #include #include #include diff --git a/sysutils/burn/files/patch-WorkInProgress.m b/sysutils/burn/files/patch-WorkInProgress.m new file mode 100644 index 000000000000..dd2fd0060652 --- /dev/null +++ b/sysutils/burn/files/patch-WorkInProgress.m @@ -0,0 +1,10 @@ +--- WorkInProgress.m.orig 2005-05-12 17:58:49.000000000 +0200 ++++ WorkInProgress.m 2008-12-24 01:53:34.000000000 +0100 +@@ -23,6 +23,7 @@ + + #include + #include ++#include + + #include "Functions.h" + #include "Constants.h" -- cgit v1.2.3