[med-svn] [Git][med-team/librandom123][master] 5 commits: add-riscv64-support.patch: enable riscv64 build in source code

Étienne Mollier (@emollier) gitlab at salsa.debian.org
Sun Feb 5 18:00:35 GMT 2023



Étienne Mollier pushed to branch master at Debian Med / librandom123


Commits:
9230d6bb by Eric Long at 2023-02-05T18:53:33+01:00
add-riscv64-support.patch: enable riscv64 build in source code

- - - - -
61303a2f by Étienne Mollier at 2023-02-05T18:54:02+01:00
initialize changelog.

- - - - -
5751dadc by Étienne Mollier at 2023-02-05T18:54:34+01:00
routine-update: Standards-Version: 4.6.2

- - - - -
8735100f by Étienne Mollier at 2023-02-05T18:56:23+01:00
routine-update: Ready to upload to unstable

- - - - -
5f621bfb by Étienne Mollier at 2023-02-05T18:59:54+01:00
finalize changelog

- - - - -


4 changed files:

- debian/changelog
- debian/control
- + debian/patches/add-riscv64-support.patch
- + debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,16 @@
+librandom123 (1.14.0+dfsg-4) unstable; urgency=medium
+
+  * Team upload.
+
+  [ Eric Long ]
+  * add-riscv64-support.patch: enable riscv64 build in source code
+    Closes: #1030614
+
+  [ Étienne Mollier ]
+  * Standards-Version: 4.6.2 (routine-update)
+
+ -- Étienne Mollier <emollier at debian.org>  Sun, 05 Feb 2023 18:55:01 +0100
+
 librandom123 (1.14.0+dfsg-3) unstable; urgency=medium
 
   * Fix watch file


=====================================
debian/control
=====================================
@@ -5,7 +5,7 @@ Section: science
 Priority: optional
 Build-Depends: debhelper-compat (= 13),
                doxygen
-Standards-Version: 4.6.1
+Standards-Version: 4.6.2
 Vcs-Browser: https://salsa.debian.org/med-team/librandom123
 Vcs-Git: https://salsa.debian.org/med-team/librandom123.git
 Homepage: https://www.deshawresearch.com/resources_random123.html


=====================================
debian/patches/add-riscv64-support.patch
=====================================
@@ -0,0 +1,20 @@
+Description: enable riscv64 build in source code
+Author: Eric Long <i at hack3r.moe>
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1030614
+Forwarded: no
+Reviewed-by: Étienne Mollier <emollier at debian.org>
+Last-Update: 2023-02-05
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+
+--- a/include/Random123/features/gccfeatures.h
++++ b/include/Random123/features/gccfeatures.h
+@@ -34,7 +34,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ 
+ #define R123_GNUC_VERSION (__GNUC__*10000 + __GNUC_MINOR__*100 + __GNUC_PATCHLEVEL__)
+ 
+-#if !defined(__x86_64__) && !defined(__i386__) && !defined(__powerpc__) && !defined(__arm__) && !defined(__aarch64__) && !defined(__s390x__)
++#if !defined(__x86_64__) && !defined(__i386__) && !defined(__powerpc__) && !defined(__arm__) && !defined(__aarch64__) && !defined(__s390x__) && !defined(__riscv)
+ #  error "This code has only been tested on x86, powerpc and a few arm platforms."
+ #include <including_a_nonexistent_file_will_stop_some_compilers_from_continuing_with_a_hopeless_task>
+ { /* maybe an unbalanced brace will terminate the compilation */


=====================================
debian/patches/series
=====================================
@@ -0,0 +1 @@
+add-riscv64-support.patch



View it on GitLab: https://salsa.debian.org/med-team/librandom123/-/compare/f8539c494baf8e23b07b38e45712bdb4b406f5b9...5f621bfbd377bba9d090edfe7fe33d0de7fa7eb7

-- 
View it on GitLab: https://salsa.debian.org/med-team/librandom123/-/compare/f8539c494baf8e23b07b38e45712bdb4b406f5b9...5f621bfbd377bba9d090edfe7fe33d0de7fa7eb7
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/20230205/2ca18d51/attachment-0001.htm>


More information about the debian-med-commit mailing list