summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorJames Cook <james.cook@utoronto.ca>2014-02-07 17:28:02 -0800
committerJames Cook <james.cook@utoronto.ca>2014-02-07 17:28:02 -0800
commit8ef2cadca4e4e74679ce16ac7b31688382a9aae4 (patch)
tree9d7da7399b310c459cecb56ac66d840e4f7b52f3 /pkgs
parentd7eb849349972656fc99e1b8f56286aa10cf7836 (diff)
downloadnixlib-8ef2cadca4e4e74679ce16ac7b31688382a9aae4.tar
nixlib-8ef2cadca4e4e74679ce16ac7b31688382a9aae4.tar.gz
nixlib-8ef2cadca4e4e74679ce16ac7b31688382a9aae4.tar.bz2
nixlib-8ef2cadca4e4e74679ce16ac7b31688382a9aae4.tar.lz
nixlib-8ef2cadca4e4e74679ce16ac7b31688382a9aae4.tar.xz
nixlib-8ef2cadca4e4e74679ce16ac7b31688382a9aae4.tar.zst
nixlib-8ef2cadca4e4e74679ce16ac7b31688382a9aae4.zip
gnash: Hack to define nullptr as NULL, since some included mozilla headers seem to want nullptr
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/video/gnash/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/applications/video/gnash/default.nix b/pkgs/applications/video/gnash/default.nix
index 4f2addcc99b0..616b474393c1 100644
--- a/pkgs/applications/video/gnash/default.nix
+++ b/pkgs/applications/video/gnash/default.nix
@@ -73,6 +73,8 @@ stdenv.mkDerivation rec {
        echo "\$GST_PLUGIN_PATH set to \`$GST_PLUGIN_PATH'"
     '';
 
+  postConfigure = "echo '#define nullptr NULL' >> gnashconfig.h";
+
   # Make sure `gtk-gnash' gets `libXext' in its `RPATH'.
   NIX_LDFLAGS="-lX11 -lXext";