pkgsrc-Bugs archive

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

Re: pkg/31025 package games/asc does not build on linux



The following reply was made to PR pkg/31025; it has been noted by GNATS.

From: cheusov%tut.by@localhost
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/31025 package games/asc does not build on linux
Date: Sat, 03 Dec 2011 21:31:31 +0300

 games/asc fails to build on Linux for completely different reason.
 
 ../ASCStringHelpers.h: In static member function 'static size_t 
ASCStringHelpers::_ConvertToCharT(char*, const wchar_t*, size_t)':
 ../ASCStringHelpers.h:475: error: 'wcstombs' is not a member of 'std'
 
 Patch that solves the problem is below. Objections?
 
 Index: distinfo
 ===================================================================
 RCS file: /cvsroot/pkgsrc/games/asc/distinfo,v
 retrieving revision 1.10
 diff -u -r1.10 distinfo
 --- distinfo   23 Nov 2011 23:29:45 -0000      1.10
 +++ distinfo   3 Dec 2011 18:29:15 -0000
 @@ -12,7 +12,7 @@
  SHA1 (asc/time_to_strike.mp3) = 76abf03155d9a21584f30c20370db0a93449c78a
  RMD160 (asc/time_to_strike.mp3) = a402a00e490f7aca0871b52165d63f3bde3b3bff
  Size (asc/time_to_strike.mp3) = 3242969 bytes
 -SHA1 (patch-source_ASCStringHelpers.h) = 
e13e259fb2ce8ca674692b928e536594f243c0be
 +SHA1 (patch-source_ASCStringHelpers.h) = 
21caf558907c4eaafe88d714520b014a1c19f57b
  SHA1 (patch-source_Property.cpp) = a8a8e154f8aa5a884cb9fe0e74c806dcaf3020b2
  SHA1 (patch-source_password.cpp) = fa56110a045e111f772f09b9e9998d84a76e7d5a
  SHA1 (patch-source_strtmesg.cpp) = 3aa86f7e739983294a86c9ab5a8c0c4a6007c449
 Index: patches/patch-source_ASCStringHelpers.h
 ===================================================================
 RCS file: /cvsroot/pkgsrc/games/asc/patches/patch-source_ASCStringHelpers.h,v
 retrieving revision 1.1
 diff -u -r1.1 patch-source_ASCStringHelpers.h
 --- patches/patch-source_ASCStringHelpers.h    23 Nov 2011 23:29:45 -0000      
1.1
 +++ patches/patch-source_ASCStringHelpers.h    3 Dec 2011 18:29:15 -0000
 @@ -1,8 +1,14 @@
 -$NetBSD: patch-source_ASCStringHelpers.h,v 1.1 2011/11/23 23:29:45 joerg Exp $
 +$NetBSD$
  
 ---- source/ASCStringHelpers.h.orig    2011-11-23 16:20:40.000000000 +0000
 +--- source/ASCStringHelpers.h.orig    2005-08-17 19:08:19.000000000 +0000
  +++ source/ASCStringHelpers.h
 -@@ -9,6 +9,7 @@
 +@@ -4,11 +4,13 @@
 + #include <cassert>
 + #include <cstdarg>
 + #include <cstdio>
 ++#include <cstdlib>
 + #include <memory>
 + #include <string>
   #include <wchar.h>
   #include <stdio.h>
   #include <ctype.h>
 


Home | Main Index | Thread Index | Old Index