2012-03-15 13:56:41 +01:00
|
|
|
From: Jan Engelhardt <jengelh@medozas.de>
|
|
|
|
Date: 2012-03-11 23:31:50.889566758 +0100
|
|
|
|
|
|
|
|
build: resolve compiler warnings about implicitly-defined functions
|
|
|
|
|
|
|
|
crypto_sha512crypt.c: In function 'sha512_crypt_r':
|
|
|
|
crypto_sha512crypt.c:200:9: warning: implicit declaration of
|
|
|
|
function 'mempcpy' [-Wimplicit-function-declaration]
|
|
|
|
crypto_sha512crypt.c:200:14: warning: incompatible implicit
|
|
|
|
declaration of built-in function 'mempcpy' [enabled by default]
|
|
|
|
crypto_sha512crypt.c:221:14: warning: incompatible implicit
|
|
|
|
declaration of built-in function 'mempcpy' [enabled by default]
|
|
|
|
---
|
|
|
|
src/util/crypto/libcrypto/crypto_sha512crypt.c | 1 +
|
|
|
|
1 file changed, 1 insertion(+)
|
|
|
|
|
2012-11-15 03:31:26 +01:00
|
|
|
Index: sssd-1.9.2/src/util/crypto/libcrypto/crypto_sha512crypt.c
|
2012-03-15 13:56:41 +01:00
|
|
|
===================================================================
|
2012-11-15 03:31:26 +01:00
|
|
|
--- sssd-1.9.2.orig/src/util/crypto/libcrypto/crypto_sha512crypt.c
|
|
|
|
+++ sssd-1.9.2/src/util/crypto/libcrypto/crypto_sha512crypt.c
|
|
|
|
@@ -12,6 +12,7 @@
|
|
|
|
|
|
|
|
#include "config.h"
|
2012-03-15 13:56:41 +01:00
|
|
|
|
|
|
|
+#define _GNU_SOURCE 1 /* mempcpy */
|
|
|
|
#include <endian.h>
|
|
|
|
#include <errno.h>
|
|
|
|
#include <limits.h>
|