[med-svn] [Git][med-team/seqan2][master] 7 commits: use alignment-safe buffer handling
Andreas Tille
gitlab at salsa.debian.org
Tue Dec 4 13:25:33 GMT 2018
Andreas Tille pushed to branch master at Debian Med / seqan2
Commits:
78b4e59c by Andreas Tille at 2018-12-04T10:20:04Z
use alignment-safe buffer handling
- - - - -
c9981c32 by Andreas Tille at 2018-12-04T10:20:29Z
debhelper 11
- - - - -
165cc9a8 by Andreas Tille at 2018-12-04T10:23:38Z
Point Vcs fields to salsa.debian.org
- - - - -
bb899c29 by Andreas Tille at 2018-12-04T10:23:38Z
Standards-Version: 4.2.1
- - - - -
5885019a by Andreas Tille at 2018-12-04T10:23:39Z
Remove trailing whitespace in debian/changelog
- - - - -
41db7a44 by Andreas Tille at 2018-12-04T10:53:51Z
Build-Depends: fakeroot (Something is broken since this is not automatically installed. This should not be necessary and should be removed in next revision.)
- - - - -
3db68755 by Andreas Tille at 2018-12-04T13:25:16Z
TODO: Fix generation of CWL descriptions
- - - - -
6 changed files:
- debian/changelog
- debian/compat
- debian/control
- + debian/patches/no-unaligned-access.patch
- debian/patches/series
- debian/rules
Changes:
=====================================
debian/changelog
=====================================
@@ -1,9 +1,25 @@
seqan2 (2.4.0+dfsg-9) UNRELEASED; urgency=medium
- * Generate the CWL descritions automatically, now that CTDConverter is
+ [ Michael R. Crusoe ]
+ * Generate the CWL descriptions automatically, now that CTDConverter is
packaged.
- -- Michael R. Crusoe <michael.crusoe at gmail.com> Thu, 22 Feb 2018 08:19:39 -0800
+ [ Steve Langasek ]
+ * use alignment-safe buffer handling
+ Closes: #892223
+
+ [ Andreas Tille ]
+ * debhelper 11
+ * Point Vcs fields to salsa.debian.org
+ * Standards-Version: 4.2.1
+ * Remove trailing whitespace in debian/changelog
+ * Build-Depends: fakeroot (Something is broken since this is not
+ automatically installed. This should not be necessary and should
+ be removed in next revision.)
+ * debian/rules: Fix PATH in attempt to create CWL descriptions
+ TODO: Fix generation of CWL descriptions
+
+ -- Andreas Tille <tille at debian.org> Tue, 04 Dec 2018 11:19:05 +0100
seqan2 (2.4.0+dfsg-8) unstable; urgency=medium
@@ -341,7 +357,7 @@ seqan2 (2.3.0~1.20161019~af07bc1+dfsg-2) experimental; urgency=medium
* Fix typo from upstream's patch.
* Work around GNU Hurd TANDEM problem
* Skip armel
- * Test -O1 for mips[el]
+ * Test -O1 for mips[el]
* Test turning off parallel builds for armhf, mips, kfreebsd-*
-- Michael R. Crusoe <michael.crusoe at gmail.com> Thu, 20 Oct 2016 04:48:11 -0700
=====================================
debian/compat
=====================================
@@ -1 +1 @@
-10
+11
=====================================
debian/control
=====================================
@@ -5,25 +5,19 @@ Uploaders: Andreas Tille <tille at debian.org>,
Kevin Murray <spam at kdmurray.id.au>
Section: science
Priority: optional
-Build-Depends: debhelper (>= 10),
+Build-Depends: debhelper (>= 11~),
python,
- cmake
+ cmake,
+ fakeroot
Build-Depends-Arch: zlib1g-dev,
libbz2-dev,
libbam-dev,
libboost-dev,
help2man,
ctdconverter
-#Build-Depends-Indep: dh-exec
-#dh-linktree,
-#python-nose,
-#python-jinja2,
-#default-jdk,
-#python-sphinx,
-#python-sphinx-rtd-theme,
-Standards-Version: 4.1.3
-Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/seqan2.git
-Vcs-Git: https://anonscm.debian.org/git/debian-med/seqan2.git
+Standards-Version: 4.2.1
+Vcs-Browser: https://salsa.debian.org/med-team/seqan2
+Vcs-Git: https://salsa.debian.org/med-team/seqan2.git
Homepage: http://www.seqan.de/
Rules-Requires-Root: no
@@ -44,10 +38,10 @@ Description: C++ library for the analysis of biological sequences
Package: libseqan2-dev
Architecture: all
+Multi-Arch: foreign
Section: libdevel
Depends: ${misc:Depends}
Conflicts: seqan-dev
-Multi-Arch: foreign
Description: C++ library for the analysis of biological sequences (development)
SeqAn is a C++ template library of efficient algorithms and data
structures for the analysis of sequences with the focus on
=====================================
debian/patches/no-unaligned-access.patch
=====================================
@@ -0,0 +1,22 @@
+Description: use alignment-safe buffer handling.
+ Currently we are using assignment to copy the contents of a variable of
+ arbitrary type into a buffer, but this is not portable because the buffer
+ address may not be aligned. Use memcpy() instead, which should be
+ comparable performance ut alignment-safe.
+Author: Steve Langasek <steve.langasek at ubuntu.com>
+Bug-Debian: https://bugs.debian.org/892223
+
+Index: seqan2-2.4.0+dfsg/include/seqan/basic/basic_stream.h
+===================================================================
+--- seqan2-2.4.0+dfsg.orig/include/seqan/basic/basic_stream.h
++++ seqan2-2.4.0+dfsg/include/seqan/basic/basic_stream.h
+@@ -1200,7 +1200,8 @@
+ inline void
+ appendRawPodImpl(TTargetValue * &ptr, TValue const & val)
+ {
+- *reinterpret_cast<TValue* &>(ptr)++ = val;
++ std::memcpy(ptr, &val, sizeof(TValue));
++ ptr += sizeof(TValue);
+ }
+
+ template <typename TTarget, typename TValue>
=====================================
debian/patches/series
=====================================
@@ -6,3 +6,4 @@ tweak_readmes
install_fiona_illumina
ctdVersion.patch
fix_manpage_formatting.patch
+no-unaligned-access.patch
=====================================
debian/rules
=====================================
@@ -79,7 +79,7 @@ override_dh_install-arch:
find $(CURDIR)/debian/$(pkgapps)/usr/lib/seqan/bin -type f \
-name "*.sh" | xargs chmod a+x
for app in $$(ls $(CURDIR)/debian/$(pkgapps)/usr/lib/seqan/bin); \
- do $(CURDIR)/debian/$(pkgapps)/usr/lib/seqan/$${app} \
+ do $(CURDIR)/debian/$(pkgapps)/usr/lib/seqan/bin/$${app} \
--write-ctd $${app}.ctd && CTDConverter cwl -i $${app}.ctd \
-o $(CURDIR)/debian/$(pkgapps)/usr/share/commonwl/${app}.cwl; \
done;
View it on GitLab: https://salsa.debian.org/med-team/seqan2/compare/df7aca3432d12e25762f43e5fc8214449299fc98...3db687551ec2e61e4b413b03b046f22bca23f6ba
--
View it on GitLab: https://salsa.debian.org/med-team/seqan2/compare/df7aca3432d12e25762f43e5fc8214449299fc98...3db687551ec2e61e4b413b03b046f22bca23f6ba
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20181204/63d24639/attachment-0001.html>
More information about the debian-med-commit
mailing list