summaryrefslogtreecommitdiff
path: root/editors/gedit
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2008-09-30 08:04:30 +0000
committerhubertf <hubertf@pkgsrc.org>2008-09-30 08:04:30 +0000
commitd56b66594a9dfa50c80b3dd33eb6465ab9782c0c (patch)
tree75466196de1fa89aeaf085a2d1e78dc8a3f2879a /editors/gedit
parent1a95dda28924cf9aeda41cfa121cb41d7661aa36 (diff)
downloadpkgsrc-d56b66594a9dfa50c80b3dd33eb6465ab9782c0c.tar.gz
Prevent gzip(1) from nuking itself (yes, the gzip binary!) by passing
its name in the GZIP environment variable. Instead, pass the compression level in that variable.
Diffstat (limited to 'editors/gedit')
-rw-r--r--editors/gedit/patches/patch-aa21
1 files changed, 21 insertions, 0 deletions
diff --git a/editors/gedit/patches/patch-aa b/editors/gedit/patches/patch-aa
new file mode 100644
index 00000000000..e2a7be80036
--- /dev/null
+++ b/editors/gedit/patches/patch-aa
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.8 2008/09/30 08:04:30 hubertf Exp $
+
+--- plugins/taglist/Makefile.in.orig 2008-09-19 04:57:38.000000000 +0200
++++ plugins/taglist/Makefile.in
+@@ -138,6 +138,7 @@ GMSGFMT = @GMSGFMT@
+ GREP = @GREP@
+ GTKDOC_CHECK = @GTKDOC_CHECK@
+ GZIP = @GZIP@
++GZIP_ENV = --best
+ HELP_DIR = @HELP_DIR@
+ HTML_DIR = @HTML_DIR@
+ INSTALL = @INSTALL@
+@@ -650,7 +651,7 @@ uninstall-am: uninstall-pluginDATA unins
+
+ %.tags.gz: %.tags.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po)
+ LC_ALL=C $(INTLTOOL_MERGE) $(top_srcdir)/po $< $(@:.gz=) -x -u -c $(top_builddir)/po/.intltool-merge-cache
+- $(GZIP) --best -f $(@:.gz=)
++ env GZIP=$(GZIP_ENV) $(GZIP) -f $(@:.gz=)
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT: