lang/swi-prolog-lite: Fix lang/swi-prolog-packages for DragonFly
__DragonFly__ macro needed by sha1 for proper endian header. The problem manifested on lang/swi-prolog-packages which is based on swi-prolog-lite.
This commit is contained in:
parent
8f5a7ba0d0
commit
f607974eaf
2 changed files with 15 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
$NetBSD: distinfo,v 1.13 2011/04/12 23:16:42 asau Exp $
|
||||
$NetBSD: distinfo,v 1.14 2011/12/17 16:11:25 marino Exp $
|
||||
|
||||
SHA1 (swi-prolog/pl-5.11.18.tar.gz) = b929d47f2e92230e2afcaaaf25e9a34c40adc54e
|
||||
RMD160 (swi-prolog/pl-5.11.18.tar.gz) = 1cbf0dab3a9cd63b3178d6a43c983b31402d7b7f
|
||||
|
@ -6,3 +6,4 @@ Size (swi-prolog/pl-5.11.18.tar.gz) = 13330292 bytes
|
|||
SHA1 (patch-ad) = 7b3899fe4162582efe955c67d5dc3ed42e7d1702
|
||||
SHA1 (patch-ae) = 4135212b4c5faf70e01e78e45df5e1a0ccc927a6
|
||||
SHA1 (patch-ar) = 2bf3648f29c6263ea2efe13b95309a1fe72b14b8
|
||||
SHA1 (patch-packages_clib_sha1_brg_endian.h) = db9f50eb0d0f92e44a79048d0bb84b690945964b
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
$NetBSD: patch-packages_clib_sha1_brg_endian.h,v 1.1 2011/12/17 16:11:25 marino Exp $
|
||||
|
||||
--- packages/clib/sha1/brg_endian.h.orig 2011-03-18 18:18:22.000000000 +0000
|
||||
+++ packages/clib/sha1/brg_endian.h
|
||||
@@ -39,7 +39,7 @@
|
||||
/* Include files where endian defines and byteswap functions may reside */
|
||||
#if defined(__sun__)
|
||||
# include <sys/isa_defs.h>
|
||||
-#elif defined( __FreeBSD__ ) || defined( __OpenBSD__ ) || defined( __NetBSD__ )
|
||||
+#elif defined( __FreeBSD__ ) || defined( __OpenBSD__ ) || defined( __NetBSD__ ) || defined( __DragonFly__)
|
||||
# include <sys/endian.h>
|
||||
#elif defined( BSD ) && ( BSD >= 199103 ) || defined( __APPLE__ ) || \
|
||||
defined( __CYGWIN32__ ) || defined( __DJGPP__ ) || defined( __osf__ )
|
Loading…
Reference in a new issue