File: fix_hash_in_go_io_dotty.patch

package info (click to toggle)
libgo-perl 0.15-7
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 8,108 kB
  • sloc: perl: 13,147; sh: 21; makefile: 7
file content (17 lines) | stat: -rw-r--r-- 578 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Author: Tatiana Malygina <merlettaia@gmail.com>
Last-Update: 2016-07-14
Description: fixes error, which appears when module GO::IO::Dotty is attempted to
 be used: 
 "Can't use a hash as a reference at /usr/share/perl5/GO/IO/Dotty.pm line 104"

--- a/GO/IO/Dotty.pm
+++ b/GO/IO/Dotty.pm
@@ -101,7 +101,7 @@
           $graphviz->add_node
             ( $node, 
               label=>$term->name . " " . $term->acc ,
-              URL=>%opts->{'base_url'}.$term->acc,
+              URL=>%opts{'base_url'}.$term->acc,
               fontname=>'Courier'
             );
       }