main/libraw1394: fix uclibc build

This commit is contained in:
Timo Teräs 2013-09-30 17:39:46 +03:00
parent 1833bb2720
commit edd9c6f6f4
2 changed files with 21 additions and 10 deletions

View File

@ -55,8 +55,8 @@ tools() {
}
md5sums="2f8d06a826b658bd0f3f0697e930dd52 libraw1394-2.1.0.tar.bz2
19638d27477be8be3102e2cc154ae553 fix-types.patch"
b788709cda898c005a4edb81aeadd8d9 fix-types.patch"
sha256sums="81798ea6ce1c7f4eaf9d8970ee635f9ade7fd05735a82b291947814481af45df libraw1394-2.1.0.tar.bz2
6b831c9fd2dbf62c37b27a3a8cc77edd62e1e6bad192344e3a3dc675ba41e351 fix-types.patch"
39369c65fbed7fccc2e6d8e645f258f101c414107d67238f10996e6c2009f20d fix-types.patch"
sha512sums="01e38ae140fc672e82e2702f59530484dc08b3290c42089de48c43844f80584bcfac6d1cb86d47b22ac79b218efedfbb51a4bd2c229a461ec413c1161ea09330 libraw1394-2.1.0.tar.bz2
2b9d6e0fe279f714ebd152205eb4a3b0f2beb38a07d1cc2867291df2f707edd91a9bcfa79ae5dfec06ce709bd733215e732401736d9d9178ce1bf3cbeeb325cd fix-types.patch"
08477876ff0d627a1d1038da442728b1d6cfc281fa8f27448d9a73119476d51998954c804d83d8825c7b75ccd71f16ddeacdb453073afbc263bb4d56caa4e198 fix-types.patch"

View File

@ -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,