DragonFly BSD
DragonFly commits List (threaded) for 2011-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: Revert "libcrypt - install crypt.h header"


From: Sascha Wildner <swildner@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 30 Oct 2011 13:21:34 -0700 (PDT)

commit f6fe5a3ad2c512e6756036ad7c76389047b91f16
Author: Sascha Wildner <saw@online.de>
Date:   Sun Oct 30 21:16:07 2011 +0100

    Revert "libcrypt - install crypt.h header"
    
    This reverts commit b4ed82ece2b69f4a6711d35c5e42938dfc1d804c.
    
    BSDs have libcrypt and the prototypes for its functions are in
    <unistd.h>. The reason we had crypt.h installed for a while was
    to make KDE link against libcrypt, due to a wrong check in KDE.
    
    Unfortunately, at least one other package (chat/dircproxy)
    assumed that if <crypt.h> exists, it would also find prototypes
    for crypt() and friends there, which is not the case. So it
    would crash on x86_64 due to defaulting to int as crypt()'s
    return type (which is a pointer).
    
    The check in KDE has been fixed since and it properly checks
    for the presence of libcrypt:
    
    https://bugs.kde.org/show_bug.cgi?id=247627
    
    Hence this revert.
    
    In-discussion-with: alexh

Summary of changes:
 lib/libcrypt/Makefile |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f6fe5a3ad2c512e6756036ad7c76389047b91f16


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]