[packages/aview] Rel 8
arekm
arekm at pld-linux.org
Wed May 13 23:48:59 CEST 2026
commit 2cb68239cda0556d0386893b060cd96c1bb89d78
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Wed May 13 23:48:47 2026 +0200
Rel 8
aview-c99.patch | 28 ++++++++++++++++++++++++++++
aview.spec | 4 +++-
2 files changed, 31 insertions(+), 1 deletion(-)
---
diff --git a/aview.spec b/aview.spec
index 07f723b..54de57a 100644
--- a/aview.spec
+++ b/aview.spec
@@ -2,12 +2,13 @@ Summary: ASCII-Art image browser and animation player
Summary(pl.UTF-8): Przeglądarka obrazków i animacji jako ASCII Art
Name: aview
Version: 1.3.0rc1
-Release: 7
+Release: 8
License: GPL v2
Group: Applications/Graphics
Source0: http://dl.sourceforge.net/aa-project/%{name}-%{version}.tar.gz
# Source0-md5: 093f298e7787591e229b59d039c72f4d
Patch0: asciiview-lame_bashizm.patch
+Patch1: %{name}-c99.patch
URL: http://aa-project.sourceforge.net/aview/
BuildRequires: aalib-devel
BuildRequires: autoconf
@@ -40,6 +41,7 @@ trzy poziomy ditheringu, itp. oraz ukryte opcje "bonusowe" :)
%prep
%setup -q -n %{name}-1.3.0
%patch -P0 -p0
+%patch -P1 -p1
%build
%{__autoconf}
diff --git a/aview-c99.patch b/aview-c99.patch
new file mode 100644
index 0000000..c16f08f
--- /dev/null
+++ b/aview-c99.patch
@@ -0,0 +1,28 @@
+--- aview-1.3.0/main.c.orig
++++ aview-1.3.0/main.c
+@@ -1,3 +1,5 @@
++#include <stdlib.h>
++#include <string.h>
+ #include <aalib.h>
+ #include "image.h"
+ #include "ui.h"
+--- aview-1.3.0/flip.c.orig
++++ aview-1.3.0/flip.c
+@@ -7,6 +7,8 @@
+
+ #include <stdlib.h>
+ #include <stdio.h>
++#include <string.h>
++#include <ctype.h>
+ #include <sys/time.h>
+ #include <unistd.h>
+ #include <aalib.h>
+@@ -14,6 +16,8 @@
+ #include "general.h"
+ #include "fli.h"
+
++int f_getkey(void);
++
+ #define NAMELEN 256
+
+ struct OPTIONS {
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/aview.git/commitdiff/2cb68239cda0556d0386893b060cd96c1bb89d78
More information about the pld-cvs-commit
mailing list