OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Thomas Lotterer
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src openpkg-web          Date:   14-Jan-2003 14:39:40
  Branch: HEAD                             Handle: 2003011413393801

  Modified files:
    openpkg-src/gd1         gd1.spec
    openpkg-web             news.txt

  Log:
    replace malloc.h with stdlib.h

  Summary:
    Revision    Changes     Path
    1.11        +4  -4      openpkg-src/gd1/gd1.spec
    1.2722      +1  -0      openpkg-web/news.txt
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/gd1/gd1.spec
  ============================================================================
  $ cvs diff -u -r1.10 -r1.11 gd1.spec
  --- openpkg-src/gd1/gd1.spec  14 Jan 2003 10:43:18 -0000      1.10
  +++ openpkg-src/gd1/gd1.spec  14 Jan 2003 13:39:39 -0000      1.11
  @@ -22,9 +22,6 @@
   ##  OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   ##  SUCH DAMAGE.
   ##
  -# FIXME thl error includes malloc/stdlib solution but
  -# FIXME thl 1.) is it safe to replace malloc.h with stdlib.h for *every* platform?
  -# FIXME thl 2.) is there a specific reason why calc does it in %prep and styx does 
it in %build?
   
   #   package information
   Name:         gd1
  @@ -36,7 +33,7 @@
   Group:        Graphics
   License:      GPL
   Version:      1.8.4
  -Release:      20020731
  +Release:      20030114
   
   #   list of sources
   Source0:      http://www.boutell.com/gd/http/gd-%{version}.tar.gz
  @@ -69,6 +66,9 @@
       %{l_shtool} subst \
           -e 's;^\(#define DEFAULT_FONTPATH\).*$;\1 
"%{l_prefix}/share/fonts/truetype";' \
           gd.h
  +    %{l_shtool} subst \
  +        -e "s;<malloc.h>;<stdlib.h>;" \
  +        *.[ch]
   
   %build
       %{l_make} %{l_mflags} \
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-web/news.txt
  ============================================================================
  $ cvs diff -u -r1.2721 -r1.2722 news.txt
  --- openpkg-web/news.txt      14 Jan 2003 13:28:30 -0000      1.2721
  +++ openpkg-web/news.txt      14 Jan 2003 13:39:38 -0000      1.2722
  @@ -1,3 +1,4 @@
  +14-Jan-2003: Upgraded package: P<gd1-1.8.4-20030114>
   14-Jan-2003: Upgraded package: P<gcc2-2.95.3-20030114>
   14-Jan-2003: Upgraded package: P<gcc-3.2.1-20030114>
   14-Jan-2003: Upgraded package: P<openpkg-tool-20030114-20030114>
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to