aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/py-dialog/Makefile1
-rw-r--r--devel/py-dialog/files/patch-dialog.py13
2 files changed, 12 insertions, 2 deletions
diff --git a/devel/py-dialog/Makefile b/devel/py-dialog/Makefile
index bce5bde85576..4b5f7c966530 100644
--- a/devel/py-dialog/Makefile
+++ b/devel/py-dialog/Makefile
@@ -8,6 +8,7 @@
PORTNAME= dialog
PORTVERSION= 2.7
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= pythondialog
diff --git a/devel/py-dialog/files/patch-dialog.py b/devel/py-dialog/files/patch-dialog.py
index fd1dc62effe7..06cb0ef2bf77 100644
--- a/devel/py-dialog/files/patch-dialog.py
+++ b/devel/py-dialog/files/patch-dialog.py
@@ -1,9 +1,18 @@
$FreeBSD$
---- dialog.py
+--- dialog.py.orig
+++ dialog.py
-@@ -524,7 +524,7 @@
+@@ -214,6 +214,8 @@
+ "create_rc": lambda file: ("--create-rc", file),
+ "defaultno": lambda enable: _simple_option("--defaultno", enable),
+ "default_item": lambda string: ("--default-item", string),
++ "exit_label": lambda string: ("--exit-label", string),
++ "extra_button": lambda enable: _simple_option("--extra-button", enable),
+ "help": lambda enable: _simple_option("--help", enable),
+ "help_button": lambda enable: _simple_option("--help-button", enable),
+ "help_label": lambda string: ("--help-label", string),
+@@ -524,7 +526,7 @@
"""