Accepting request 606792 from home:iznogood:branches:server:mail

- Add uudeview-matherr.patch: Patch taken from fedora, fixes build.

OBS-URL: https://build.opensuse.org/request/show/606792
OBS-URL: https://build.opensuse.org/package/show/server:mail/uudeview?expand=0&rev=7
This commit is contained in:
Dirk Mueller 2018-05-16 06:49:13 +00:00 committed by Git OBS Bridge
parent b7828cf25c
commit e341762771
3 changed files with 24 additions and 0 deletions

17
uudeview-matherr.patch Normal file
View File

@ -0,0 +1,17 @@
--- a/uudeview-0.5.20/tcl/uutcl.c 2018-03-15 20:53:21.698000000 +0000
+++ b/uudeview-0.5.20/tcl/uutcl.c 2018-03-15 20:53:32.646000000 +0000
@@ -48,14 +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>
#include <fptools.h>

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun May 13 13:03:11 UTC 2018 - bjorn.lie@gmail.com
- Add uudeview-matherr.patch: Patch taken from fedora, fixes build.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jan 8 17:58:34 UTC 2018 - crrodriguez@opensuse.org Mon Jan 8 17:58:34 UTC 2018 - crrodriguez@opensuse.org

View File

@ -31,6 +31,7 @@ License: GPL-2.0+
Group: Productivity/Networking/News/Utilities Group: Productivity/Networking/News/Utilities
Source: %{name}-%{version}.tar.bz2 Source: %{name}-%{version}.tar.bz2
Patch0: %{name}.patch Patch0: %{name}.patch
Patch1: %{name}-matherr.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
@ -42,6 +43,7 @@ uuencode utilities.
%prep %prep
%setup -q %setup -q
%patch0 %patch0
%patch1 -p2
%build %build
autoconf autoconf