aboutsummaryrefslogtreecommitdiffstats
path: root/main/wipe/stdint.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-10-27 17:55:48 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2016-10-28 06:53:35 +0000
commit9f1104dee38ceb5fdc9a00a3f763aad15e594481 (patch)
treea2fb2d35d3527201fae657ae1a838b9078070327 /main/wipe/stdint.patch
parent24f6a62b592ce88df64469ca5370f338669e8b95 (diff)
downloadaports-9f1104dee38ceb5fdc9a00a3f763aad15e594481.tar.bz2
aports-9f1104dee38ceb5fdc9a00a3f763aad15e594481.tar.xz
main/wipe: upgrade to 2.3.1
Diffstat (limited to 'main/wipe/stdint.patch')
-rw-r--r--main/wipe/stdint.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/main/wipe/stdint.patch b/main/wipe/stdint.patch
new file mode 100644
index 0000000000..46a6d0826e
--- /dev/null
+++ b/main/wipe/stdint.patch
@@ -0,0 +1,22 @@
+diff --git a/rand.h b/rand.h
+index bc48674..c1e7bb3 100644
+--- 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