aboutsummaryrefslogtreecommitdiffstats
path: root/main/libraw1394/clock_monotonic_raw.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-04-30 09:51:51 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-04-30 09:51:51 +0000
commit5bea7486cf36edb61d6b2355bf72542309f261d4 (patch)
tree82c05ff7230c15af5a258a6c2e9a347189196bee /main/libraw1394/clock_monotonic_raw.patch
parent2c629fdd237a1fbae83c807f796ee79c4dceeae9 (diff)
downloadaports-5bea7486cf36edb61d6b2355bf72542309f261d4.tar.bz2
aports-5bea7486cf36edb61d6b2355bf72542309f261d4.tar.xz
main/libraw1394: upgrade to 2.1.0
Diffstat (limited to 'main/libraw1394/clock_monotonic_raw.patch')
-rw-r--r--main/libraw1394/clock_monotonic_raw.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/main/libraw1394/clock_monotonic_raw.patch b/main/libraw1394/clock_monotonic_raw.patch
new file mode 100644
index 0000000000..dd4f142688
--- /dev/null
+++ b/main/libraw1394/clock_monotonic_raw.patch
@@ -0,0 +1,12 @@
+--- ./tools/testlibraw.c.orig 2013-04-30 09:42:26.194087642 +0000
++++ ./tools/testlibraw.c 2013-04-30 09:43:01.231109699 +0000
+@@ -21,6 +21,9 @@
+ #include "../src/raw1394.h"
+ #include "../src/csr.h"
+
++#ifndef CLOCK_MONOTONIC_RAW
++#define CLOCK_MONOTONIC_RAW 4
++#endif
+
+ #define TESTADDR (CSR_REGISTER_BASE + CSR_CONFIG_ROM)
+