aboutsummaryrefslogtreecommitdiffstats
path: root/main/libc0.9.32/0023-crypt-build-fix.-define-ARRAY_SIZE-macro.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-02-06 15:11:15 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-02-07 07:22:42 +0000
commitd5f82899c4fb6072f992db6b1b19d9b6e26aeb95 (patch)
tree503f6c69ec0dfe32db9dafef2f9200661af6e822 /main/libc0.9.32/0023-crypt-build-fix.-define-ARRAY_SIZE-macro.patch
parent754c0c888f81d4fab2e7cde320816ff901bd451e (diff)
downloadaports-d5f82899c4fb6072f992db6b1b19d9b6e26aeb95.tar.bz2
aports-d5f82899c4fb6072f992db6b1b19d9b6e26aeb95.tar.xz
main/libc0.9.32: upgrade to 0.9.33
Diffstat (limited to 'main/libc0.9.32/0023-crypt-build-fix.-define-ARRAY_SIZE-macro.patch')
-rw-r--r--main/libc0.9.32/0023-crypt-build-fix.-define-ARRAY_SIZE-macro.patch26
1 files changed, 0 insertions, 26 deletions
diff --git a/main/libc0.9.32/0023-crypt-build-fix.-define-ARRAY_SIZE-macro.patch b/main/libc0.9.32/0023-crypt-build-fix.-define-ARRAY_SIZE-macro.patch
deleted file mode 100644
index 623f93a6b1..0000000000
--- a/main/libc0.9.32/0023-crypt-build-fix.-define-ARRAY_SIZE-macro.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From b7300840e0285239351e33fa613898fbb079efd7 Mon Sep 17 00:00:00 2001
-From: Natanael Copa <ncopa@alpinelinux.org>
-Date: Fri, 23 Dec 2011 16:24:52 +0100
-Subject: [PATCH] crypt: build fix. define ARRAY_SIZE macro
-
-Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
----
- libcrypt/crypt.c | 2 ++
- 1 files changed, 2 insertions(+), 0 deletions(-)
-
-diff --git a/libcrypt/crypt.c b/libcrypt/crypt.c
-index 188a6a0..19f14d9 100644
---- a/libcrypt/crypt.c
-+++ b/libcrypt/crypt.c
-@@ -12,6 +12,8 @@
- #include <errno.h>
- #include "libcrypt.h"
-
-+#define ARRAY_SIZE(v) (sizeof(v) / sizeof((v)[0]))
-+
- typedef char *(*crypt_impl_f)(const unsigned char *pw, const unsigned char *salt);
-
- static const struct {
---
-1.7.8
-