summaryrefslogtreecommitdiffstats
path: root/network/uudeview/patches/049_glibc_2.27.diff
diff options
context:
space:
mode:
Diffstat (limited to 'network/uudeview/patches/049_glibc_2.27.diff')
-rw-r--r--network/uudeview/patches/049_glibc_2.27.diff20
1 files changed, 20 insertions, 0 deletions
diff --git a/network/uudeview/patches/049_glibc_2.27.diff b/network/uudeview/patches/049_glibc_2.27.diff
new file mode 100644
index 0000000000..1c41fd5c3c
--- /dev/null
+++ b/network/uudeview/patches/049_glibc_2.27.diff
@@ -0,0 +1,20 @@
+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>