summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2014-11-14 16:45:33 +0000
committerJulian Ospald <hasufell@gentoo.org>2014-11-14 16:45:33 +0000
commit7a1bbfad353a765bebe598db245fe2c8cc6ea85e (patch)
treefe5208b0357c4cbd6c91eb17c4dbd6259c7c9fc1 /dev-games/aseprite/files
parentversion bump (diff)
downloadhistorical-7a1bbfad353a765bebe598db245fe2c8cc6ea85e.tar.gz
historical-7a1bbfad353a765bebe598db245fe2c8cc6ea85e.tar.bz2
historical-7a1bbfad353a765bebe598db245fe2c8cc6ea85e.zip
version bump
Package-Manager: portage-2.2.14/cvs/Linux x86_64 Manifest-Sign-Key: 0xBDEED020
Diffstat (limited to 'dev-games/aseprite/files')
-rw-r--r--dev-games/aseprite/files/aseprite-1.0.6-obinary.patch27
-rw-r--r--dev-games/aseprite/files/aseprite-1.0.6-png_sizeof.patch11
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-games/aseprite/files/aseprite-1.0.6-obinary.patch b/dev-games/aseprite/files/aseprite-1.0.6-obinary.patch
new file mode 100644
index 000000000000..4536fc53a217
--- /dev/null
+++ b/dev-games/aseprite/files/aseprite-1.0.6-obinary.patch
@@ -0,0 +1,27 @@
+From 9997ad9fcbb0dcef16e4e8224e4238ecdfe56b66 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?=
+ <Mailaender@users.noreply.github.com>
+Date: Sun, 28 Sep 2014 06:38:18 +0200
+Subject: [PATCH] always declare O_BINARY
+
+closes #461
+---
+ src/base/file_handle.cpp | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+diff --git a/src/base/file_handle.cpp b/src/base/file_handle.cpp
+index 0ba214e..f336513 100644
+--- a/src/base/file_handle.cpp
++++ b/src/base/file_handle.cpp
+@@ -21,6 +21,11 @@
+ #include <fcntl.h>
+ #endif
+
++#ifndef O_BINARY
++#define O_BINARY 0
++#define O_TEXT 0
++#endif
++
+ using namespace std;
+
+ namespace base {
diff --git a/dev-games/aseprite/files/aseprite-1.0.6-png_sizeof.patch b/dev-games/aseprite/files/aseprite-1.0.6-png_sizeof.patch
new file mode 100644
index 000000000000..02fa48006646
--- /dev/null
+++ b/dev-games/aseprite/files/aseprite-1.0.6-png_sizeof.patch
@@ -0,0 +1,11 @@
+--- src/app/file/png_format.cpp
++++ src/app/file/png_format.cpp
+@@ -413,7 +413,7 @@
+ #endif
+
+ // Save the color palette.
+- palette = (png_colorp)png_malloc(png_ptr, PNG_MAX_PALETTE_LENGTH * png_sizeof(png_color));
++ palette = (png_colorp)png_malloc(png_ptr, PNG_MAX_PALETTE_LENGTH * sizeof(png_color));
+ for (c = 0; c < PNG_MAX_PALETTE_LENGTH; c++) {
+ fop_sequence_get_color(fop, c, &r, &g, &b);
+ palette[c].red = r;