lol

gstreamer 0.x: fix for Darwin

+19
+14
pkgs/development/libraries/gstreamer/legacy/gstreamer/darwin.patch
··· 1 + diff --git a/gst/gstdatetime.c b/gst/gstdatetime.c 2 + index 60f709f..cdc7e75 100644 3 + --- a/gst/gstdatetime.c 4 + +++ b/gst/gstdatetime.c 5 + @@ -21,8 +21,8 @@ 6 + #include "config.h" 7 + #endif 8 + 9 + -#include "glib-compat-private.h" 10 + #include "gst_private.h" 11 + +#include "glib-compat-private.h" 12 + #include "gstdatetime.h" 13 + #include <glib.h> 14 + #include <math.h>
+5
pkgs/development/libraries/gstreamer/legacy/gstreamer/default.nix
··· 16 16 17 17 patchPhase = '' 18 18 sed -i -e 's/^ /\t/' docs/gst/Makefile.in docs/libs/Makefile.in docs/plugins/Makefile.in 19 + '' 20 + + stdenv.lib.optionalString stdenv.isDarwin '' 21 + # Applying this patch manually to avoid a rebuild on Linux. Feel free to refactor later 22 + # See https://trac.macports.org/ticket/40783 for explanation of patch 23 + patch -p1 < ${./darwin.patch} 19 24 ''; 20 25 21 26 configureFlags = ''