summaryrefslogtreecommitdiff
path: root/editors/scite
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-08-19 16:07:53 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-08-19 16:07:53 +0000
commit49b191e6ec06df4967598184f3404f574493f548 (patch)
tree8117a8c111ae277b42aa7c0422c98491935a46cd /editors/scite
parentFix test for gnome header file. (diff)
Use USE_GNOMENG.
Suggested by: Roberto Gerola <roberto.gerola@speedtech.it>
Notes
Notes: svn path=/head/; revision=64663
Diffstat (limited to 'editors/scite')
-rw-r--r--editors/scite/Makefile3
-rw-r--r--editors/scite/files/patch-SciTEGTK.cxx14
2 files changed, 16 insertions, 1 deletions
diff --git a/editors/scite/Makefile b/editors/scite/Makefile
index 1b5222d0baf6..c4f30173a0f6 100644
--- a/editors/scite/Makefile
+++ b/editors/scite/Makefile
@@ -22,7 +22,8 @@ WRKSRC= ${WRKDIR}/${PORTNAME}/gtk
USE_X_PREFIX= yes
USE_GMAKE= yes
-USE_GNOME= yes
+USE_GNOMENG= yes
+USE_GNOME= gnomehier gtk12
MAKEFILE= makefile
MAKE_ENV= MKDIR="${MKDIR}"
diff --git a/editors/scite/files/patch-SciTEGTK.cxx b/editors/scite/files/patch-SciTEGTK.cxx
new file mode 100644
index 000000000000..7f7d45b0dc13
--- /dev/null
+++ b/editors/scite/files/patch-SciTEGTK.cxx
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- SciTEGTK.cxx 2002/08/19 16:01:39 1.1
++++ SciTEGTK.cxx 2002/08/19 16:02:02
+@@ -1882,7 +1882,7 @@
+ return 0;
+ }
+
+-void SciTEGTK::AddToPopUp(const char *label, int cmd=0, bool enabled=true) {
++void SciTEGTK::AddToPopUp(const char *label, int cmd, bool enabled) {
+ SString localised = LocaliseString(label);
+ localised.insert(0, "/");
+ GtkItemFactoryEntry itemEntry = {