summaryrefslogtreecommitdiff
path: root/databases/gramps3/patches
diff options
context:
space:
mode:
Diffstat (limited to 'databases/gramps3/patches')
-rw-r--r--databases/gramps3/patches/patch-ba13
-rw-r--r--databases/gramps3/patches/patch-bb13
-rw-r--r--databases/gramps3/patches/patch-bc20
3 files changed, 46 insertions, 0 deletions
diff --git a/databases/gramps3/patches/patch-ba b/databases/gramps3/patches/patch-ba
new file mode 100644
index 00000000000..557d4512a08
--- /dev/null
+++ b/databases/gramps3/patches/patch-ba
@@ -0,0 +1,13 @@
+$NetBSD: patch-ba,v 1.1 2008/06/23 15:44:14 drochner Exp $
+
+--- src/gramps.py.orig 2008-05-17 22:15:36.000000000 +0200
++++ src/gramps.py
+@@ -94,7 +94,7 @@ gettext.install("gramps",loc,unicode=1)
+ #
+ #-------------------------------------------------------------------------
+
+-MIN_PYTHON_VERSION = (2, 5, 0, '', 0)
++MIN_PYTHON_VERSION = (2, 4, 0, '', 0)
+ if not sys.version_info >= MIN_PYTHON_VERSION :
+ print gettext.gettext("Your Python version does not meet the "
+ "requirements. At least python %d.%d.%d is needed to"
diff --git a/databases/gramps3/patches/patch-bb b/databases/gramps3/patches/patch-bb
new file mode 100644
index 00000000000..7dba75fb0a6
--- /dev/null
+++ b/databases/gramps3/patches/patch-bb
@@ -0,0 +1,13 @@
+$NetBSD: patch-bb,v 1.1 2008/06/23 15:44:14 drochner Exp $
+
+--- src/plugins/all_relations.py.orig 2008-05-17 22:14:56.000000000 +0200
++++ src/plugins/all_relations.py
+@@ -47,7 +47,7 @@ def run(database, document, person):
+ report = AllRelReport(database, document, person)
+ report.run()
+
+-class AllRelReport():
++class AllRelReport:
+ """
+ Obtains all relationships, displays the relations, and in details, the
+ relation path
diff --git a/databases/gramps3/patches/patch-bc b/databases/gramps3/patches/patch-bc
new file mode 100644
index 00000000000..452d19e7596
--- /dev/null
+++ b/databases/gramps3/patches/patch-bc
@@ -0,0 +1,20 @@
+$NetBSD: patch-bc,v 1.1 2008/06/23 15:44:14 drochner Exp $
+
+--- configure.orig 2008-05-17 22:33:13.000000000 +0200
++++ configure
+@@ -6289,12 +6289,12 @@ echo "${ECHO_T}$LINGUAS" >&6; }
+
+ if test -n "$PYTHON"; then
+ # If the user set $PYTHON, use it and don't search something else.
+- { echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.5" >&5
+-echo $ECHO_N "checking whether $PYTHON version >= 2.5... $ECHO_C" >&6; }
++ { echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.4" >&5
++echo $ECHO_N "checking whether $PYTHON version >= 2.4... $ECHO_C" >&6; }
+ prog="import sys, string
+ # split strings by '.' and convert to numeric. Append some zeros
+ # because we need at least 4 digits for the hex conversion.
+-minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
++minver = map(int, string.split('2.4', '.')) + [0, 0, 0]
+ minverhex = 0
+ for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
+ sys.exit(sys.hexversion < minverhex)"