pkgsrc-Bugs archive

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

Re: pkg/32173: [Solaris] devel/boehm-gc does not compile with Studio 11



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

From: NAKAJI Hiroyuki <nakaji%jp.freebsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/32173: [Solaris] devel/boehm-gc does not compile with Studio 11
Date: Mon, 28 Nov 2005 21:49:20 +0900

 > >Fix:
 > Remove the "=0" in "./include/gc_cpp.h", line 216 and 261. But I'm
 > not sure of C++ rules.
 
 I created patches/patch-ag to make this change.
 
 === patch-ag start ===
 --- include/gc_cpp.h.orig      Fri Oct 22 07:47:45 2004
 +++ include/gc_cpp.h   Mon Nov 28 21:46:23 2005
 @@ -212,8 +212,8 @@
  inline void* operator new( 
      size_t size, 
      GCPlacement gcp,
 -    GCCleanUpFunc cleanup = 0,
 -    void* clientData = 0 );
 +    GCCleanUpFunc cleanup,
 +    void* clientData );
      /*
      Allocates a collectable or uncollected object, according to the
      value of "gcp".
 @@ -257,8 +257,8 @@
  inline void* operator new[](
      size_t size, 
      GCPlacement gcp,
 -    GCCleanUpFunc cleanup = 0,
 -    void* clientData = 0 );
 +    GCCleanUpFunc cleanup,
 +    void* clientData );
      /*
      The operator new for arrays, identical to the above. */
  
 === patch-ag end ===
 
 And this is a diff of distinfo.
 
 Index: distinfo
 ===================================================================
 RCS file: /cvsroot/pkgsrc/devel/boehm-gc/distinfo,v
 retrieving revision 1.28
 diff -u -r1.28 distinfo
 --- distinfo   4 Oct 2005 16:44:13 -0000       1.28
 +++ distinfo   28 Nov 2005 12:48:27 -0000
 @@ -9,3 +9,4 @@
  SHA1 (patch-ad) = 6b16d8b4b6d9f431a316bb9ad9c37da829b026b7
  SHA1 (patch-ae) = e8da710ece0400136c71ee7888c0ce7f719ac660
  SHA1 (patch-af) = 855ee55b5df18a4bdc6c31eb8b0363448e8fcfc6
 +SHA1 (patch-ag) = c6b371f7e522cf5eda1809ae90d751b4a4cb64b2
 
 -- 
 NAKAJI Hiroyuki
 



Home | Main Index | Thread Index | Old Index