From 7649aefdf3e467a5c8a13ca5b02f191ffb81908a Mon Sep 17 00:00:00 2001 From: joerg Date: Mon, 23 Jan 2006 15:24:12 +0000 Subject: Fix errno. --- lang/swi-prolog-lite/distinfo | 3 ++- lang/swi-prolog-lite/patches/patch-aj | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 lang/swi-prolog-lite/patches/patch-aj diff --git a/lang/swi-prolog-lite/distinfo b/lang/swi-prolog-lite/distinfo index 34b95158acb..8af6a6bd816 100644 --- a/lang/swi-prolog-lite/distinfo +++ b/lang/swi-prolog-lite/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.3 2005/09/17 19:35:51 minskim Exp $ +$NetBSD: distinfo,v 1.4 2006/01/23 15:24:12 joerg Exp $ SHA1 (swi-prolog/pl-5.2.13.tar.gz) = 2c13a65698e0de72e84132f929f5377306c65453 RMD160 (swi-prolog/pl-5.2.13.tar.gz) = 6b9c192c0c41b1eb0cf952cdb6cc09ef25c2d8c3 @@ -12,3 +12,4 @@ SHA1 (patch-af) = 6ca56f948950cc198fe255f064cc30fb6c1a58fb SHA1 (patch-ag) = 77543e08081f10deb17d48e4e91f3074f1202400 SHA1 (patch-ah) = 3bfc13a920e0f3a79e6764a9ace89032989e2c67 SHA1 (patch-ai) = 9446bc38a0a7e02de303e68c923249b615c91833 +SHA1 (patch-aj) = 4450848127eab9f05113aaabfa48725336353e79 diff --git a/lang/swi-prolog-lite/patches/patch-aj b/lang/swi-prolog-lite/patches/patch-aj new file mode 100644 index 00000000000..d1946fea455 --- /dev/null +++ b/lang/swi-prolog-lite/patches/patch-aj @@ -0,0 +1,14 @@ +$NetBSD: patch-aj,v 1.1 2006/01/23 15:24:12 joerg Exp $ + +--- src/pl-setup.c.orig 2006-01-09 23:26:40.000000000 +0000 ++++ src/pl-setup.c +@@ -993,9 +993,6 @@ todays Unix systems or VirtualAlloc() an + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ + + #include +-#ifndef WIN32 +-extern int errno; +-#endif /*WIN32*/ + + static int size_alignment; /* Stack sizes must be aligned to this */ + -- cgit v1.2.3