aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/cenon
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2006-04-25 23:34:30 +0800
committerdinoex <dinoex@FreeBSD.org>2006-04-25 23:34:30 +0800
commit8c7e231107c36799035b5d1ffcbca5f15c058cf2 (patch)
treede20861c9a65b2d0f1df0d44cb319cbf746f3152 /graphics/cenon
parent0fc986184341b45a9fa7e2d76f967f4f3864afdd (diff)
downloadfreebsd-ports-gnome-8c7e231107c36799035b5d1ffcbca5f15c058cf2.tar.gz
freebsd-ports-gnome-8c7e231107c36799035b5d1ffcbca5f15c058cf2.tar.zst
freebsd-ports-gnome-8c7e231107c36799035b5d1ffcbca5f15c058cf2.zip
- unbreak gcc4.x.x
- cleanup gnustep options
Diffstat (limited to 'graphics/cenon')
-rw-r--r--graphics/cenon/Makefile9
-rw-r--r--graphics/cenon/files/patch-functions.h11
-rw-r--r--graphics/cenon/files/patch-vhfCommonFunctions.h20
3 files changed, 32 insertions, 8 deletions
diff --git a/graphics/cenon/Makefile b/graphics/cenon/Makefile
index 163bc4ea03db..8b95cced8050 100644
--- a/graphics/cenon/Makefile
+++ b/graphics/cenon/Makefile
@@ -17,16 +17,13 @@ EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= danfe@FreeBSD.org
COMMENT= A vector graphics tool for GNUstep
-GNUSTEP_PREFIX?= ${LOCALBASE}/GNUstep
-PREFIX= ${GNUSTEP_PREFIX}
-NO_MTREE= yes
USE_BZIP2= yes
USE_GMAKE= yes
USE_GNUSTEP= yes
+USE_GNUSTEP_PREFIX= yes
USE_GNUSTEP_BACK= yes
USE_GNUSTEP_BUILD= yes
USE_GNUSTEP_INSTALL= yes
-USE_REINPLACE= yes
WRKSRC= ${WRKDIR}/Cenon
MAKEFILE= GNUmakefile
@@ -35,10 +32,6 @@ OPTIONS= FULL_LIBRARY "Install complete Cenon Library" off
.include <bsd.port.pre.mk>
-.if ${CC} == "gcc40" || ${CC} == "gcc41" || ${CC} == "gcc42"
-BROKEN= Does not compile
-.endif
-
.if defined(WITH_FULL_LIBRARY)
DISTFILES+= CenonLibrary-${PORTVERSION}-1${EXTRACT_SUFX}
PLIST_SUB+= FULL=""
diff --git a/graphics/cenon/files/patch-functions.h b/graphics/cenon/files/patch-functions.h
new file mode 100644
index 000000000000..caeae5b2f704
--- /dev/null
+++ b/graphics/cenon/files/patch-functions.h
@@ -0,0 +1,11 @@
+--- functions.h.orig Tue Jan 11 18:56:41 2005
++++ functions.h Tue Apr 25 17:25:29 2006
+@@ -41,7 +41,7 @@
+ NSString *systemBundlePath(void);
+ NSString *userBundlePath(void);
+
+-void fillPopup(id popupButton, NSString *folder, NSString *ext, int removeIx );
++void fillPopup(NSPopUpButton *popupButton, NSString *folder, NSString *ext, int removeIx );
+ NSDictionary *dictionaryFromFolder(NSString *folder, NSString *name);
+
+ float convertToUnit(float value);
diff --git a/graphics/cenon/files/patch-vhfCommonFunctions.h b/graphics/cenon/files/patch-vhfCommonFunctions.h
new file mode 100644
index 000000000000..5ff667d95614
--- /dev/null
+++ b/graphics/cenon/files/patch-vhfCommonFunctions.h
@@ -0,0 +1,20 @@
+--- VHFShared/vhfCommonFunctions.h.orig Sun Dec 12 16:25:57 2004
++++ VHFShared/vhfCommonFunctions.h Tue Apr 25 17:18:43 2006
+@@ -36,6 +36,8 @@
+ #ifndef VHF_H_COMMONFUNCTIONS
+ #define VHF_H_COMMONFUNCTIONS
+
++#include <AppKit/AppKit.h>
++
+ #include "types.h"
+
+ /* Timers used to automatically scroll when the mouse is
+@@ -44,7 +46,7 @@
+ #define StartTimer(inTimerLoop) if (!inTimerLoop) { [NSEvent startPeriodicEventsAfterDelay:0.1 withPeriod:0.01]; inTimerLoop=YES; }
+ #define StopTimer(inTimerLoop) if (inTimerLoop) { [NSEvent stopPeriodicEvents]; inTimerLoop=NO; }
+
+-void sortPopup(id popupButton, int startIx);
++void sortPopup(NSPopUpButton *popupButton, int startIx);
+
+ NSString *stringWithConvertedChars(NSString *string, NSDictionary *conversionDict);
+