diff options
author | Sam James <sam@gentoo.org> | 2021-03-16 21:31:31 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-03-16 21:31:35 +0000 |
commit | 316fc4bd83663708a147d9e58a6f2ee156e9d0a7 (patch) | |
tree | bf9958f98f2ff3127d7975b2a03c2ef3af008294 /app-misc/wipe/files/wipe-2.3.1-musl-stdint.patch | |
parent | media-gfx/graphicsmagick: add myself to maintainers (and codec@) (diff) | |
download | gentoo-316fc4bd83663708a147d9e58a6f2ee156e9d0a7.tar.gz gentoo-316fc4bd83663708a147d9e58a6f2ee156e9d0a7.tar.bz2 gentoo-316fc4bd83663708a147d9e58a6f2ee156e9d0a7.zip |
app-misc/wipe: update EAPI 6 -> 7, musl patch
Closes: https://bugs.gentoo.org/713622
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-misc/wipe/files/wipe-2.3.1-musl-stdint.patch')
-rw-r--r-- | app-misc/wipe/files/wipe-2.3.1-musl-stdint.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/app-misc/wipe/files/wipe-2.3.1-musl-stdint.patch b/app-misc/wipe/files/wipe-2.3.1-musl-stdint.patch new file mode 100644 index 000000000000..f14c77e09766 --- /dev/null +++ b/app-misc/wipe/files/wipe-2.3.1-musl-stdint.patch @@ -0,0 +1,21 @@ +https://bugs.gentoo.org/713622 +--- a/rand.h ++++ b/rand.h +@@ -20,15 +20,9 @@ + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +-#ifdef HAVE_STDINT_H +-# include "stdint.h" +-#else +-# ifndef LINUX +-# define u_int32_t uint32_t +-# endif +-#endif ++#include <stdint.h> + +-typedef u_int32_t u_rand_t; ++typedef uint32_t u_rand_t; + + #ifndef UINT32_MAX + # define UINT32_MAX ULONG_MAX |