summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xfake_packages/gen.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/fake_packages/gen.pl b/fake_packages/gen.pl
index b2669b0..50dbf35 100755
--- a/fake_packages/gen.pl
+++ b/fake_packages/gen.pl
@@ -99,6 +99,7 @@ foreach my $pkg (sort keys %l) {
foreach my $name (sort keys %{$l{$pkg}}) {
my $para = $l{$pkg}{$name};
$name = $pkg . '::' . $name if $name =~ /^(ne|eq|foreach|format|ge|length|sub|x|xor|y)$/;
+ $name =~ s/__XS$//; # fix for URPM
if (@$para) {
print "sub $name { my (", join(", ", @$para), ") = \@_ }\n";
} else {