summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/aview/files/aview-1.3.0_rc1-includes.patch')
-rw-r--r--media-gfx/aview/files/aview-1.3.0_rc1-includes.patch36
1 files changed, 32 insertions, 4 deletions
diff --git a/media-gfx/aview/files/aview-1.3.0_rc1-includes.patch b/media-gfx/aview/files/aview-1.3.0_rc1-includes.patch
index 3e5006b4c54..79b819e9588 100644
--- a/media-gfx/aview/files/aview-1.3.0_rc1-includes.patch
+++ b/media-gfx/aview/files/aview-1.3.0_rc1-includes.patch
@@ -1,7 +1,25 @@
-Index: aview-1.3.0/main.c
-===================================================================
---- aview-1.3.0.orig/main.c
-+++ aview-1.3.0/main.c
+--- a/flip.c
++++ b/flip.c
+@@ -7,6 +7,7 @@
+
+ #include <stdlib.h>
+ #include <stdio.h>
++#include <string.h>
+ #include <sys/time.h>
+ #include <unistd.h>
+ #include <aalib.h>
+--- a/image.c
++++ b/image.c
+@@ -1,6 +1,6 @@
+ #include <stdio.h>
+ #include <unistd.h>
+-#include <malloc.h>
++#include <stdlib.h>
+ #include "config.h"
+
+ int imgwidth, imgheight;
+--- a/main.c
++++ b/main.c
@@ -1,4 +1,6 @@
#include <aalib.h>
+#include <string.h>
@@ -9,3 +27,13 @@ Index: aview-1.3.0/main.c
#include "image.h"
#include "ui.h"
#include "config.h"
+--- a/ui.c
++++ b/ui.c
+@@ -1,6 +1,6 @@
+ #include <stdio.h>
+ #include <ctype.h>
+-#include <malloc.h>
++#include <stdlib.h>
+ #include <string.h>
+ #include <aalib.h>
+ #include "shrink.h"