From da14d70415f8c3aba83fed269b34f16a39b114e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Thu, 25 Sep 2008 07:32:57 +0000 Subject: [PATCH] GNU IceCat: Prepare for Xulrunner build. svn path=/nixpkgs/trunk/; revision=12917 --- .../browsers/icecat-3/skip-gre-registration.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 pkgs/applications/networking/browsers/icecat-3/skip-gre-registration.patch diff --git a/pkgs/applications/networking/browsers/icecat-3/skip-gre-registration.patch b/pkgs/applications/networking/browsers/icecat-3/skip-gre-registration.patch new file mode 100644 index 000000000000..d1fb4e3f30ab --- /dev/null +++ b/pkgs/applications/networking/browsers/icecat-3/skip-gre-registration.patch @@ -0,0 +1,12 @@ +Skip "GRE" registration since that assumes write access to `/etc'. + +--- icecat-3.0.1-g1/xulrunner/installer/Makefile.in 2008-07-27 12:52:16.000000000 +0200 ++++ icecat-3.0.1-g1/xulrunner/installer/Makefile.in 2008-09-08 17:19:17.000000000 +0200 +@@ -71,6 +71,7 @@ $(MOZILLA_VERSION).system.conf: $(topsrc + printf "[%s]\nGRE_PATH=%s\nxulrunner=true\nabi=%s" \ + $(MOZILLA_VERSION) $(installdir) $(TARGET_XPCOM_ABI)> $@ + ++SKIP_GRE_REGISTRATION = yes + ifndef SKIP_GRE_REGISTRATION + # to register xulrunner per-user, override this with $HOME/.gre.d + regdir = /etc/gre.d