diff options
author | Yen-Ming Lee <leeym@FreeBSD.org> | 2007-02-01 07:02:03 +0000 |
---|---|---|
committer | Yen-Ming Lee <leeym@FreeBSD.org> | 2007-02-01 07:02:03 +0000 |
commit | d70facf08c4f0d46cf9c49e7a8c67b0719aa4623 (patch) | |
tree | 667265768d2d3232602e257dab819cdcd6103f93 /devel/p5-Dialog | |
parent | 8d1da19aa09698476ddae845fd0b14a04e5e881e (diff) | |
download | ports-d70facf08c4f0d46cf9c49e7a8c67b0719aa4623.tar.gz ports-d70facf08c4f0d46cf9c49e7a8c67b0719aa4623.zip |
Notes
Diffstat (limited to 'devel/p5-Dialog')
-rw-r--r-- | devel/p5-Dialog/Makefile | 8 | ||||
-rw-r--r-- | devel/p5-Dialog/files/extra-Dialog.xs | 45 |
2 files changed, 1 insertions, 52 deletions
diff --git a/devel/p5-Dialog/Makefile b/devel/p5-Dialog/Makefile index 5961fbaaff49..1fe1a68d7370 100644 --- a/devel/p5-Dialog/Makefile +++ b/devel/p5-Dialog/Makefile @@ -15,14 +15,8 @@ PKGNAMEPREFIX= p5- MAINTAINER= leeym@FreeBSD.org COMMENT= Perl interface to dialog(3) -.include <bsd.port.pre.mk> - -.if ${PERL_LEVEL} >= 500600 -EXTRA_PATCHES= ${FILESDIR}/extra-Dialog.xs -.endif - PERL_CONFIGURE= yes MAN3= Dialog.3 -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/devel/p5-Dialog/files/extra-Dialog.xs b/devel/p5-Dialog/files/extra-Dialog.xs deleted file mode 100644 index 0efd5c68d47e..000000000000 --- a/devel/p5-Dialog/files/extra-Dialog.xs +++ /dev/null @@ -1,45 +0,0 @@ ---- Dialog.xs.orig Mon Nov 27 23:15:18 2000 -+++ Dialog.xs Mon Nov 27 23:15:53 2000 -@@ -314,11 +314,11 @@ - New(0,item_list,2 * item_no,uchar*); - item_ptr = item_list; - for(i=0; i<item_no; i++) { -- *(item_ptr++) = item = SvPV(ST(i+5), na); -- tmpsz = na + 1; -+ *(item_ptr++) = item = SvPV(ST(i+5), PL_na); -+ tmpsz = PL_na + 1; - if(tmpsz > size) size = tmpsz; - len = strlen(item); -- *(item_ptr++) = item + len + (len < na); -+ *(item_ptr++) = item + len + (len < PL_na); - } - New(0,result,size,char); - cancel = dialog_menu(title, prompt, height, width, menu_height, -@@ -346,10 +346,10 @@ - New(0,item_list,3 * item_no,uchar*); - item_ptr = item_list; - for(i=0; i<item_no; i++) { -- *(item_ptr++) = item = SvPV(ST(i+5), na); -- size += na + 1; -+ *(item_ptr++) = item = SvPV(ST(i+5), PL_na); -+ size += PL_na + 1; - len = strlen(item); -- *(item_ptr++) = item + len + (len < na); -+ *(item_ptr++) = item + len + (len < PL_na); - *(item_ptr++) = item + len; - } - New(0,result,size,char); -@@ -386,10 +386,10 @@ - New(0,item_list,3 * item_no,uchar*); - item_ptr = item_list; - for(i=0; i<item_no; i++) { -- *(item_ptr++) = item = SvPV(ST(i+5), na); -- size += na + 1; -+ *(item_ptr++) = item = SvPV(ST(i+5), PL_na); -+ size += PL_na + 1; - len = strlen(item); -- *(item_ptr++) = item + len + (len < na); -+ *(item_ptr++) = item + len + (len < PL_na); - *(item_ptr++) = item + len; - } - New(0,result,size,char); |