tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
gstreamer 0.x: fix for Darwin
Spencer Whitt
11 years ago
4318768a
a2616e03
+19
2 changed files
expand all
collapse all
unified
split
pkgs
development
libraries
gstreamer
legacy
gstreamer
darwin.patch
default.nix
+14
pkgs/development/libraries/gstreamer/legacy/gstreamer/darwin.patch
···
1
1
+
diff --git a/gst/gstdatetime.c b/gst/gstdatetime.c
2
2
+
index 60f709f..cdc7e75 100644
3
3
+
--- a/gst/gstdatetime.c
4
4
+
+++ b/gst/gstdatetime.c
5
5
+
@@ -21,8 +21,8 @@
6
6
+
#include "config.h"
7
7
+
#endif
8
8
+
9
9
+
-#include "glib-compat-private.h"
10
10
+
#include "gst_private.h"
11
11
+
+#include "glib-compat-private.h"
12
12
+
#include "gstdatetime.h"
13
13
+
#include <glib.h>
14
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
19
+
''
20
20
+
+ stdenv.lib.optionalString stdenv.isDarwin ''
21
21
+
# Applying this patch manually to avoid a rebuild on Linux. Feel free to refactor later
22
22
+
# See https://trac.macports.org/ticket/40783 for explanation of patch
23
23
+
patch -p1 < ${./darwin.patch}
19
24
'';
20
25
21
26
configureFlags = ''