1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

- Update to 2.15

- remove files/patch-GD.xs
- perl5.6 is baseline now
PR:		69454
Submitted by:	Cheng-Lung Sung
Approved by:	Philip M. Gollucci
This commit is contained in:
Dirk Meyer 2004-08-02 12:52:29 +00:00
parent c78ebd457e
commit 81be9d14ef
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=115260
3 changed files with 10 additions and 37 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= GD
PORTVERSION= 2.07
PORTVERSION= 2.15
CATEGORIES= graphics perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= GD
@ -23,4 +23,10 @@ CONFIGURE_ARGS= -options "JPEG,FT,XPM" -lib_gd_path ${LOCALBASE} -lib_ft_path ${
MAN3= GD.3 GD::Polyline.3
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500601
IGNORE= This port requires perl 5.6.x or later. Install lang/perl5 then try again
.endif
.include <bsd.port.post.mk>

View File

@ -1,2 +1,2 @@
MD5 (GD-2.07.tar.gz) = 7a44d308e082471e824fcbff044d8300
SIZE (GD-2.07.tar.gz) = 153759
MD5 (GD-2.15.tar.gz) = 8afc6be5a7a5be545840ff11fb3b02cf
SIZE (GD-2.15.tar.gz) = 156948

View File

@ -1,33 +0,0 @@
--- 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)
{