slackbuilds_ponce/network/uudeview/patches/049_glibc_2.27.diff
B. Watson 31b4a7eef6
network/uudeview: Fix 32-bit build.
Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2022-03-20 20:45:16 +07:00

20 lines
487 B
Diff

Description: Remove a hack for Sun that causes FTBFS with glibc >= 2.27
Author: Adrian Bunk <bunk@debian.org>
--- uudeview-0.5.20.orig/tcl/uutcl.c
+++ uudeview-0.5.20/tcl/uutcl.c
@@ -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>