Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/gcc-5' into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
edolstra committed Mar 11, 2016
2 parents 2af1cb3 + 4f5d48a commit dd53c65
Show file tree
Hide file tree
Showing 39 changed files with 60 additions and 1,848 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ stdenv.mkDerivation rec {
"--enable-optimize" "--enable-strip" ])
++ [
"--disable-javaxpcom"
"--enable-stdcxx-compat" # Avoid dependency on libstdc++ 4.7
#"--enable-stdcxx-compat" # Avoid dependency on libstdc++ 4.7
]
++ stdenv.lib.optional enableOfficialBranding "--enable-official-branding";
in ''
Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/version-management/rcs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ stdenv.mkDerivation rec {

doCheck = true;

NIX_CFLAGS_COMPILE = if stdenv.isDarwin then "-std=gnu99" else null;
NIX_CFLAGS_COMPILE = [ "-std=c99" ];

meta = {
homepage = http://www.gnu.org/software/rcs/;
Expand Down
27 changes: 27 additions & 0 deletions pkgs/desktops/kde-4.14/kdebindings/pykde4-gcc-5.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb0ed8c85dd15fb18a902b22a7555ba4f7cf01cb

Patch created by: Erik Zeek

See also: https://bugs.gentoo.org/show_bug.cgi?id=567022

--- a/CMakeLists.txt
+++ a/CMakeLists.txt
@@ -166,7 +166,7 @@ add_sip_python_module(PyKDE4.kdeui sip/kdeui/kdeuimod.sip ${KDE4_KDEUI_LIBS} ${Q

file(GLOB kio_files_sip sip/kio/*.sip)
set(SIP_EXTRA_FILES_DEPEND ${kio_files_sip})
-add_sip_python_module(PyKDE4.kio sip/kio/kiomod.sip ${KDE4_KIO_LIBS} ${KDE4_KFILE_LIBS})
+add_sip_python_module(PyKDE4.kio sip/kio/kiomod.sip ${KDE4_SOLID_LIBS} ${KDE4_KIO_LIBS} ${KDE4_KFILE_LIBS})

file(GLOB kutils_files_sip sip/kutils/*.sip)
set(SIP_EXTRA_FILES_DEPEND ${kutils_files_sip})
@@ -190,7 +190,7 @@ add_sip_python_module(PyKDE4.knewstuff sip/knewstuff/knewstuffmod.sip ${KDE4_KNE

file(GLOB dnssd_files_sip sip/dnssd/*.sip)
set(SIP_EXTRA_FILES_DEPEND ${dnssd_files_sip})
-add_sip_python_module(PyKDE4.dnssd sip/dnssd/dnssdmod.sip ${KDE4_KDNSSD_LIBS} ${QT_QTCORE_LIBRARY})
+add_sip_python_module(PyKDE4.dnssd sip/dnssd/dnssdmod.sip ${KDE4_KDNSSD_LIBS} ${QT_QTCORE_LIBRARY} ${QT_QTNETWORK_LIBRARY})

file(GLOB phonon_files_sip sip/phonon/*.sip)
set(SIP_EXTRA_FILES_DEPEND ${phonon_files_sip})

2 changes: 2 additions & 0 deletions pkgs/desktops/kde-4.14/kdebindings/pykde4.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ let pydir = "lib/python${python.majorVersion}"; in

kde {

patches = [ ./pykde4-gcc-5.patch ];

# todo: polkit isn't found by the build system

buildInputs = [
Expand Down
144 changes: 0 additions & 144 deletions pkgs/development/compilers/gcc/4.3/builder.sh

This file was deleted.

184 changes: 0 additions & 184 deletions pkgs/development/compilers/gcc/4.3/default.nix

This file was deleted.

Loading

1 comment on commit dd53c65

@vcunat
Copy link
Member

@vcunat vcunat commented on dd53c65 Mar 13, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Either this or the parent merge of binutils broke darwin stdenv completely. http://hydra.nixos.org/build/33206231/nixlog/1

Please sign in to comment.