[med-svn] [Git][med-team/libssw][master] 2 commits: Include definition for malloc & free

Michael R. Crusoe gitlab at salsa.debian.org
Sat Dec 14 11:20:46 GMT 2019



Michael R. Crusoe pushed to branch master at Debian Med / libssw


Commits:
10a11e39 by Michael R. Crusoe at 2019-12-13T15:17:38Z
Include definition for malloc & free

- - - - -
2ca3ab8c by Michael R. Crusoe at 2019-12-14T11:04:48Z
drop using from simde header

- - - - -


4 changed files:

- debian/changelog
- debian/include/simde/x86/sse.h
- + debian/patches/malloc
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+libssw (1.1-7) UNRELEASED; urgency=medium
+
+  * debian/patches/malloc: Include definition for malloc & free
+  * debian/include/simde/x86/sse.h: drop "using"
+
+ -- Michael R. Crusoe <michael.crusoe at gmail.com>  Fri, 13 Dec 2019 16:17:12 +0100
+
 libssw (1.1-6) unstable; urgency=medium
 
   * Release to unstable.


=====================================
debian/include/simde/x86/sse.h
=====================================
@@ -68,14 +68,8 @@
 #    endif
 #  endif
 
-#if !defined(__cplusplus)
-#  include <math.h>
-#  include <fenv.h>
-#else
-#  include <cmath>
-#  include <cfenv>
-using std::isnan;
-#endif
+#include <math.h>
+#include <fenv.h>
 
 HEDLEY_DIAGNOSTIC_PUSH
 #  if HEDLEY_HAS_WARNING("-Wfloat-equal")


=====================================
debian/patches/malloc
=====================================
@@ -0,0 +1,12 @@
+From: Michael R. Crusoe <michael.crusoe at gmail.com>
+Subject: Provide declarations for malloc & free
+--- libssw.orig/src/sswjni.c
++++ libssw/src/sswjni.c
+@@ -1,6 +1,7 @@
+ #include <jni.h>
+ #include <stdio.h>
+ #include "ssw.h"
++#include <stdlib.h>
+ 
+ jstring s_align_cigar_to_jstring(JNIEnv* env, s_align* align) {
+ 	jstring jstrBuf = NULL;


=====================================
debian/patches/series
=====================================
@@ -2,3 +2,4 @@ build_all_libs.patch
 hardening.patch
 rename_tool.patch
 simde.patch
+malloc



View it on GitLab: https://salsa.debian.org/med-team/libssw/compare/44bcfe2a45e9d7803521d47c7a3941d118206ba1...2ca3ab8c8f072b536cf0f3a1230731d3b792ca4c

-- 
View it on GitLab: https://salsa.debian.org/med-team/libssw/compare/44bcfe2a45e9d7803521d47c7a3941d118206ba1...2ca3ab8c8f072b536cf0f3a1230731d3b792ca4c
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/20191214/7464fd7d/attachment-0001.html>


More information about the debian-med-commit mailing list