The following commit has been merged in the openafs-stable-1_8_x branch:
commit a5b8d15925bc73b5cd1ee45f26f3ca302d9e075b
Author: Tim Creech <[email protected]>
Date:   Thu Aug 29 21:40:26 2019 -0400

    FBSD: Handle malloc/free changes in FBSD 12
    
    FreeBSD 12 (r328417) removed the deprecated compatibility macros
    MALLOC and FREE. Convert our users to just use the normal malloc and
    free, so we can build.
    
    FreeBSD 12 (r334545) also changed malloc() into a macro, which breaks
    our own malloc macro in our hcrypto config.h. To fix this, just undef
    malloc, if it's already a macro.
    
    Reviewed-on: https://gerrit.openafs.org/13856
    Tested-by: BuildBot <[email protected]>
    Reviewed-by: Benjamin Kaduk <[email protected]>
    (cherry picked from commit 3bc541743b09f408364a946139c524d53056d40a)
    
    Change-Id: I3d2f98dd635480a2eea4e0cdad9c9bb308475695
    Reviewed-on: https://gerrit.openafs.org/14773
    Reviewed-by: Cheyenne Wills <[email protected]>
    Reviewed-by: Tim Creech <[email protected]>
    Reviewed-by: Andrew Deason <[email protected]>
    Reviewed-by: Stephan Wiesand <[email protected]>
    Tested-by: Stephan Wiesand <[email protected]>

 src/afs/FBSD/osi_vnodeops.c        | 14 +++++++-------
 src/crypto/hcrypto/kernel/config.h |  3 +++
 src/rx/FBSD/rx_knet.c              |  2 +-
 3 files changed, 11 insertions(+), 8 deletions(-)

-- 
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs

Reply via email to