summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-video/isight-firmware-tools/files/isight-firmware-tools-1.5.90-build-O0.patch')
-rw-r--r--media-video/isight-firmware-tools/files/isight-firmware-tools-1.5.90-build-O0.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/media-video/isight-firmware-tools/files/isight-firmware-tools-1.5.90-build-O0.patch b/media-video/isight-firmware-tools/files/isight-firmware-tools-1.5.90-build-O0.patch
new file mode 100644
index 000000000000..8308cf6860b2
--- /dev/null
+++ b/media-video/isight-firmware-tools/files/isight-firmware-tools-1.5.90-build-O0.patch
@@ -0,0 +1,32 @@
+--- src/export.c
++++ src/export.c
+@@ -35,6 +35,8 @@
+ #include <glib/gi18n.h>
+ #include <glib/gstdio.h>
+
++#include <locale.h>
++
+ /* OPTIONS */
+ static gchar *input = NULL;
+ static gchar *output = "isight.ihx";
+--- src/extract.c
++++ src/extract.c
+@@ -36,6 +36,8 @@
+ #include <glib/gi18n.h>
+ #include <glib/gstdio.h>
+
++#include <locale.h>
++
+ /*
+ * Foreach file identified by their sha1sum, we store the offset where
+ * the firmware begin in the file.
+--- src/load.h
++++ src/load.h
+@@ -36,6 +36,8 @@
+ #include <glib.h>
+ #include <usb.h>
+
++#include <locale.h>
++
+ #ifndef _LOAD_H_
+ #define _LOAD_H_