From 8603312a81e0c20c7185731f3811bd4ff9bff39e Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Mon, 4 Apr 2011 17:11:39 +0200 Subject: [PATCH] hashsum: fixed to build for 64-bit architecture by removing "-Werror" compiler warning: cast from pointer to integer of different size --- security/hashsum/hashsum.conf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/security/hashsum/hashsum.conf b/security/hashsum/hashsum.conf index 0f7894ed3..9831c6f51 100644 --- a/security/hashsum/hashsum.conf +++ b/security/hashsum/hashsum.conf @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../hashsum/hashsum.conf -# Copyright (C) 2006 - 2008 The OpenSDE Project +# Copyright (C) 2006 - 2011 The OpenSDE Project # # More information can be found in the files COPYING and README. # @@ -19,3 +19,7 @@ hashsum_postmake() { } hook_add postmake 5 "hashsum_postmake" + +# fix to build for 64-bit architecture +# cast from pointer to integer of different size +var_append CC_WRAPPER_REMOVE ' ' '-Werror'