Skip to content

Commit 0015ed9

Browse files
committed
Add 9.4 and 9.5 patch branches
1 parent 1504883 commit 0015ed9

File tree

4 files changed

+60
-0
lines changed

4 files changed

+60
-0
lines changed

patches/postgresql/9.4/perl522.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 21faa58..7012bfa 100644
17+
--- a/src/tools/msvc/Mkvcbuild.pm
18+
+++ b/src/tools/msvc/Mkvcbuild.pm
19+
@@ -572,8 +578,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]);

patches/postgresql/9.4/series

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
perl522.patch

patches/postgresql/9.5/perl522.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 21faa58..7012bfa 100644
17+
--- a/src/tools/msvc/Mkvcbuild.pm
18+
+++ b/src/tools/msvc/Mkvcbuild.pm
19+
@@ -572,8 +578,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]);

patches/postgresql/9.5/series

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
perl522.patch

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy