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

看板DFBSD_commit作者時間14年前 (2011/11/10 10:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1EkpVJ27 (DFBSD_commit)