diff options
author | skreuzer <skreuzer@FreeBSD.org> | 2014-06-17 22:26:07 +0800 |
---|---|---|
committer | skreuzer <skreuzer@FreeBSD.org> | 2014-06-17 22:26:07 +0800 |
commit | 9e39a7f817f60da5a969022dcf28b4a664dfa023 (patch) | |
tree | 6df109b38d2ea8fa89303060c782a3b285324a85 /databases | |
parent | 8b06a7fe3f320274f4f7e6edb008b0e6bbd7bc12 (diff) | |
download | freebsd-ports-gnome-9e39a7f817f60da5a969022dcf28b4a664dfa023.tar.gz freebsd-ports-gnome-9e39a7f817f60da5a969022dcf28b4a664dfa023.tar.zst freebsd-ports-gnome-9e39a7f817f60da5a969022dcf28b4a664dfa023.zip |
Add patch to fix use of uninitialized value $mysqlversion in pattern match
Diffstat (limited to 'databases')
-rw-r--r-- | databases/innotop/Makefile | 1 | ||||
-rw-r--r-- | databases/innotop/files/patch-innotop | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/databases/innotop/Makefile b/databases/innotop/Makefile index 77b3f4700e2c..fcf908bc9ce2 100644 --- a/databases/innotop/Makefile +++ b/databases/innotop/Makefile @@ -3,6 +3,7 @@ PORTNAME= innotop PORTVERSION= 1.9.1 +PORTREVISION= 1 CATEGORIES= databases MASTER_SITES= GOOGLE_CODE diff --git a/databases/innotop/files/patch-innotop b/databases/innotop/files/patch-innotop new file mode 100644 index 000000000000..da2806602882 --- /dev/null +++ b/databases/innotop/files/patch-innotop @@ -0,0 +1,11 @@ +--- innotop.orig 2014-06-17 08:31:31.000000000 -0400 ++++ innotop 2014-06-17 08:32:19.000000000 -0400 +@@ -470,7 +470,7 @@ + # too many locks to print, the output might be truncated) + + my $time_text; +- if ( $mysqlversion =~ /^5\.6/ ) { ++ if ( defined $mysqlversion && $mysqlversion =~ /^5\.6/ ) { + ( $time_text ) = $fulltext =~ m/^([0-9-]* [0-9:]*) [0-9a-f]* INNODB MONITOR OUTPUT/m; + $innodb_data{'ts'} = [ parse_innodb_timestamp_56( $time_text ) ]; + } else { |