git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #17441 from ttuegel/poppler-qt-5.7

Fix Poppler with Qt >= 5.7

commit18ba17314b88c41a00ac3adbc838bdfe785441e6 authorThomas Tuegel <ttuegel@gmail.com> dateMon 1 Aug 2016, 18:49 (10 years ago) parentb5884b03445ab7
1 file changed+6−1
pkgs/development/libraries/poppler/default.nix+6−1
pkgs/development/libraries/poppler/default.nix+6−1
@@ -1,6 +1,8 @@
11{ stdenv, lib, fetchurl, fetchpatch, pkgconfig, libiconv, libintlOrEmpty
22, zlib, curl, cairo, freetype, fontconfig, lcms, libjpeg, openjpeg
3−, minimal ? false, qt4Support ? false, qt4 ? null, qt5Support ? false, qtbase ? null
3+, minimal ? false
4+, qt4Support ? false, qt4 ? null
5+, qt5Support ? false, qtbase ? null
46, utils ? false, suffix ? "glib"
57}:
68
@@ -31,6 +33,9 @@ stdenv.mkDerivation rec {
3133
3234 NIX_CFLAGS_COMPILE = [ "-DQT_NO_DEBUG" ];
3335
36+ # Any package depending on Qt >= 5.7 must build using the C++11 standard.
37+ CXXFLAGS = lib.optional qt5Support "-std=c++11";
38+
3439 configureFlags = with lib;
3540 [
3641 "--enable-xpdf-headers"