Make it build on DragonFly.

This commit is contained in:
hasso 2009-06-04 05:29:33 +00:00
parent 678b0c31a8
commit 27087afdf4
3 changed files with 51 additions and 11 deletions

View file

@ -1,10 +1,10 @@
$NetBSD: distinfo,v 1.8 2008/09/07 04:35:41 dholland Exp $
$NetBSD: distinfo,v 1.9 2009/06/04 05:29:33 hasso Exp $
SHA1 (gprolog-1.3.0.tar.gz) = 1ad7b7764c8e8d92f4f18619f29155001fe7d78f
RMD160 (gprolog-1.3.0.tar.gz) = 56a7e6f0dab343d162620bccb177e67bca639797
Size (gprolog-1.3.0.tar.gz) = 3016665 bytes
SHA1 (patch-aa) = 5a277c8653e6df10ef2fd6a7e0edc6a6a3b5e606
SHA1 (patch-ab) = b4b2183c6054061ac68c2904527b63482174534c
SHA1 (patch-aa) = 6c63d651aee30a9933a302469018e39b06cb7a0a
SHA1 (patch-ab) = 41863a6f02d675a2526966fdb7a7354df161c657
SHA1 (patch-ac) = edd1fbe7816fd07cf377dc513cd48c11aaf9470d
SHA1 (patch-ad) = bf95eace095f8a0ce92f678b0401c86db4f89ffa
SHA1 (patch-ae) = 10d1af60aed05009a08f95c90e7c8607d64c7b9b

View file

@ -1,12 +1,26 @@
$NetBSD: patch-aa,v 1.5 2008/09/07 04:35:41 dholland Exp $
$NetBSD: patch-aa,v 1.6 2009/06/04 05:29:33 hasso Exp $
--- src/configure.in~ 2007-01-04 05:21:52.000000000 -0500
+++ src/configure.in 2008-09-06 23:58:31.000000000 -0400
@@ -328,6 +328,7 @@ else
--- src/configure.in.orig 2007-01-04 12:21:52 +0200
+++ src/configure.in 2009-06-04 05:40:57 +0300
@@ -318,6 +318,7 @@ else
*sco*) AC_DEFINE(M_sco);;
*bsd*) AC_DEFINE(M_bsd);;
*darwin*) AC_DEFINE(M_bsd);;
+ *dragonfly*) AC_DEFINE(M_bsd);;
esac
case "$host" in
@@ -328,10 +329,13 @@ else
alpha*osf*) AC_DEFINE(M_alpha_osf);;
alpha*linux*) AC_DEFINE(M_alpha_linux);;
x86_64*linux*) AC_DEFINE(M_x86_64_linux);;
+ x86_64*bsd*) AC_DEFINE(M_x86_64_bsd);;
+ x86_64*dragonfly*) AC_DEFINE(M_x86_64_bsd);;
i*86*linux*) AC_DEFINE(M_ix86_linux);;
i*86*solaris*) AC_DEFINE(M_ix86_solaris);;
i*86*sco*) AC_DEFINE(M_ix86_sco);;
i*86*bsd*) AC_DEFINE(M_ix86_bsd);;
+ i*86*dragonfly*) AC_DEFINE(M_ix86_bsd);;
i*86*cygwin*) AC_DEFINE(M_ix86_cygwin);;
i*86*mingw*) AC_DEFINE(M_ix86_mingw);;
i*86*darwin*) AC_DEFINE(M_ix86_darwin);;

View file

@ -1,15 +1,41 @@
$NetBSD: patch-ab,v 1.6 2008/09/07 04:35:41 dholland Exp $
$NetBSD: patch-ab,v 1.7 2009/06/04 05:29:33 hasso Exp $
--- src/configure~ 2007-01-05 07:13:28.000000000 -0500
+++ src/configure 2008-09-06 23:58:51.000000000 -0400
@@ -3554,6 +3554,10 @@ _ACEOF
--- src/configure.orig 2007-01-05 14:13:28 +0200
+++ src/configure 2009-06-04 05:45:38 +0300
@@ -3523,6 +3523,10 @@ _ACEOF
#define M_bsd 1
_ACEOF
;;
+ *dragonfly*) cat >>confdefs.h <<\_ACEOF
+#define M_bsd 1
+_ACEOF
+;;
esac
case "$host" in
@@ -3554,6 +3558,14 @@ _ACEOF
#define M_x86_64_linux 1
_ACEOF
;;
+ x86_64*bsd*) cat >>confdefs.h <<\_ACEOF
+#define M_x86_64_bsd 1
+_ACEOF
+;;
+ x86_64*dragonfly*) cat >>confdefs.h <<\_ACEOF
+#define M_x86_64_bsd 1
+_ACEOF
+;;
i*86*linux*) cat >>confdefs.h <<\_ACEOF
#define M_ix86_linux 1
_ACEOF
@@ -3570,6 +3582,10 @@ _ACEOF
#define M_ix86_bsd 1
_ACEOF
;;
+ i*86*dragonfly*) cat >>confdefs.h <<\_ACEOF
+#define M_ix86_bsd 1
+_ACEOF
+;;
i*86*cygwin*) cat >>confdefs.h <<\_ACEOF
#define M_ix86_cygwin 1
_ACEOF