Loading pkgs/applications/audio/puredata/default.nix +5 −0 Original line number Diff line number Diff line Loading @@ -21,6 +21,11 @@ stdenv.mkDerivation rec { hash = "sha256-hcPUvTYgtAHntdWEeHoFIIKylMTE7us1g9dwnZP9BMI="; }; patches = [ # expose error function used by dependents ./expose-error.patch ]; nativeBuildInputs = [ autoreconfHook gettext Loading pkgs/applications/audio/puredata/expose-error.patch 0 → 100644 +13 −0 Original line number Diff line number Diff line diff --git a/src/m_pd.h b/src/m_pd.h index c658fa5..a3a506c 100644 --- a/src/m_pd.h +++ b/src/m_pd.h @@ -8,6 +8,8 @@ extern "C" { #endif +extern void error(const char* fmt, ...); + #define PD_MAJOR_VERSION 0 #define PD_MINOR_VERSION 54 #define PD_BUGFIX_VERSION 1 pkgs/by-name/mr/mrpeach/package.nix +6 −2 Original line number Diff line number Diff line Loading @@ -23,7 +23,7 @@ stdenv.mkDerivation { hardeningDisable = [ "format" ]; patchPhase = '' postPatch = '' for D in net osc do sed -i "s@prefix = /usr/local@prefix = $out@g" $D/Makefile Loading @@ -34,24 +34,28 @@ stdenv.mkDerivation { ''; buildPhase = '' runHook preBuild for D in net osc do cd $D make cd .. done runHook postBuild ''; installPhase = '' runHook preInstall for D in net osc do cd $D make install cd .. done runHook postInstall ''; fixupPhase = '' preFixup = '' mv $out/lib/pd-externals/net $out mv $out/lib/pd-externals/osc $out rm -rf $out/lib Loading Loading
pkgs/applications/audio/puredata/default.nix +5 −0 Original line number Diff line number Diff line Loading @@ -21,6 +21,11 @@ stdenv.mkDerivation rec { hash = "sha256-hcPUvTYgtAHntdWEeHoFIIKylMTE7us1g9dwnZP9BMI="; }; patches = [ # expose error function used by dependents ./expose-error.patch ]; nativeBuildInputs = [ autoreconfHook gettext Loading
pkgs/applications/audio/puredata/expose-error.patch 0 → 100644 +13 −0 Original line number Diff line number Diff line diff --git a/src/m_pd.h b/src/m_pd.h index c658fa5..a3a506c 100644 --- a/src/m_pd.h +++ b/src/m_pd.h @@ -8,6 +8,8 @@ extern "C" { #endif +extern void error(const char* fmt, ...); + #define PD_MAJOR_VERSION 0 #define PD_MINOR_VERSION 54 #define PD_BUGFIX_VERSION 1
pkgs/by-name/mr/mrpeach/package.nix +6 −2 Original line number Diff line number Diff line Loading @@ -23,7 +23,7 @@ stdenv.mkDerivation { hardeningDisable = [ "format" ]; patchPhase = '' postPatch = '' for D in net osc do sed -i "s@prefix = /usr/local@prefix = $out@g" $D/Makefile Loading @@ -34,24 +34,28 @@ stdenv.mkDerivation { ''; buildPhase = '' runHook preBuild for D in net osc do cd $D make cd .. done runHook postBuild ''; installPhase = '' runHook preInstall for D in net osc do cd $D make install cd .. done runHook postInstall ''; fixupPhase = '' preFixup = '' mv $out/lib/pd-externals/net $out mv $out/lib/pd-externals/osc $out rm -rf $out/lib Loading