[libtext-bibtex-perl] 02/04: Refresh 0007-hardening-flags.patch.

gregor herrmann gregoa at debian.org
Sat Jul 9 14:42:47 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 9f9053254062cfcd0e4f11befc36fcf50dc6424a
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat Jul 9 16:17:54 2016 +0200

    Refresh 0007-hardening-flags.patch.
---
 debian/patches/0007-hardening-flags.patch | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/debian/patches/0007-hardening-flags.patch b/debian/patches/0007-hardening-flags.patch
index 934df80..e01b79b 100644
--- a/debian/patches/0007-hardening-flags.patch
+++ b/debian/patches/0007-hardening-flags.patch
@@ -2,20 +2,20 @@ Description: add LDFLAGS when linking the .so
 Origin: vendor
 Forwarded: no
 Author: gregor herrmann <gregoa at debian.org>
-Last-Update: 2012-12-12
+Last-Update: 2016-07-09
 
 --- a/inc/MyBuilder.pm
 +++ b/inc/MyBuilder.pm
-@@ -169,7 +169,7 @@ sub ACTION_create_objects {
+@@ -175,7 +175,7 @@ sub ACTION_create_objects {
          $object =~ s/\.c/.o/;
          next if $self->up_to_date($file, $object);
          $cbuilder->compile(object_file  => $object,
--                           extra_compiler_flags=>["-D_FORTIFY_SOURCE=1"],
-+#                           extra_compiler_flags=>["-D_FORTIFY_SOURCE=1"],
+-                           extra_compiler_flags=>["-D_FORTIFY_SOURCE=1", at EXTRA_FLAGS],
++                           extra_compiler_flags=>[@EXTRA_FLAGS],
                             source       => $file,
                             include_dirs => ["btparse/src"]);
      }
-@@ -328,7 +328,7 @@ sub ACTION_create_library {
+@@ -334,7 +334,7 @@ sub ACTION_create_library {
      if ($^O =~ /darwin/) {
          $extra_linker_flags = "-install_name $libpath";
      } elsif ($LIBEXT eq ".so") {

-- 
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