From 9a54f621efd57438960d8662cc843b6865f01245 Mon Sep 17 00:00:00 2001 From: fgsch Date: Wed, 17 Jul 2002 10:27:06 +0000 Subject: [PATCH] - update to eboard 0.6.2. - pass CFLAGS. - remove deprecated NEED_VERSION. --- games/eboard/Makefile | 7 +++---- games/eboard/distinfo | 6 +++--- games/eboard/patches/patch-network_h | 14 ++++++++++++++ games/eboard/patches/patch-sound_cc | 8 ++++---- 4 files changed, 24 insertions(+), 11 deletions(-) create mode 100644 games/eboard/patches/patch-network_h diff --git a/games/eboard/Makefile b/games/eboard/Makefile index ac976be367b..2ffa3e12c8c 100644 --- a/games/eboard/Makefile +++ b/games/eboard/Makefile @@ -1,10 +1,9 @@ -# $OpenBSD: Makefile,v 1.15 2002/07/01 05:06:44 fgsch Exp $ +# $OpenBSD: Makefile,v 1.16 2002/07/17 10:27:06 fgsch Exp $ COMMENT= "gtk+ chess board interface" -DISTNAME= eboard-0.6.1 +DISTNAME= eboard-0.6.2 CATEGORIES= games -NEED_VERSION= 1.528 HOMEPAGE= http://eboard.sourceforge.net @@ -22,7 +21,7 @@ LIB_DEPENDS= Imlib.19,gdk_imlib::graphics/imlib USE_X11= Yes CONFIGURE_STYLE= gnu -MAKE_FLAGS+= CXXFLAGS="${CXXFLAGS}" +MAKE_FLAGS+= CXXFLAGS="${CXXFLAGS}" CFLAGS="${CFLAGS}" DOCS= Crafty.txt FICS-Timeseal.txt GNUChess4.txt GNUChess5.txt \ Scripts.txt Sjeng.txt Themes.txt diff --git a/games/eboard/distinfo b/games/eboard/distinfo index 979986c83ab..8e74cd58f1c 100644 --- a/games/eboard/distinfo +++ b/games/eboard/distinfo @@ -1,3 +1,3 @@ -MD5 (eboard-0.6.1.tar.gz) = 9702583faf870065a8546e308d95b383 -RMD160 (eboard-0.6.1.tar.gz) = 4f2faad434ae643dac7f660254636db9f85246fd -SHA1 (eboard-0.6.1.tar.gz) = 0957dfaa6ad22ae5ec964038fa2205e1a151a5fa +MD5 (eboard-0.6.2.tar.gz) = 29ca656e4daf1243afe6b7fd40f0256e +RMD160 (eboard-0.6.2.tar.gz) = 8fb5f5cad48f9a36fc15dbb06ecb0cc063ccdcac +SHA1 (eboard-0.6.2.tar.gz) = e0a621c4914c550ba3603babb414edded79c9a05 diff --git a/games/eboard/patches/patch-network_h b/games/eboard/patches/patch-network_h new file mode 100644 index 00000000000..c59263421d1 --- /dev/null +++ b/games/eboard/patches/patch-network_h @@ -0,0 +1,14 @@ +$OpenBSD: patch-network_h,v 1.1 2002/07/17 10:27:06 fgsch Exp $ +--- network.h.orig Sat Jul 6 18:05:11 2002 ++++ network.h Wed Jul 17 06:44:19 2002 +@@ -47,6 +47,10 @@ + #include "stl.h" + #include "eboard.h" + ++#if defined(__OpenBSD__) ++#define SOL_TCP IPPROTO_TCP ++#endif ++ + class PidIssuer { + public: + virtual void farewellPid(int dpid)=0; diff --git a/games/eboard/patches/patch-sound_cc b/games/eboard/patches/patch-sound_cc index 05361177298..56ed7115bd3 100644 --- a/games/eboard/patches/patch-sound_cc +++ b/games/eboard/patches/patch-sound_cc @@ -1,7 +1,7 @@ -$OpenBSD: patch-sound_cc,v 1.3 2002/06/07 18:38:45 fgsch Exp $ ---- sound.cc.orig Fri Jun 7 03:24:53 2002 -+++ sound.cc Fri Jun 7 03:25:34 2002 -@@ -65,7 +65,7 @@ SoundEvent::SoundEvent() { +$OpenBSD: patch-sound_cc,v 1.4 2002/07/17 10:27:06 fgsch Exp $ +--- sound.cc.orig Mon Jun 17 00:24:31 2002 ++++ sound.cc Tue Jul 16 19:35:58 2002 +@@ -74,7 +74,7 @@ SoundEvent::SoundEvent() { Pitch=800; Duration=250; Count=1;