Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6bfc6c4

Browse files
committed
Add perl5.22.patch to 9.5 branch
1 parentc2a96c8 commit6bfc6c4

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

‎patches/postgresql/9.5/perl5.22.patch

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
diff --git a/src/tools/msvc/MSBuildProject.pm b/src/tools/msvc/MSBuildProject.pm
2+
index d7638b4..ccf1f76 100644
3+
--- a/src/tools/msvc/MSBuildProject.pm
4+
+++ b/src/tools/msvc/MSBuildProject.pm
5+
@@ -345,6 +345,9 @@ EOF
6+
$d =~ s/__CFGNAME__/$cfgname/g;
7+
print $f " <ModuleDefinitionFile>$d</ModuleDefinitionFile>\n";
8+
}
9+
+if ($self->{name} =~ /plperl/ and $self->{platform} eq 'Win32') {
10+
+print $f " <ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>\n";
11+
+}
12+
print $f <<EOF;
13+
</Link>
14+
<ResourceCompile>
15+
diff --git a/src/tools/msvc/Mkvcbuild.pm b/src/tools/msvc/Mkvcbuild.pm
16+
index fe905d3..10c6810 100644
17+
--- a/src/tools/msvc/Mkvcbuild.pm
18+
+++ b/src/tools/msvc/Mkvcbuild.pm
19+
@@ -579,8 +582,8 @@ sub mkvcbuild
20+
}
21+
$plperl->AddReference($postgres);
22+
my @perl_libs =
23+
- grep { /perl\d+.lib$/ }
24+
- glob($solution->{options}->{perl} . '\lib\CORE\perl*.lib');
25+
+ grep { /perl\d+\.(lib|a)$/ }
26+
+ glob($solution->{options}->{perl} . '\lib\CORE\*.*');
27+
if (@perl_libs == 1)
28+
{
29+
$plperl->AddLibrary($perl_libs[0]);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp