pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/gnustep-gui (x11/gnustep-gui) Some edit to make bu...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d531debc136a
branches:  trunk
changeset: 439606:d531debc136a
user:      mef <mef%pkgsrc.org@localhost>
date:      Mon Sep 21 03:43:22 2020 +0000

description:
(x11/gnustep-gui) Some edit to make build go furthur: GS_GC_UNHIDE/GS_GC_HIDE issue

diffstat:

 x11/gnustep-gui/Makefile |  17 ++++++++++++++++-
 1 files changed, 16 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r cd6162a11e9d -r d531debc136a x11/gnustep-gui/Makefile
--- a/x11/gnustep-gui/Makefile  Mon Sep 21 03:32:27 2020 +0000
+++ b/x11/gnustep-gui/Makefile  Mon Sep 21 03:43:22 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.77 2020/06/05 12:49:17 jperkin Exp $
+# $NetBSD: Makefile,v 1.78 2020/09/21 03:43:22 mef Exp $
 
 DISTNAME=      gnustep-gui-0.22.0
 PKGREVISION=   23
@@ -15,6 +15,21 @@
 CONFIGURE_ARGS+=       --exec-prefix=${PREFIX}/libexec/GNUstep
 MAKE_FILE=             GNUmakefile
 
+# problem:
+# | In file included from ../Headers/AppKit/AppKit.h:117:
+# | ../Headers/AppKit/NSWorkspace.h:169:14: error: redefinition of 'NSAppleEventDescriptor' as different kind of symbol
+# | typedef void NSAppleEventDescriptor;
+# |              ^
+# | /tmp/x11/gnustep-gui/work/.buildlink/include/Foundation/NSAppleEventDescriptor.h:36:12: note: previous definition is here
+# | @interface NSAppleEventDescriptor : NSObjec
+
+# hint: https://www.mail-archive.com/gnustep-cvs%gna.org@localhost/msg17908.html
+SUBST_CLASSES+=        gs
+SUBST_FILES.gs=        Source/NSAnimation.m
+SUBST_STAGE.gs=        pre-configure
+SUBST_SED.gs=  -e 's/GS_GC_UNHIDE//'
+SUBST_SED.gs+= -e 's/GS_GC_HIDE//'
+
 INSTALLATION_DIRS+=    share/GNUstep/Applications
 
 .include "../../devel/gnustep-base/buildlink3.mk"



Home | Main Index | Thread Index | Old Index