void-packages/srcpkgs/pilot-link/patches/musl-matherr.patch

14 lines
362 B
Diff
Raw Normal View History

2016-12-20 17:27:47 +01:00
--- bindings/Tcl/tclAppInit.c 2000-10-28 02:23:50.000000000 +0200
+++ bindings/Tcl/tclAppInit.c 2016-12-20 16:24:35.056230117 +0100
@@ -20,8 +20,10 @@
* Sun shared libraries to be used for Tcl.
*/
+#if defined(__GLIBC__)
extern int matherr();
int *tclDummyMathPtr = (int *) matherr;
+#endif
EXTERN int Pitcl_Init _ANSI_ARGS_((Tcl_Interp *interp));