Re: [UPDATE] games/gnubg to latest release

2020-08-23 Thread Nils Reuße

On 2020-07-30 13:40, Nils Reuße wrote:

On 2020-07-28 19:19, Brian Callahan wrote:


On Monday, July 27, 2020 3:41 PM, Nils Reuße  wrote:


On 2020-07-27 19:49, Brian Callahan wrote:


Hi Nils --
On Friday, July 24, 2020 2:56 PM, Nils Reuße n.reu...@hxgn.net wrote:


On 2020-07-15 22:59, Nils Reuße wrote:


On 2020-07-15 16:58, Christian Weisgerber wrote:


On 2020-07-14, Nils Reuße n.reu...@hxgn.net wrote:

I am not too sure about adding "-I$(top_srcdir)" to the 
DEFAULT_INCLUDES
in the two Makefiles (for the two subdirectories), but I 
couldn't get it
to compile otherwise.  The affected includes are in 
subdirectories of
the source, but the compilation step is executed from 
build_amd64, and
then the already present "-I$(top_builddir)" resolves to .. (the 
top dir

of build_amd64) and not the top dir of the source code subdir.


Presumably that problem is caused by SEPARATE_BUILD.  Patching
around problems caused by SEPARATE_BUILD is not worth it, just drop
the SEPARATE_BUILD.


Thanks, that did the trick.  The attached diff has removed the
SEPARATE_BUILD variable as well as the superfluous 
Makefile.in-patches.

Kind regards
Nils


Friendly fridays ping ;)


If you're going to use the gnu servers, it is best to use 
MASTER_SITES=${MASTER_SITE_GNU:=gnubg/}. Has the added benefit of 
using https too.

When I run `make update-plist`, the PLIST changes.
~Brian


Hey Brian,

thank you for looking into it, new diff attached ;)


Made one small tweak: your latest diff has
MASTER_SITES=MASTER_SITES=${MASTER_SITE_GNU:gnubg/}
when all you need is
MASTER_SITES=${MASTER_SITE_GNU:gnubg/}

ok with me if someone wants to commit with that tweak.

But before this gets committed--do you want to be MAINTAINER?

~Brian



Hey Brian,

thanks, the mistake in MASTER_SITES was sloppy on my side, sorry for that.

Regarding taking maintainership, even though I don't know too much about 
the software, it does not seem to change too often, so yeah, count me in ;)


Best,
Nils



Ping - is there anything left to do?



Re: [UPDATE] games/gnubg to latest release

2020-07-30 Thread Nils Reuße

On 2020-07-28 19:19, Brian Callahan wrote:


On Monday, July 27, 2020 3:41 PM, Nils Reuße  wrote:


On 2020-07-27 19:49, Brian Callahan wrote:


Hi Nils --
On Friday, July 24, 2020 2:56 PM, Nils Reuße n.reu...@hxgn.net wrote:


On 2020-07-15 22:59, Nils Reuße wrote:


On 2020-07-15 16:58, Christian Weisgerber wrote:


On 2020-07-14, Nils Reuße n.reu...@hxgn.net wrote:


I am not too sure about adding "-I$(top_srcdir)" to the DEFAULT_INCLUDES
in the two Makefiles (for the two subdirectories), but I couldn't get it
to compile otherwise.  The affected includes are in subdirectories of
the source, but the compilation step is executed from build_amd64, and
then the already present "-I$(top_builddir)" resolves to .. (the top dir
of build_amd64) and not the top dir of the source code subdir.


Presumably that problem is caused by SEPARATE_BUILD.  Patching
around problems caused by SEPARATE_BUILD is not worth it, just drop
the SEPARATE_BUILD.


Thanks, that did the trick.  The attached diff has removed the
SEPARATE_BUILD variable as well as the superfluous Makefile.in-patches.
Kind regards
Nils


Friendly fridays ping ;)


If you're going to use the gnu servers, it is best to use 
MASTER_SITES=${MASTER_SITE_GNU:=gnubg/}. Has the added benefit of using https 
too.
When I run `make update-plist`, the PLIST changes.
~Brian


Hey Brian,

thank you for looking into it, new diff attached ;)


Made one small tweak: your latest diff has
MASTER_SITES=MASTER_SITES=${MASTER_SITE_GNU:gnubg/}
when all you need is
MASTER_SITES=${MASTER_SITE_GNU:gnubg/}

