summaryrefslogtreecommitdiff
path: root/games/eboard
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-06-21 14:58:57 +0000
committerjoerg <joerg@pkgsrc.org>2006-06-21 14:58:57 +0000
commit3c78ab6931cfedd92d551eb94fda4709a4e751a3 (patch)
tree55e3070fafab4baa21a2562d4efac789045a92ad /games/eboard
parent0c9ef264ccc01eced91668c95793f38f736d9687 (diff)
downloadpkgsrc-3c78ab6931cfedd92d551eb94fda4709a4e751a3.tar.gz
For sys/socket.h include sys/types.h first when determing whether
it works. This is needed for DragonFly.
Diffstat (limited to 'games/eboard')
-rw-r--r--games/eboard/distinfo3
-rw-r--r--games/eboard/patches/patch-aa23
2 files changed, 25 insertions, 1 deletions
diff --git a/games/eboard/distinfo b/games/eboard/distinfo
index 38cdea23a2a..4def9e799ae 100644
--- a/games/eboard/distinfo
+++ b/games/eboard/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2006/05/19 12:32:06 rillig Exp $
+$NetBSD: distinfo,v 1.2 2006/06/21 14:58:57 joerg Exp $
SHA1 (eboard-0.9.5.tar.bz2) = 14047899f4e8009b4823e24b3ec2227ba43d1147
RMD160 (eboard-0.9.5.tar.bz2) = 585a89ba80bc22d9d53f0657600a7a7b9d378a3f
Size (eboard-0.9.5.tar.bz2) = 360241 bytes
+SHA1 (patch-aa) = b4af325ec821ef91c5e55138da1bae48aeb5dac4
diff --git a/games/eboard/patches/patch-aa b/games/eboard/patches/patch-aa
new file mode 100644
index 00000000000..f4dd691c9c8
--- /dev/null
+++ b/games/eboard/patches/patch-aa
@@ -0,0 +1,23 @@
+$NetBSD: patch-aa,v 1.1 2006/06/21 14:59:36 joerg Exp $
+
+--- configure.orig 2006-06-21 14:27:15.000000000 +0000
++++ configure
+@@ -1,4 +1,4 @@
+-#!/usr/bin/perl
++#!/usr/pkg/bin/perl
+
+ use IO::Handle;
+
+@@ -237,7 +237,11 @@ sub header_check {
+ print " $x";
+ $y = spaces(20 - length($x));
+ print "$y";
+- $program = "#include <$x>\nint main() { return 0; }\n";
++ if ($x == "sys/socket.h") {
++ $program = "#include <sys/types.h>\n#include <$x>\nint main() { return 0; }\n";
++ } else {
++ $program = "#include <$x>\nint main() { return 0; }\n";
++ }
+ if (!open(TESTCC,">test.cc")) {
+ print "cannot write test program, FAIL\n";
+ return 0;