summaryrefslogtreecommitdiff
path: root/sysutils/grun/patches
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2001-11-18 22:41:40 +0000
committeragc <agc@pkgsrc.org>2001-11-18 22:41:40 +0000
commit4678c7f3f145b7f2bfd2351056618d708b618802 (patch)
tree8a69b9ff5502095a4a88ac005b2e0ab1b836af3d /sysutils/grun/patches
parent8aacbd0c86ae8136dc0b42d5f63bd26e11782dc2 (diff)
downloadpkgsrc-4678c7f3f145b7f2bfd2351056618d708b618802.tar.gz
Initial import of grun-0.9.2 into the NetBSD Packages Collection.
gRun is a GTK based Run dialog that closely resembles the Windows Run dialog, similar to xexec. However, gRun is much more powerful than xexec, looks a lot better, and has the big advantage that you can start typing a command without having to mouse-click into the text field. Provided in pkg PR 14440 by "Eric Gillespie, Jr." <epg@pretzelnet.org>, modified slightly by me.
Diffstat (limited to 'sysutils/grun/patches')
-rw-r--r--sysutils/grun/patches/patch-aa27
1 files changed, 27 insertions, 0 deletions
diff --git a/sysutils/grun/patches/patch-aa b/sysutils/grun/patches/patch-aa
new file mode 100644
index 00000000000..0a52698120f
--- /dev/null
+++ b/sysutils/grun/patches/patch-aa
@@ -0,0 +1,27 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/11/18 22:41:41 agc Exp $
+
+Use correct header file for locale information
+
+--- grun.c 2001/11/13 14:57:16 1.1
++++ grun.c 2001/11/13 14:57:44
+@@ -50,6 +50,10 @@
+ #define ARG_BASE 1
+ #endif
+
++#ifdef HAVE_LOCALE_H
++#include <locale.h>
++#endif
++
+ #include <sys/stat.h>
+
+ #define MAX_BUFF 1024
+@@ -894,7 +898,9 @@
+
+ gtk_init(&argc, &argv);
+ #ifndef WIN32
++#ifdef HAVE_SETLOCALE
+ setlocale (LC_ALL, "");
++#endif
+ bindtextdomain (PACKAGE, LOCALEDIR);
+ textdomain (PACKAGE);
+ #endif /* WIN32 */