ok with me if someone wants to commit with that tweak.

But before this gets committed--do you want to be MAINTAINER?

~Brian



Hey Brian,

thanks, the mistake in MASTER_SITES was sloppy on my side, sorry for that.

Regarding taking maintainership, even though I don't know too much about 
the software, it does not seem to change too often, so yeah, count me in ;)


Best,
Nils



Re: [UPDATE] games/gnubg to latest release

2020-07-28 Thread Brian Callahan


On Monday, July 27, 2020 3:41 PM, Nils Reuße  wrote:

> On 2020-07-27 19:49, Brian Callahan wrote:
>
> > Hi Nils --
> > On Friday, July 24, 2020 2:56 PM, Nils Reuße n.reu...@hxgn.net wrote:
> >
> > > On 2020-07-15 22:59, Nils Reuße wrote:
> > >
> > > > On 2020-07-15 16:58, Christian Weisgerber wrote:
> > > >
> > > > > On 2020-07-14, Nils Reuße n.reu...@hxgn.net wrote:
> > > > >
> > > > > > I am not too sure about adding "-I$(top_srcdir)" to the 
> > > > > > DEFAULT_INCLUDES
> > > > > > in the two Makefiles (for the two subdirectories), but I couldn't 
> > > > > > get it
> > > > > > to compile otherwise.  The affected includes are in subdirectories 
> > > > > > of
> > > > > > the source, but the compilation step is executed from build_amd64, 
> > > > > > and
> > > > > > then the already present "-I$(top_builddir)" resolves to .. (the 
> > > > > > top dir
> > > > > > of build_amd64) and not the top dir of the source code subdir.
> > > > >
> > > > > Presumably that problem is caused by SEPARATE_BUILD.  Patching
> > > > > around problems caused by SEPARATE_BUILD is not worth it, just drop
> > > > > the SEPARATE_BUILD.
> > > >
> > > > Thanks, that did the trick.  The attached diff has removed the
> > > > SEPARATE_BUILD variable as well as the superfluous Makefile.in-patches.
> > > > Kind regards
> > > > Nils
> > >
> > > Friendly fridays ping ;)
> >
> > If you're going to use the gnu servers, it is best to use 
> > MASTER_SITES=${MASTER_SITE_GNU:=gnubg/}. Has the added benefit of using 
> > https too.
> > When I run `make update-plist`, the PLIST changes.
> > ~Brian
>
> Hey Brian,
>
> thank you for looking into it, new diff attached ;)

Made one small tweak: your latest diff has
MASTER_SITES=MASTER_SITES=${MASTER_SITE_GNU:gnubg/}
when all you need is
MASTER_SITES=${MASTER_SITE_GNU:gnubg/}

ok with me if someone wants to commit with that tweak.

But before this gets committed--do you want to be MAINTAINER?

~Brian



Re: [UPDATE] games/gnubg to latest release

2020-07-27 Thread Brian Callahan
Hi Nils --

On Friday, July 24, 2020 2:56 PM, Nils Reuße  wrote:

> On 2020-07-15 22:59, Nils Reuße wrote:
>
> > On 2020-07-15 16:58, Christian Weisgerber wrote:
> >
> > > On 2020-07-14, Nils Reuße n.reu...@hxgn.net wrote:
> > >
> > > > I am not too sure about adding "-I$(top_srcdir)" to the DEFAULT_INCLUDES
> > > > in the two Makefiles (for the two subdirectories), but I couldn't get it
> > > > to compile otherwise.  The affected includes are in subdirectories of
> > > > the source, but the compilation step is executed from build_amd64, and
> > > > then the already present "-I$(top_builddir)" resolves to .. (the top dir
> > > > of build_amd64) and not the top dir of the source code subdir.
> > >
> > > Presumably that problem is caused by SEPARATE_BUILD.  Patching
> > > around problems caused by SEPARATE_BUILD is not worth it, just drop
> > > the SEPARATE_BUILD.
> >
> > Thanks, that did the trick.  The attached diff has removed the
> > SEPARATE_BUILD variable as well as the superfluous Makefile.in-patches.
> > Kind regards
> > Nils
>
> Friendly fridays ping ;)

