pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-game py-game: fix build with lat...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c374408e8098
branches:  trunk
changeset: 307650:c374408e8098
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu May 10 21:52:51 2018 +0000
description:
py-game: fix build with latest freetype2.

diffstat:

 devel/py-game/distinfo                      |   4 ++--
 devel/py-game/patches/patch-config__unix.py |  12 ++++++++----
 2 files changed, 10 insertions(+), 6 deletions(-)

diffs (49 lines):

diff -r 5c3c80ea392c -r c374408e8098 devel/py-game/distinfo
--- a/devel/py-game/distinfo    Thu May 10 21:48:15 2018 +0000
+++ b/devel/py-game/distinfo    Thu May 10 21:52:51 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2017/12/22 19:05:44 he Exp $
+$NetBSD: distinfo,v 1.9 2018/05/10 21:52:51 wiz Exp $
 
 SHA1 (pygame-1.9.3.tar.gz) = b3ef126f0baea3bd0986fddebba82b6b13f6f282
 RMD160 (pygame-1.9.3.tar.gz) = ac95b8c2afa5076746227a6d1ae9c200d14d5757
@@ -7,4 +7,4 @@
 SHA1 (patch-Setup.in) = 71659c0150ec53b063cd47531b8b0a93ea671ceb
 SHA1 (patch-Setup__Unix.in) = 03fb45137f018761e6b9f19de056c0fdff5d153d
 SHA1 (patch-config__darwin.py) = c39c00b3252195dcf4476574e9b8439acf66c0ab
-SHA1 (patch-config__unix.py) = 1cce6e0d55777dd8e7cdd3b8d734f00fc8a6decf
+SHA1 (patch-config__unix.py) = 0572bf12ce06ffd7d9a762a7718d1330715af9ec
diff -r 5c3c80ea392c -r c374408e8098 devel/py-game/patches/patch-config__unix.py
--- a/devel/py-game/patches/patch-config__unix.py       Thu May 10 21:48:15 2018 +0000
+++ b/devel/py-game/patches/patch-config__unix.py       Thu May 10 21:52:51 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-config__unix.py,v 1.2 2017/12/22 19:05:44 he Exp $
+$NetBSD: patch-config__unix.py,v 1.3 2018/05/10 21:52:51 wiz Exp $
 
 Detect X11R6 or X11R7; avoid localbase overriding search...
 Disable portmidi and porttime; porttime is a part of portmidi
@@ -18,7 +18,7 @@
  if 'ORIGLIBDIRS' in os.environ and os.environ['ORIGLIBDIRS'] != "":
      origlibdirs = os.environ['ORIGLIBDIRS'].split(":")
  
-@@ -169,18 +169,15 @@ def main():
+@@ -169,20 +169,17 @@ def main():
          else:
              return Dependency('PORTTIME', 'porttime.h', 'libporttime.so', ['porttime'])
  
@@ -35,9 +35,13 @@
          Dependency('SCRAP', '', 'libX11', ['X11']),
 -        Dependency('PORTMIDI', 'portmidi.h', 'libportmidi.so', ['portmidi']),
 -        porttime_dep,
-         DependencyProg('FREETYPE', 'FREETYPE_CONFIG', 'freetype-config', '2.0',
-                        ['freetype'], '--ftversion'),
+-        DependencyProg('FREETYPE', 'FREETYPE_CONFIG', 'freetype-config', '2.0',
+-                       ['freetype'], '--ftversion'),
++        DependencyProg('FREETYPE', 'FREETYPE_CONFIG', 'pkg-config freetype2', '2.0',
++                       ['freetype'], '--modversion'),
          #Dependency('GFX', 'SDL_gfxPrimitives.h', 'libSDL_gfx.so', ['SDL_gfx']),
+     ]
+     if not DEPS[0].found:
 @@ -192,11 +189,11 @@ def main():
      libdirs = []
      incdirs += ["/usr"+d for d in origincdirs]



Home | Main Index | Thread Index | Old Index