summaryrefslogtreecommitdiffstats
path: root/main/libraw1394/fix-types.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-09-30 17:39:46 +0300
committerTimo Teräs <timo.teras@iki.fi>2013-09-30 17:39:46 +0300
commitedd9c6f6f44143eeb331ca89bbf2b354ded49f36 (patch)
treecc4399daa297431c4057ed8326d1f0d3a4e75957 /main/libraw1394/fix-types.patch
parent1833bb272098edcc49e6008a1bbc7a3019410c74 (diff)
downloadaports-edd9c6f6f44143eeb331ca89bbf2b354ded49f36.tar.bz2
aports-edd9c6f6f44143eeb331ca89bbf2b354ded49f36.tar.xz
main/libraw1394: fix uclibc build
Diffstat (limited to 'main/libraw1394/fix-types.patch')
-rw-r--r--main/libraw1394/fix-types.patch25
1 files changed, 18 insertions, 7 deletions
diff --git a/main/libraw1394/fix-types.patch b/main/libraw1394/fix-types.patch
index 34f27a0bc..d82cf815a 100644
--- a/main/libraw1394/fix-types.patch
+++ b/main/libraw1394/fix-types.patch
@@ -1,5 +1,6 @@
---- libraw1394-2.1.0.orig/src/fw-iso.c
-+++ libraw1394-2.1.0/src/fw-iso.c
+diff -ru libraw1394-2.1.0.orig/src/fw-iso.c libraw1394-2.1.0/src/fw-iso.c
+--- libraw1394-2.1.0.orig/src/fw-iso.c 2012-06-27 23:10:19.000000000 +0300
++++ libraw1394-2.1.0/src/fw-iso.c 2013-09-30 17:38:30.070506505 +0300
@@ -303,7 +303,7 @@
}
@@ -9,8 +10,9 @@
{
fw_handle_t fwhandle = handle->mode.fw;
struct fw_cdev_event_iso_interrupt *interrupt;
---- libraw1394-2.1.0.orig/src/fw.c
-+++ libraw1394-2.1.0/src/fw.c
+diff -ru libraw1394-2.1.0.orig/src/fw.c libraw1394-2.1.0/src/fw.c
+--- libraw1394-2.1.0.orig/src/fw.c 2012-07-08 21:27:52.000000000 +0300
++++ libraw1394-2.1.0/src/fw.c 2013-09-30 17:38:30.070506505 +0300
@@ -187,7 +187,7 @@
static int
@@ -38,9 +40,18 @@
{
fw_handle_t fwhandle = handle->mode.fw;
struct inotify_event *event;
---- libraw1394-2.1.0.orig/src/fw.h
-+++ libraw1394-2.1.0/src/fw.h
-@@ -48,7 +48,7 @@
+diff -ru libraw1394-2.1.0.orig/src/fw.h libraw1394-2.1.0/src/fw.h
+--- libraw1394-2.1.0.orig/src/fw.h 2012-07-08 21:27:52.000000000 +0300
++++ libraw1394-2.1.0/src/fw.h 2013-09-30 17:38:42.330440087 +0300
+@@ -12,6 +12,7 @@
+ #ifndef LIBRAW1394_FW_H
+ #define LIBRAW1394_FW_H
+
++#include <stdint.h>
+ #include <stdlib.h>
+ #include <byteswap.h>
+
+@@ -48,7 +49,7 @@
struct epoll_closure {
int (*func)(raw1394handle_t handle,