Skip to content

Commit 81511fe

Browse files
committed
[PG10]: Updated perl patch
1 parent d829e47 commit 81511fe

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

patches/postgresql/10/perl524.patch

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
diff -Naur postgresql-10.1.orig/src/tools/msvc/Mkvcbuild.pm postgresql-10.1/src/tools/msvc/Mkvcbuild.pm
2+
--- postgresql-10.1.orig/src/tools/msvc/Mkvcbuild.pm 2017-12-06 19:40:59.694628794 +0300
3+
+++ postgresql-10.1/src/tools/msvc/Mkvcbuild.pm 2017-12-06 20:12:48.681777210 +0300
4+
@@ -615,9 +615,9 @@
5+
}
6+
}
7+
$plperl->AddReference($postgres);
8+
- my $perl_path = $solution->{options}->{perl} . '\lib\CORE\perl*.lib';
9+
+ my $perl_path = $solution->{options}->{perl} . '\lib\CORE\perl*.*';
10+
my @perl_libs =
11+
- grep { /perl\d+.lib$/ } glob($perl_path);
12+
+ grep { /perl\d+.(lib|a)$/ } glob($perl_path);
13+
if (@perl_libs == 1)
14+
{
15+
$plperl->AddLibrary($perl_libs[0]);

patches/postgresql/10/series

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
perl522.patch
1+
perl524.patch

0 commit comments

Comments
 (0)