diff options
author | marino <marino> | 2011-12-17 16:11:25 +0000 |
---|---|---|
committer | marino <marino> | 2011-12-17 16:11:25 +0000 |
commit | 16e3676a833c23c4e5134b2d877e0f834bdb990c (patch) | |
tree | 9cb675d8e32867b2190b3dba569cd67ed41e268a /lang/swi-prolog-lite | |
parent | 76800e875851f1f51382ab74acb1cd727bfd438d (diff) | |
download | pkgsrc-16e3676a833c23c4e5134b2d877e0f834bdb990c.tar.gz |
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.
Diffstat (limited to 'lang/swi-prolog-lite')
-rw-r--r-- | lang/swi-prolog-lite/distinfo | 3 | ||||
-rw-r--r-- | lang/swi-prolog-lite/patches/patch-packages_clib_sha1_brg_endian.h | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/lang/swi-prolog-lite/distinfo b/lang/swi-prolog-lite/distinfo index d6ea15f1f08..2812f1dd566 100644 --- a/lang/swi-prolog-lite/distinfo +++ b/lang/swi-prolog-lite/distinfo @@ -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 diff --git a/lang/swi-prolog-lite/patches/patch-packages_clib_sha1_brg_endian.h b/lang/swi-prolog-lite/patches/patch-packages_clib_sha1_brg_endian.h new file mode 100644 index 00000000000..d59182410af --- /dev/null +++ b/lang/swi-prolog-lite/patches/patch-packages_clib_sha1_brg_endian.h @@ -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__ ) |