If you're going to use the gnu servers, it is best to use 
MASTER_SITES=${MASTER_SITE_GNU:=gnubg/}. Has the added benefit of using https 
too.

When I run `make update-plist`, the PLIST changes.

~Brian



Re: [UPDATE] games/gnubg to latest release

2020-07-27 Thread Nils Reuße

On 2020-07-27 19:49, Brian Callahan wrote:

Hi Nils --

On Friday, July 24, 2020 2:56 PM, Nils Reuße  wrote:


On 2020-07-15 22:59, Nils Reuße wrote:


On 2020-07-15 16:58, Christian Weisgerber wrote:


On 2020-07-14, Nils Reuße n.reu...@hxgn.net wrote:


I am not too sure about adding "-I$(top_srcdir)" to the DEFAULT_INCLUDES
in the two Makefiles (for the two subdirectories), but I couldn't get it
to compile otherwise.  The affected includes are in subdirectories of
the source, but the compilation step is executed from build_amd64, and
then the already present "-I$(top_builddir)" resolves to .. (the top dir
of build_amd64) and not the top dir of the source code subdir.


Presumably that problem is caused by SEPARATE_BUILD.  Patching
around problems caused by SEPARATE_BUILD is not worth it, just drop
the SEPARATE_BUILD.


Thanks, that did the trick.  The attached diff has removed the
SEPARATE_BUILD variable as well as the superfluous Makefile.in-patches.
Kind regards
Nils


Friendly fridays ping ;)


If you're going to use the gnu servers, it is best to use 
MASTER_SITES=${MASTER_SITE_GNU:=gnubg/}. Has the added benefit of using https 
too.

When I run `make update-plist`, the PLIST changes.

~Brian



Hey Brian,

thank you for looking into it, new diff attached ;)
Index: Makefile
===
RCS file: /cvs/ports/games/gnubg/Makefile,v
retrieving revision 1.10
diff -u -p -r1.10 Makefile
--- Makefile	29 Dec 2019 23:56:59 -	1.10
+++ Makefile	27 Jul 2020 19:37:24 -
@@ -1,12 +1,11 @@
 # $OpenBSD: Makefile,v 1.10 2019/12/29 23:56:59 ajacoutot Exp $
 
 COMMENT =		GNU Backgammon
-V =			1.05.002
+V =			1.06.002
 DISTNAME =		gnubg-release-$V-sources
 PKGNAME =		gnubg-$V
 CATEGORIES =		games x11
-HOMEPAGE =		http://gnubg.org/
-REVISION =		7
+HOMEPAGE =		https://www.gnu.org/software/gnubg/
 
 # GPLv3+
 PERMIT_PACKAGE =	Yes
@@ -24,7 +23,7 @@ WANTLIB += xcb-present xcb-render xcb-sh
 WANTLIB += xshmfence z
 WANTLIB += ${MODPY_WANTLIB}
 
-MASTER_SITES =		http://gnubg.org/media/sources/
+MASTER_SITES =		MASTER_SITES=${MASTER_SITE_GNU:=gnubg/}
 
 MODULES =		lang/python
 BUILD_DEPENDS =		devel/gettext,-tools
@@ -40,7 +39,6 @@ LIB_DEPENDS =		audio/libcanberra,-gtk \
 RUN_DEPENDS =		x11/gtk+3,-guic \
 			devel/desktop-file-utils
 
-SEPARATE_BUILD =	Yes
 USE_GMAKE =		Yes
 CONFIGURE_STYLE =	gnu
 CONFIGURE_ARGS =	--disable-cputest
Index: distinfo
===
RCS file: /cvs/ports/games/gnubg/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- distinfo	7 Oct 2016 21:49:45 -	1.1.1.1
+++ distinfo	27 Jul 2020 19:37:24 -
@@ -1,2 +1,2 @@
-SHA256 (gnubg-release-1.05.002-sources.tar.gz) = ssX5RXoCOiKXCLt4iu5vcSQoyRHhmfMvsH86g9bItgs=
-SIZE (gnubg-release-1.05.002-sources.tar.gz) = 15092499
+SHA256 (gnubg-release-1.06.002-sources.tar.gz) = zhsLDBkAcXzFmAMqFM+MDuYPryTYQ2izmSLAECmDvIc=
+SIZE (gnubg-release-1.06.002-sources.tar.gz) = 13163681
Index: patches/patch-board3d_font3d_c
===
RCS file: /cvs/ports/games/gnubg/patches/patch-board3d_font3d_c,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 patch-board3d_font3d_c
--- patches/patch-board3d_font3d_c	7 Oct 2016 21:49:45 -	1.1.1.1
+++ patches/patch-board3d_font3d_c	27 Jul 2020 19:37:24 -
@@ -3,8 +3,9 @@ $OpenBSD: patch-board3d_font3d_c,v 1.1.1
 We make GNU Backgammon use system-supplied DejaVu fonts instead of bundling Vera
 fonts.  Thus stop building dynamically allocated paths for fonts.
 
 board3d/font3d.c.orig	Sun Apr  5 10:05:29 2015
