[packages/uudeview] Rel 7
arekm
arekm at pld-linux.org
Mon Mar 9 11:20:12 CET 2026
commit 90ee03277b2ad5d2af2a2307f5bded023bbe0932
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Mon Mar 9 11:19:58 2026 +0100
Rel 7
uudeview-matherr.patch | 16 ++++++++++++++++
uudeview.spec | 5 ++++-
2 files changed, 20 insertions(+), 1 deletion(-)
---
diff --git a/uudeview.spec b/uudeview.spec
index 7d06ea9..648e131 100644
--- a/uudeview.spec
+++ b/uudeview.spec
@@ -8,7 +8,7 @@ Summary(pl.UTF-8): Uniwersalny dekoder uuencode, xxencode, Base64 i BinHex
Summary(pt_BR.UTF-8): UUDeview, decodificador de vários tipos de arquivos
Name: uudeview
Version: 0.5.20
-Release: 6
+Release: 7
License: GPL v2+
Group: Applications/File
Source0: http://www.fpx.de/fp/Software/UUDeview/download/%{name}-%{version}.tar.gz
@@ -16,6 +16,7 @@ Source0: http://www.fpx.de/fp/Software/UUDeview/download/%{name}-%{version}.tar.
Patch0: %{name}-shared.patch
Patch1: %{name}-latex.patch
Patch2: %{name}-format-security.patch
+Patch3: %{name}-matherr.patch
URL: http://www.fpx.de/fp/Software/UUDeview/
BuildRequires: autoconf >= 2.9
BuildRequires: automake
@@ -92,6 +93,7 @@ Statyczna biblioteka uulib.
%patch -P0 -p1
%patch -P1 -p1
%patch -P2 -p1
+%patch -P3 -p1
%{__mv} inews/README README.inews
@@ -99,6 +101,7 @@ Statyczna biblioteka uulib.
%{__aclocal}
%{__autoconf}
%configure \
+ CFLAGS="-std=gnu89 %{rpmcflags}" \
%{!?with_x11:--disable-tcl}
%{__make}
diff --git a/uudeview-matherr.patch b/uudeview-matherr.patch
new file mode 100644
index 0000000..0d92ff3
--- /dev/null
+++ b/uudeview-matherr.patch
@@ -0,0 +1,16 @@
+--- uudeview-0.5.20/tcl/uutcl.c.orig 2001-06-05 20:strtime
++++ uudeview-0.5.20/tcl/uutcl.c
+@@ -48,13 +48,6 @@
+ #include <tcl.h>
+ #endif
+
+-/*
+- * The following variable is a special hack that is needed in order for
+- * Sun shared libraries to be used for Tcl.
+- */
+-
+-extern int matherr();
+-int *tclDummyMathPtr = (int *) matherr;
+
+ #include <uudeview.h>
+ #include <uuint.h>
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/uudeview.git/commitdiff/90ee03277b2ad5d2af2a2307f5bded023bbe0932
More information about the pld-cvs-commit
mailing list