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
commit16b30674fd6d8048d5221e0ee7265bb2aa78a93b (patch)
tree75466196de1fa89aeaf085a2d1e78dc8a3f2879a /editors/gedit
parent13a6360e8c0d810e71a4b3ed4148c9af4d2b662d (diff)
downloadpkgsrc-16b30674fd6d8048d5221e0ee7265bb2aa78a93b.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: