diff options
author | joerg <joerg@pkgsrc.org> | 2011-09-07 00:57:30 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2011-09-07 00:57:30 +0000 |
commit | 21ec4f798523dbb7e819a5044f6b0c09f2ff4f1a (patch) | |
tree | 2a765449da41dcbd061987e478b2a52e55e81358 /textproc | |
parent | 9ad2d021fa9f967e55a23b7db485006d0ffca9ba (diff) | |
download | pkgsrc-21ec4f798523dbb7e819a5044f6b0c09f2ff4f1a.tar.gz |
Kill some more uses of __weak_alias. This avoids duplicate symbol
definitions (weak and non-weak). GNU as silently discards the weak
symbol in this case, but LLVM is more strict.(weak and non-weak). GNU as
silently discards the weak symbol in this case, but LLVM is more strict.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/vis/distinfo | 3 | ||||
-rw-r--r-- | textproc/vis/patches/patch-ab | 19 |
2 files changed, 21 insertions, 1 deletions
diff --git a/textproc/vis/distinfo b/textproc/vis/distinfo index 4f8f08a5977..ef1e38bddd8 100644 --- a/textproc/vis/distinfo +++ b/textproc/vis/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.5 2007/07/04 21:53:34 joerg Exp $ +$NetBSD: distinfo,v 1.6 2011/09/07 00:57:30 joerg Exp $ SHA1 (vis-0.1.tar.gz) = 981dad2960374a83e368c8497e6405781ba65bff RMD160 (vis-0.1.tar.gz) = 23e8da2e899be6f78414beaa38a649407499c7ad Size (vis-0.1.tar.gz) = 8893 bytes SHA1 (patch-aa) = 829e27d096f2dc98486ee1fa18e5fb4ae5e6f27d +SHA1 (patch-ab) = a01a84d100d7897dbb4f1c3ea30efa6b0f590ded diff --git a/textproc/vis/patches/patch-ab b/textproc/vis/patches/patch-ab new file mode 100644 index 00000000000..26e5a0749aa --- /dev/null +++ b/textproc/vis/patches/patch-ab @@ -0,0 +1,19 @@ +$NetBSD: patch-ab,v 1.1 2011/09/07 00:57:30 joerg Exp $ + +--- vis/libvis.c.orig 2011-09-07 00:34:51.000000000 +0000 ++++ vis/libvis.c +@@ -81,14 +81,6 @@ __RCSID("$NetBSD: vis.c,v 1.27 2004/02/2 + #include <vis.h> + #include <stdlib.h> + +-#ifdef __weak_alias +-__weak_alias(strsvis,_strsvis) +-__weak_alias(strsvisx,_strsvisx) +-__weak_alias(strvis,_strvis) +-__weak_alias(strvisx,_strvisx) +-__weak_alias(svis,_svis) +-__weak_alias(vis,_vis) +-#endif + #ifndef _DIAGASSERT + #define _DIAGASSERT(a) + #endif |