[libtext-bibtex-perl] 06/08: Refresh 0003-Introduce-a-btparse_api_version-note-and-use-it-in-d.patch.
gregor herrmann
gregoa at debian.org
Sat Jul 9 14:14:30 UTC 2016
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libtext-bibtex-perl.
commit dd4a3456b7c111514fd6f5513da2c00a47f717cb
Author: gregor herrmann <gregoa at debian.org>
Date: Sat Jul 9 16:11:41 2016 +0200
Refresh 0003-Introduce-a-btparse_api_version-note-and-use-it-in-d.patch.
---
...ce-a-btparse_api_version-note-and-use-it-in-d.patch | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/debian/patches/0003-Introduce-a-btparse_api_version-note-and-use-it-in-d.patch b/debian/patches/0003-Introduce-a-btparse_api_version-note-and-use-it-in-d.patch
index 001684a..ede04f5 100644
--- a/debian/patches/0003-Introduce-a-btparse_api_version-note-and-use-it-in-d.patch
+++ b/debian/patches/0003-Introduce-a-btparse_api_version-note-and-use-it-in-d.patch
@@ -21,15 +21,15 @@ Build.PL.
--- a/Build.PL
+++ b/Build.PL
-@@ -94,6 +94,10 @@ if ($^O =~ /mswin32/i) {
+@@ -98,6 +98,10 @@ else {
}
}
- $builder->notes('btparse_version' => $version);
+ $builder->notes( 'btparse_version' => $version );
+#
+# this should be increased everytime there is a non-upward compatible
+# change the library ABI.
-+$builder->notes('btparse_api_version' => 1);
- $builder->notes('lib_path' => $libdir);
++$builder->notes( 'btparse_api_version' => 1 );
+ $builder->notes( 'lib_path' => $libdir );
$builder->add_build_element('usrlib');
$builder->install_path( 'usrlib' => $libdir );
--- a/inc/MyBuilder.pm
@@ -40,9 +40,9 @@ Build.PL.
use File::Path qw.mkpath.;
+use Cwd;
- sub ACTION_install {
- my $self = shift;
-@@ -297,9 +298,14 @@ sub ACTION_create_library {
+ my @EXTRA_FLAGS = ();
+
+@@ -303,9 +304,14 @@ sub ACTION_create_library {
my $libbuilder = $self->notes('libbuilder');
@@ -58,7 +58,7 @@ Build.PL.
my @modules = qw:init input bibtex err scan error
lex_auxiliary parse_auxiliary bibtex_ast sym
-@@ -309,14 +315,14 @@ sub ACTION_create_library {
+@@ -315,14 +321,14 @@ sub ACTION_create_library {
my @objects = map { "btparse/src/$_.o" } @modules;
my $libpath = $self->notes('lib_path');
@@ -76,7 +76,7 @@ Build.PL.
}
if (!$self->up_to_date(\@objects, $libfile)) {
-@@ -326,6 +332,14 @@ sub ACTION_create_library {
+@@ -332,6 +338,14 @@ sub ACTION_create_library {
extra_linker_flags => $extra_linker_flags);
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libtext-bibtex-perl.git
More information about the Pkg-perl-cvs-commits
mailing list