diff options
Diffstat (limited to 'security/seahorse/patches/patch-ag')
-rw-r--r-- | security/seahorse/patches/patch-ag | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/security/seahorse/patches/patch-ag b/security/seahorse/patches/patch-ag new file mode 100644 index 00000000000..e70f5ca169c --- /dev/null +++ b/security/seahorse/patches/patch-ag @@ -0,0 +1,36 @@ +$NetBSD: patch-ag,v 1.1 2006/12/06 19:51:52 joerg Exp $ + +--- configure.in.orig 2006-01-26 12:26:52.000000000 +0000 ++++ configure.in +@@ -125,7 +125,10 @@ if test $GPGME_CONFIG != "failed" ; then + sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\).*/\3/'` + + if test "$major" -eq "$req_major"; then +- if test "$minor" -ge "$req_minor"; then ++ if test "$minor" -gt "$req_minor"; then ++ ok="yes" ++ fi ++ if test "$minor" -eq "$req_minor"; then + if test "$micro" -ge "$req_micro"; then + ok="yes" + fi +@@ -284,12 +287,13 @@ else + # - Bonobo plugins <= 2.12. + # - Glib type plugins > 2.13 + +- PKG_CHECK_MODULES(GEDIT, gedit-2.14 >= 2.13.0, [with_gedit_plugin=yes], +- [PKG_CHECK_MODULES(GEDIT, gedit-2.12 >= 2.12.0, [with_gedit_bonobo=yes], +- [PKG_CHECK_MODULES(GEDIT, gedit-2.10 >= 2.9.0, [with_gedit_bonobo=yes], +- [PKG_CHECK_MODULES(GEDIT, gedit-2.8 >= 2.8.0, [with_gedit_bonobo=yes], +- [PKG_CHECK_MODULES(GEDIT, gedit-2.6 >= 2.6.0, [with_gedit_bonobo=yes], +- [enable_gedit=no])])])])]) ++ PKG_CHECK_MODULES(GEDIT, gedit-2.16 >= 2.13.0, [with_gedit_plugin=yes], ++ [PKG_CHECK_MODULES(GEDIT, gedit-2.14 >= 2.13.0, [with_gedit_plugin=yes], ++ [PKG_CHECK_MODULES(GEDIT, gedit-2.12 >= 2.12.0, [with_gedit_bonobo=yes], ++ [PKG_CHECK_MODULES(GEDIT, gedit-2.10 >= 2.9.0, [with_gedit_bonobo=yes], ++ [PKG_CHECK_MODULES(GEDIT, gedit-2.8 >= 2.8.0, [with_gedit_bonobo=yes], ++ [PKG_CHECK_MODULES(GEDIT, gedit-2.6 >= 2.6.0, [with_gedit_bonobo=yes], ++ [enable_gedit=no])])])])])]) + + if test "$enable_gedit" = "yes"; then + echo "enabling gedit plugin..." |