-+++ board3d/font3d.c	Sun Apr  5 10:10:56 2015
+Index: board3d/font3d.c
+--- board3d/font3d.c.orig
 board3d/font3d.c
 @@ -73,7 +73,6 @@ static int RenderGlyph(const FT_Outline * pOutline);
  int
  CreateNumberFont(OGLFont ** ppFont, const char *fontFile, int pitch, float size, float heightRatio)
@@ -33,10 +34,10 @@ fonts.  Thus stop building dynamically a
  CreateFontText(OGLFont ** ppFont, const char *text, const char *fontFile, int pitch, float size, float heightRatio)
  {
 -char *filename;
- 
  FT_Library ftLib;
  if (FT_Init_FreeType())
-@@ -103,13 +98,10 @@ CreateFontText(OGLFont ** ppFont, const char *text, co
+ return 0;
+@@ -102,13 +97,10 @@ CreateFontText(OGLFont ** ppFont, const char *text, co
  free(*ppFont);
  *ppFont = (OGLFont *) malloc(sizeof(OGLFont));
  
Index: patches/patch-configure
===
RCS file: /cvs/ports/games/gnubg/patches/patch-configure,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 patch-configure
--- patches/patch-configure	7 Oct 2016 21:49:45 -	1.1.1.1
+++ patches/patch-configure	27 Jul 2020 19:37:24 -
@@ -2,9 +2,10 @@ $OpenBSD: patch-configure,v 1.1.1.1 2016
 
 Remove hardcoded CFLAGS
 
 configure.orig	Mon Oct  3 11:08:53 2016
-+++ configure	Mon Oct  3 11:09:09 2016
-@@ -17556,10 +17556,6 @@ 

Re: [UPDATE] games/gnubg to latest release

2020-07-24 Thread Nils Reuße

On 2020-07-15 22:59, Nils Reuße wrote:

On 2020-07-15 16:58, Christian Weisgerber wrote:

On 2020-07-14, Nils Reuße  wrote:


I am not too sure about adding "-I$(top_srcdir)" to the DEFAULT_INCLUDES
in the two Makefiles (for the two subdirectories), but I couldn't get it
to compile otherwise.  The affected includes are in subdirectories of
the source, but the compilation step is executed from build_amd64, and
then the already present "-I$(top_builddir)" resolves to .. (the top dir
of build_amd64) and not the top dir of the source code subdir.


Presumably that problem is caused by SEPARATE_BUILD.  Patching
around problems caused by SEPARATE_BUILD is not worth it, just drop
the SEPARATE_BUILD.



Thanks, that did the trick.  The attached diff has removed the 
SEPARATE_BUILD variable as well as the superfluous Makefile.in-patches.


Kind regards
Nils


Friendly fridays ping ;)



Re: [UPDATE] games/gnubg to latest release

2020-07-15 Thread Nils Reuße

On 2020-07-15 16:58, Christian Weisgerber wrote:

On 2020-07-14, Nils Reuße  wrote:


I am not too sure about adding "-I$(top_srcdir)" to the DEFAULT_INCLUDES
in the two Makefiles (for the two subdirectories), but I couldn't get it
to compile otherwise.  The affected includes are in subdirectories of
the source, but the compilation step is executed from build_amd64, and
then the already present "-I$(top_builddir)" resolves to .. (the top dir
of build_amd64) and not the top dir of the source code subdir.


Presumably that problem is caused by SEPARATE_BUILD.  Patching
around problems caused by SEPARATE_BUILD is not worth it, just drop
the SEPARATE_BUILD.



Thanks, that did the trick.  The attached diff has removed the 
SEPARATE_BUILD variable as well as the superfluous Makefile.in-patches.


Kind regards
Nils
Index: Makefile
===
RCS file: /cvs/ports/games/gnubg/Makefile,v
retrieving revision 1.10
diff -u -p -r1.10 Makefile
--- Makefile	29 Dec 2019 23:56:59 -	1.10
+++ Makefile	15 Jul 2020 20:52:36 -
@@ -1,12 +1,11 @@
 # $OpenBSD: Makefile,v 1.10 2019/12/29 23:56:59 ajacoutot Exp $
 
 COMMENT =		GNU Backgammon
-V =			1.05.002
+V =			1.06.002
 DISTNAME =		gnubg-release-$V-sources
 PKGNAME =		gnubg-$V
 CATEGORIES =		games x11
-HOMEPAGE =		http://gnubg.org/
-REVISION =		7
+HOMEPAGE =		https://www.gnu.org/software/gnubg/
 
 # GPLv3+
 PERMIT_PACKAGE =	Yes
@@ -24,7 +23,7 @@ WANTLIB += xcb-present xcb-render xcb-sh
 WANTLIB += xshmfence z
 WANTLIB += ${MODPY_WANTLIB}
 
-MASTER_SITES =		http://gnubg.org/media/sources/
+MASTER_SITES =		ftp://ftp.gnu.org/gnu/gnubg/
 
 MODULES =		lang/python
 BUILD_DEPENDS =		devel/gettext,-tools
@@ -40,7 +39,6 @@ LIB_DEPENDS =		audio/libcanberra,-gtk \
 RUN_DEPENDS =		x11/gtk+3,-guic \
 			devel/desktop-file-utils
 
-SEPARATE_BUILD =	Yes
 USE_GMAKE =		Yes
 CONFIGURE_STYLE =	gnu
 CONFIGURE_ARGS =	--disable-cputest
Index: distinfo
===
RCS file: /cvs/ports/games/gnubg/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- distinfo	7 Oct 2016 21:49:45 -	1.1.1.1
+++ distinfo	15 Jul 2020 20:52:36 -
@@ -1,2 +1,2 @@
-SHA256 (gnubg-release-1.05.002-sources.tar.gz) = ssX5RXoCOiKXCLt4iu5vcSQoyRHhmfMvsH86g9bItgs=
-SIZE (gnubg-release-1.05.002-sources.tar.gz) = 15092499
+SHA256 (gnubg-release-1.06.002-sources.tar.gz) = zhsLDBkAcXzFmAMqFM+MDuYPryTYQ2izmSLAECmDvIc=
+SIZE (gnubg-release-1.06.002-sources.tar.gz) = 13163681
Index: patches/patch-board3d_font3d_c
===
RCS file: /cvs/ports/games/gnubg/patches/patch-board3d_font3d_c,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 patch-board3d_font3d_c
--- patches/patch-board3d_font3d_c	7 Oct 2016 21:49:45 -	1.1.1.1
+++ patches/patch-board3d_font3d_c	15 Jul 2020 20:52:36 -
@@ -3,8 +3,9 @@ $OpenBSD: patch-board3d_font3d_c,v 1.1.1
 We make GNU Backgammon use system-supplied DejaVu fonts instead of bundling Vera
 fonts.  Thus stop building dynamically allocated paths for fonts.
 
 board3d/font3d.c.orig	Sun Apr  5 10:05:29 2015
-+++ board3d/font3d.c	Sun Apr  5 10:10:56 2015
+Index: board3d/font3d.c
+--- board3d/font3d.c.orig
 board3d/font3d.c
 @@ -73,7 +73,6 @@ static int RenderGlyph(const FT_Outline * pOutline);
  int
  CreateNumberFont(OGLFont ** ppFont, const char *fontFile, int pitch, float size, float heightRatio)
@@ -33,10 +34,10 @@ fonts.  Thus stop building dynamically a
  CreateFontText(OGLFont ** ppFont, const char *text, const char *fontFile, int pitch, float size, float heightRatio)
  {
 -char *filename;
- 
  FT_Library ftLib;
  if (FT_Init_FreeType())
-@@ -103,13 +98,10 @@ CreateFontText(OGLFont ** ppFont, const char *text, co
+ return 0;
+@@ -102,13 +97,10 @@ CreateFontText(OGLFont ** ppFont, const char *text, co
  free(*ppFont);
  *ppFont = (OGLFont *) malloc(sizeof(OGLFont));
  
Index: patches/patch-configure
===
RCS file: /cvs/ports/games/gnubg/patches/patch-configure,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 patch-configure
--- patches/patch-configure	7 Oct 2016 21:49:45 -	1.1.1.1
+++ patches/patch-configure	15 Jul 2020 20:52:36 -
@@ -2,9 +2,10 @@ $OpenBSD: patch-configure,v 1.1.1.1 2016
 
 Remove hardcoded CFLAGS
 
 configure.orig	Mon Oct  3 11:08:53 2016
-+++ configure	Mon Oct  3 11:09:09 2016
-@@ -17556,10 +17556,6 @@ else
+Index: configure
+--- configure.orig
 configure
+@@ -18466,10 +18466,6 @@ else
  $as_echo "yes" >&6; }
  fi
  
Index: patches/patch-doc_Makefile_in
===
RCS file: /cvs/ports/games/gnubg/patches/patch-doc_Makefile_in,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 patch-doc_Makefile_in
--- patches/patch-doc_Makefile_in	7 Oct 2016 21:49:45 -	1.1.1.1
+++ patches/patch-doc_Makefile_in	15 Jul 2020 

Re: [UPDATE] games/gnubg to latest release

2020-07-15 Thread Christian Weisgerber
On 2020-07-14, Nils Reuße  wrote:

> I am not too sure about adding "-I$(top_srcdir)" to the DEFAULT_INCLUDES 
> in the two Makefiles (for the two subdirectories), but I couldn't get it 
> to compile otherwise.  The affected includes are in subdirectories of 
> the source, but the compilation step is executed from build_amd64, and 
> then the already present "-I$(top_builddir)" resolves to .. (the top dir 
> of build_amd64) and not the top dir of the source code subdir.

Presumably that problem is caused by SEPARATE_BUILD.  Patching
around problems caused by SEPARATE_BUILD is not worth it, just drop
the SEPARATE_BUILD.

-- 
Christian "naddy" Weisgerber  na...@mips.inka.de



[UPDATE] games/gnubg to latest release

2020-07-14 Thread Nils Reuße

Hi all,

this patch brings gnubg to the latest release.

I am not too sure about adding "-I$(top_srcdir)" to the DEFAULT_INCLUDES 
in the two Makefiles (for the two subdirectories), but I couldn't get it 
to compile otherwise.  The affected includes are in subdirectories of 
the source, but the compilation step is executed from build_amd64, and 
then the already present "-I$(top_builddir)" resolves to .. (the top dir 
of build_amd64) and not the top dir of the source code subdir.


Any comments on that?  gnubg runs fine otherwise.

Thanks!

Nils
Index: Makefile
===
RCS file: /cvs/ports/games/gnubg/Makefile,v
retrieving revision 1.10
diff -u -p -r1.10 Makefile
--- Makefile	29 Dec 2019 23:56:59 -	1.10
+++ Makefile	14 Jul 2020 22:32:30 -
@@ -1,12 +1,11 @@
 # $OpenBSD: Makefile,v 1.10 2019/12/29 23:56:59 ajacoutot Exp $
 
 COMMENT =		GNU Backgammon
-V =			1.05.002
+V =			1.06.002
 DISTNAME =		gnubg-release-$V-sources
 PKGNAME =		gnubg-$V
 CATEGORIES =		games x11
-HOMEPAGE =		http://gnubg.org/
-REVISION =		7
+HOMEPAGE =		https://www.gnu.org/software/gnubg/
 
 # GPLv3+
 PERMIT_PACKAGE =	Yes
@@ -24,7 +23,7 @@ WANTLIB += xcb-present xcb-render xcb-sh
 WANTLIB += xshmfence z
 WANTLIB += ${MODPY_WANTLIB}
 
-MASTER_SITES =		http://gnubg.org/media/sources/
+MASTER_SITES =		ftp://ftp.gnu.org/gnu/gnubg/
 
 MODULES =		lang/python
 BUILD_DEPENDS =		devel/gettext,-tools
Index: distinfo
===
RCS file: /cvs/ports/games/gnubg/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- distinfo	7 Oct 2016 21:49:45 -	1.1.1.1
+++ distinfo	14 Jul 2020 22:32:30 -
@@ -1,2 +1,2 @@
-SHA256 (gnubg-release-1.05.002-sources.tar.gz) = ssX5RXoCOiKXCLt4iu5vcSQoyRHhmfMvsH86g9bItgs=
-SIZE (gnubg-release-1.05.002-sources.tar.gz) = 15092499
+SHA256 (gnubg-release-1.06.002-sources.tar.gz) = zhsLDBkAcXzFmAMqFM+MDuYPryTYQ2izmSLAECmDvIc=
+SIZE (gnubg-release-1.06.002-sources.tar.gz) = 13163681
Index: patches/patch-board3d_Makefile_in
===
RCS file: patches/patch-board3d_Makefile_in
diff -N patches/patch-board3d_Makefile_in
--- /dev/null	1 Jan 1970 00:00:00 -
+++ patches/patch-board3d_Makefile_in	14 Jul 2020 22:32:30 -
@@ -0,0 +1,14 @@
+$OpenBSD$
+
+Index: board3d/Makefile.in
+--- board3d/Makefile.in.orig
 board3d/Makefile.in
+@@ -151,7 +151,7 @@ AM_V_at = $(am__v_at_@AM_V@)
+ am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
+ am__v_at_0 = @
+ am__v_at_1 = 
+-DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
++DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) -I$(top_srcdir)
+ depcomp = $(SHELL) $(top_srcdir)/depcomp
+ am__maybe_remake_depfiles = depfiles
+ am__depfiles_remade = ./$(DEPDIR)/libboard3d_la-drawboard3d.Plo \
Index: patches/patch-board3d_font3d_c
===
RCS file: /cvs/ports/games/gnubg/patches/patch-board3d_font3d_c,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 patch-board3d_font3d_c
--- patches/patch-board3d_font3d_c	7 Oct 2016 21:49:45 -	1.1.1.1
+++ patches/patch-board3d_font3d_c	14 Jul 2020 22:32:30 -
@@ -3,8 +3,9 @@ $OpenBSD: patch-board3d_font3d_c,v 1.1.1
 We make GNU Backgammon use system-supplied DejaVu fonts instead of bundling Vera
 fonts.  Thus stop building dynamically allocated paths for fonts.
 
 board3d/font3d.c.orig	Sun Apr  5 10:05:29 2015
-+++ board3d/font3d.c	Sun Apr  5 10:10:56 2015
+Index: board3d/font3d.c
+--- board3d/font3d.c.orig
 board3d/font3d.c
 @@ -73,7 +73,6 @@ static int RenderGlyph(const FT_Outline * pOutline);
  int
  CreateNumberFont(OGLFont ** ppFont, const char *fontFile, int pitch, float size, float heightRatio)
@@ -33,10 +34,10 @@ fonts.  Thus stop building dynamically a
  CreateFontText(OGLFont ** ppFont, const char *text, const char *fontFile, int pitch, float size, float heightRatio)
  {
 -char *filename;
- 
  FT_Library ftLib;
  if (FT_Init_FreeType())
-@@ -103,13 +98,10 @@ CreateFontText(OGLFont ** ppFont, const char *text, co
+ return 0;
+@@ -102,13 +97,10 @@ CreateFontText(OGLFont ** ppFont, const char *text, co
  free(*ppFont);
  *ppFont = (OGLFont *) malloc(sizeof(OGLFont));
  
Index: patches/patch-configure
===
RCS file: /cvs/ports/games/gnubg/patches/patch-configure,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 patch-configure
--- patches/patch-configure	7 Oct 2016 21:49:45 -	1.1.1.1
+++ patches/patch-configure	14 Jul 2020 22:32:30 -
@@ -2,9 +2,10 @@ $OpenBSD: patch-configure,v 1.1.1.1 2016
 
 Remove hardcoded CFLAGS
 
 configure.orig	Mon Oct  3 11:08:53 2016
-+++ configure	Mon Oct  3 11:09:09 2016
-@@ -17556,10 +17556,6 @@ else
+Index: configure
+--- configure.orig
 configure
+@@ -18466,10 +18466,6 @@ else
  $as_echo "yes" >&6; }
  fi
  
Index: patches/patch-doc_Makefile_in