[Forensics-changes] [ssdeep] 07/10: patch Makefile.am to build shared library again

Helmut Grohne helmutg at moszumanska.debian.org
Tue Sep 16 07:54:30 UTC 2014


This is an automated email from the git hooks/post-receive script.

helmutg pushed a commit to branch debian
in repository ssdeep.

commit 4a07631eb13ef86f6292dfcf8499aee4a34ff879
Author: Helmut Grohne <helmut at subdivi.de>
Date:   Sat Sep 13 17:55:51 2014 +0200

    patch Makefile.am to build shared library again
---
 debian/changelog                           |  1 +
 debian/patches/enable_shared_library.patch | 20 ++++++++++++++++++++
 debian/patches/series                      |  1 +
 3 files changed, 22 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 6cc6c7a..7f8fbb2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ ssdeep (2.11-1) UNRELEASED; urgency=medium
     + No longer uses PATH_MAX
     + Fixes hash scoring (Closes: #760817)
     + Fixes memory leak (CloseS: #702551)
+  * Add patch to build shared library again
   * Declare compliance with policy version 3.9.5: no changes needed
   * Switch from autotools-dev to dh-autoreconf to support new architectures
     (Closes: #734912)
diff --git a/debian/patches/enable_shared_library.patch b/debian/patches/enable_shared_library.patch
new file mode 100644
index 0000000..2598b6a
--- /dev/null
+++ b/debian/patches/enable_shared_library.patch
@@ -0,0 +1,20 @@
+From: Helmut Grohne <helmut at subdivi.de>
+Subject: enable building of shared library
+Last-Update: 2014-09-13
+
+The new upstream release introduced -static to libtool which breaks building
+the shared library.
+
+Index: ssdeep/Makefile.am
+===================================================================
+--- ssdeep.orig/Makefile.am	2014-09-13 16:37:15.000000000 +0200
++++ ssdeep/Makefile.am	2014-09-13 17:32:40.000000000 +0200
+@@ -8,7 +8,7 @@
+ 
+ lib_LTLIBRARIES=libfuzzy.la
+ libfuzzy_la_SOURCES=fuzzy.c edit_dist.c find-file-size.c
+-libfuzzy_la_LDFLAGS=-static -no-undefined -version-info 2:0:0
++libfuzzy_la_LDFLAGS=-no-undefined -version-info 2:0:0
+ 
+ include_HEADERS=fuzzy.h
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..ef6030b
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+enable_shared_library.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/forensics/ssdeep.git



More information about the forensics-changes mailing list