1 http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-text/openjade/files/openjade-1.3.2-msggen.pl.patch?revision=1.2
3 Use Getopt::Std in place of getopts.pl.
4 https://bugs.gentoo.org/show_bug.cgi?id=420083
9 # See the file COPYING for copying permission.
14 # Package and version.
15 $package = 'openjade';
28 $field[0] =~ /^[IWQXE][0-9]$/ || &error("invalid first field");;
29 $type[$num] = substr($field[0], 0, 1);
30 - $argc = int(substr($field[0], 1, 1));
31 + $argc = substr($field[0], 1, 1);
34 $field[1] =~ /^[a-zA-Z_][a-zA-Z0-9_]+$/ || &error("invalid tag");