aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Dialog
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2007-04-05 23:00:21 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2007-04-05 23:00:21 +0000
commite40f0d76735b7a2ea666258273d063521a99f293 (patch)
tree3c1a558ade4b98be16ef303f579a7dd7caeece2f /devel/p5-Dialog
parentcd3d0a3cdde2ca1935dcd668a99daae07d4dd27b (diff)
downloadports-e40f0d76735b7a2ea666258273d063521a99f293.tar.gz
ports-e40f0d76735b7a2ea666258273d063521a99f293.zip
Notes
Diffstat (limited to 'devel/p5-Dialog')
-rw-r--r--devel/p5-Dialog/Makefile2
-rw-r--r--devel/p5-Dialog/files/patch-Dialog.xs26
2 files changed, 26 insertions, 2 deletions
diff --git a/devel/p5-Dialog/Makefile b/devel/p5-Dialog/Makefile
index 7ef6185a31b5..b53d04709406 100644
--- a/devel/p5-Dialog/Makefile
+++ b/devel/p5-Dialog/Makefile
@@ -15,8 +15,6 @@ PKGNAMEPREFIX= p5-
MAINTAINER= leeym@FreeBSD.org
COMMENT= Perl interface to dialog(3)
-BROKEN= Does not compile
-
PERL_CONFIGURE= yes
MAN3= Dialog.3
diff --git a/devel/p5-Dialog/files/patch-Dialog.xs b/devel/p5-Dialog/files/patch-Dialog.xs
new file mode 100644
index 000000000000..5adc5533e349
--- /dev/null
+++ b/devel/p5-Dialog/files/patch-Dialog.xs
@@ -0,0 +1,26 @@
+--- Dialog.xs.orig Thu Apr 5 11:38:53 2007
++++ Dialog.xs Thu Apr 5 11:39:07 2007
+@@ -309,6 +309,7 @@
+ uchar **item_list, **item_ptr, *item;
+ uchar *result;
+ size_t size = 0, tmpsz, len;
++ STRLEN na;
+ PPCODE:
+ item_no = items - 5;
+ New(0,item_list,2 * item_no,uchar*);
+@@ -341,6 +342,7 @@
+ uchar **item_list, **item_ptr, *item;
+ uchar *result, *strb, *stre;
+ size_t size = 1, len;
++ STRLEN na;
+ PPCODE:
+ item_no = items - 5;
+ New(0,item_list,3 * item_no,uchar*);
+@@ -381,6 +383,7 @@
+ uchar **item_list, **item_ptr, *item;
+ uchar *result;
+ size_t size = 0, tmpsz, len;
++ STRLEN na;
+ PPCODE:
+ item_no = items - 5;
+ New(0,item_list,3 * item_no,uchar*);