summaryrefslogtreecommitdiff
path: root/x11/gmrun
diff options
context:
space:
mode:
authorAlexander Nedotsukov <bland@FreeBSD.org>2003-12-21 03:39:32 +0000
committerAlexander Nedotsukov <bland@FreeBSD.org>2003-12-21 03:39:32 +0000
commitb3c1bcc0d656c2fbb479579cb84f2efa388e4e31 (patch)
tree41654cc3fd65c3369fe5e654ed3aa0654aa185e5 /x11/gmrun
parent- support large files (diff)
Make buildable on -CURRENT.
Approved by: maintainer
Notes
Notes: svn path=/head/; revision=96296
Diffstat (limited to 'x11/gmrun')
-rw-r--r--x11/gmrun/Makefile6
-rw-r--r--x11/gmrun/files/patch-src::gtkcompletionline.cc11
2 files changed, 13 insertions, 4 deletions
diff --git a/x11/gmrun/Makefile b/x11/gmrun/Makefile
index dbaf10d3743f..fdd3b1d98aa0 100644
--- a/x11/gmrun/Makefile
+++ b/x11/gmrun/Makefile
@@ -14,8 +14,6 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= adamw@FreeBSD.org
COMMENT= A customizable program to run programs, with tab-completion
-BUILD_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport
-
USE_X_PREFIX= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
@@ -23,8 +21,8 @@ USE_GNOME= gnomeprefix gnomehack gtk20
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 500113
-BROKEN= "Does not compile (bad C++ code)"
+.if ${OSVERSION} < 500000
+BUILD_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport
.endif
post-install:
diff --git a/x11/gmrun/files/patch-src::gtkcompletionline.cc b/x11/gmrun/files/patch-src::gtkcompletionline.cc
new file mode 100644
index 000000000000..aca565accc3c
--- /dev/null
+++ b/x11/gmrun/files/patch-src::gtkcompletionline.cc
@@ -0,0 +1,11 @@
+--- src/gtkcompletionline.cc Thu Dec 18 14:47:42 2003
++++ src/gtkcompletionline.cc.orig Thu Dec 18 14:50:30 2003
+@@ -348,7 +348,7 @@
+ }
+
+ static int
+-select_executables_only(const struct dirent* dent)
++select_executables_only(struct dirent* dent)
+ {
+ int len = strlen(dent->d_name);
+ int lenp = prefix.length();