Subject: Re: pkg/29426: package games/netmaze fails build
To: None <jdc@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org>
From: Julian Coleman <jdc@coris.org.uk>
List: pkgsrc-bugs
Date: 03/07/2005 18:14:01
The following reply was made to PR pkg/29426; it has been noted by GNATS.

From: Julian Coleman <jdc@coris.org.uk>
To: almeyers@consult-meyers.com, gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/29426: package games/netmaze fails build
Date: Mon, 7 Mar 2005 18:13:07 +0000

 --8t9RHnE3ZwKMSgU+
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 Can you try the attached patches/patch-ab and distinfo files, please?  It
 should make the build get the correct values for linux machines.
 
 Thanks,
 
 J
 
 -- 
   My other computer also runs NetBSD    /        Sailing at Newbiggin
         http://www.netbsd.org/        /   http://www.newbigginsailingclub.org/
 
 --8t9RHnE3ZwKMSgU+
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename=patch-ab
 
 $NetBSD: patch-ab,v 1.1.1.1 2000/08/29 10:09:43 jdc Exp $
 
 --- config.h.dist	Fri Apr 15 21:51:44 1994
 +++ config.h	Tue Feb 29 14:28:44 2000
 @@ -4,12 +4,20 @@
   */
  
  /* #define HPUX 1  */
 -#define SunOS4 1
 +/* #define SunOS4 1 */
  /* #define IRIX 1 */
  /* #define Linux 1 */
  /* #define RS6000 1 */  /* look at CREDITS */
  /* #define NeXT 1   */  /* look at CREDITS */
  
 +#if defined (linux)
 +#define Linux 1
 +#endif
 +
 +#if (sun && SVR4)
 +#define Solaris2 1
 +#endif
 +
  /* #define USE_SOUND 1 */
  
  /* set the paths, according to your environment: */
 @@ -20,7 +28,7 @@
   * Setup machinedepend configuration
   */
  
 -#if (IRIX || SunOS4 || HPUX || Linux || RS6000 || NeXT)
 +#if (IRIX || SunOS4 || HPUX || Linux || RS6000 || NeXT || BSD || Solaris2)
  #  define ITIMERVAL
  #else
  #  undef ITIMERVAL  /* not on all machines available */
 @@ -39,7 +47,7 @@
  #  define HAVE_FDSET
  #  define USE_IPC
  #else
 -#  if (IRIX)
 +#  if (IRIX || BSD || Solaris2)
  #    define HAVE_FDSET
  #  else
  #    undef HAVE_FDSET
 
 --8t9RHnE3ZwKMSgU+
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename=distinfo
 
 $NetBSD: distinfo,v 1.5 2005/02/23 23:12:01 agc Exp $
 
 SHA1 (netmaze0.81.tar.gz) = 61c3e1dc00372b18a622cd330c322817e73a6cf4
 RMD160 (netmaze0.81.tar.gz) = fe30487c441d0789a1526e4ec2f4cd2cf57a416a
 Size (netmaze0.81.tar.gz) = 281463 bytes
 SHA1 (patch-aa) = 9bf19e360d54fe8130f93252e82f7c22773884a4
 SHA1 (patch-ab) = 1624eade859ee18e2f568fde98187514ae750e95
 SHA1 (patch-ac) = ea72f25a4f72b6c9dba9a4717add9698a5e0e5a6
 SHA1 (patch-ad) = 9fd31fa10618f76eb705fe1f77895889019e07b8
 SHA1 (patch-ae) = 6de31233de67bac24d84e01a34803a149a154d57
 SHA1 (patch-af) = b3fa61988068f91b070bde3365fd51e1f595b119
 SHA1 (patch-ag) = 8370210cfbeca003e942e60afa02c7df47fc8a4a
 SHA1 (patch-ah) = e291a07a14372eb440e4dc2ed955404fda409452
 SHA1 (patch-ai) = ed8a0ad9b19f1a8d1d4812930bd137b4aacfa954
 SHA1 (patch-aj) = ff443fab49624c62ef7d14562b1adbfb3b32f651
 SHA1 (patch-ak) = b0a6ee3cb435852cf43cd231f7e8e4f269215225
 SHA1 (patch-al) = 17c66e5dda796258b935ebee974df8a092f38c4f
 SHA1 (patch-am) = af29aa8ed0955cf314fa27117457daf57078ddfb
 SHA1 (patch-an) = 28a25e4d493f6c24d6fb9499a939f659a51c436c
 SHA1 (patch-ao) = 37ede535ccda7ffb267ea1927a197590f1088b37
 
 --8t9RHnE3ZwKMSgU+--