summaryrefslogtreecommitdiffstats
path: root/databases/mysql-query-browser/files/patch-regcomp.c
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2007-08-04 11:51:32 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2007-08-04 11:51:32 +0800
commit7c0cc199c28566c3c0e67be9dd5cabaeb01a6271 (patch)
treed550f1df88bcf8f63e659fe751ff34af0ef1cdcd /databases/mysql-query-browser/files/patch-regcomp.c
parente5758cd09b29e6708f180e4f7ac27e4c042f92f3 (diff)
downloadmarcuscom-ports-7c0cc199c28566c3c0e67be9dd5cabaeb01a6271.tar
marcuscom-ports-7c0cc199c28566c3c0e67be9dd5cabaeb01a6271.tar.gz
marcuscom-ports-7c0cc199c28566c3c0e67be9dd5cabaeb01a6271.tar.bz2
marcuscom-ports-7c0cc199c28566c3c0e67be9dd5cabaeb01a6271.tar.lz
marcuscom-ports-7c0cc199c28566c3c0e67be9dd5cabaeb01a6271.tar.xz
marcuscom-ports-7c0cc199c28566c3c0e67be9dd5cabaeb01a6271.tar.zst
marcuscom-ports-7c0cc199c28566c3c0e67be9dd5cabaeb01a6271.zip
Pull the trigger, and replace all scrollkeeper dependencies with rarian.
The good news is yelp kind of works if you call it with, for example, yelp ghelp:eog. However. yelp launched from within apps will not work yet. The problem has been reported, and it should all be working by the next release. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9339 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'databases/mysql-query-browser/files/patch-regcomp.c')
-rw-r--r--databases/mysql-query-browser/files/patch-regcomp.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/databases/mysql-query-browser/files/patch-regcomp.c b/databases/mysql-query-browser/files/patch-regcomp.c
new file mode 100644
index 000000000..6c68e2ccc
--- /dev/null
+++ b/databases/mysql-query-browser/files/patch-regcomp.c
@@ -0,0 +1,21 @@
+--- mysql-query-browser/source/linux/gtksourceview/gtksourceview/gnu-regex/regcomp.c.orig Sun Apr 9 00:37:59 2006
++++ mysql-query-browser/source/linux/gtksourceview/gtksourceview/gnu-regex/regcomp.c Sun Apr 9 00:39:42 2006
+@@ -451,18 +451,6 @@
+ if (ret == REG_ERPAREN)
+ ret = REG_EPAREN;
+
+- /* We have already checked preg->fastmap != NULL. */
+- if (BE (ret == REG_NOERROR, 1))
+- /* Compute the fastmap now, since regexec cannot modify the pattern
+- buffer. This function nevers fails in this implementation. */
+- (void) re_compile_fastmap (preg);
+- else
+- {
+- /* Some error occurred while compiling the expression. */
+- re_free (preg->fastmap);
+- preg->fastmap = NULL;
+- }
+-
+ return (int) ret;
+ }
+ #ifdef _LIBC