From efb928619b234d49b326a13f59a6e2ee354bf902 Mon Sep 17 00:00:00 2001 From: Norikatsu Shigemura Date: Mon, 18 Aug 2003 16:15:10 +0000 Subject: o Main modification graphics/gd(based on 1.8.4) -> graphics/gd1 graphics/gd2(based on 2.0.15) -> graphics/gd graphics/p5-GD(based on 1.41) -> graphics/p5-GD1 graphics/p5-GD2(based on 2.07) -> graphics/p5-GD japanese/gd -> japanese/gd1 japanese/gd2 -> japanese/gd o Include some feature WITH_XPM(w/, w/o WITHOUT_X11) o Chase this modification o Fix build error [1] PR: ports/54540 Submitted by: Ports Fury Approved by: maintainer (blanket) Reported by: bento via kris [1] --- graphics/p5-GD/files/patch-GD.xs | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 graphics/p5-GD/files/patch-GD.xs (limited to 'graphics/p5-GD/files/patch-GD.xs') diff --git a/graphics/p5-GD/files/patch-GD.xs b/graphics/p5-GD/files/patch-GD.xs new file mode 100644 index 000000000000..fc34f5f463be --- /dev/null +++ b/graphics/p5-GD/files/patch-GD.xs @@ -0,0 +1,33 @@ +--- GD.xs.orig Thu Apr 24 07:00:11 2003 ++++ GD.xs Wed May 14 17:33:13 2003 +@@ -18,6 +18,30 @@ + /* Copyright 1995 - 1998, Lincoln D. Stein. See accompanying README file for + usage restrictions */ + ++#ifndef PERL_REVISION ++# ifndef __PATCHLEVEL_H_INCLUDED__ ++# include "patchlevel.h" ++# endif ++# ifndef PERL_REVISION ++# define PERL_REVISION (5) ++ /* Replace: 1 */ ++# define PERL_VERSION PATCHLEVEL ++# define PERL_SUBVERSION SUBVERSION ++ /* Replace PERL_PATCHLEVEL with PERL_VERSION */ ++ /* Replace: 0 */ ++# endif ++#endif ++ ++#if (PERL_VERSION == 5) && (PERL_SUBVERSION==3) ++#ifndef PL_na ++# define PL_na na ++#endif ++ ++#ifndef SvPV_nolen ++# define SvPV_nolen(sv) SvPV(sv, PL_na) ++#endif ++#endif /* 5.00503 */ ++ + static int + not_here(char *s) + { -- cgit v1.2.3