[med-svn] [Git][med-team/libzstd][master] 2 commits: Add patch fixing FTBFS on Alpha, thanks to Helmut Grohne <helmut at subdivi.de>

Alexandre Mestiashvili gitlab at salsa.debian.org
Mon Jun 29 15:38:41 BST 2020



Alexandre Mestiashvili pushed to branch master at Debian Med / libzstd


Commits:
a647513e by Alexandre Mestiashvili at 2020-06-29T16:09:53+02:00
Add patch fixing FTBFS on Alpha, thanks to Helmut Grohne <helmut at subdivi.de>

- - - - -
61f802b5 by Alexandre Mestiashvili at 2020-06-29T16:13:23+02:00
Update changelog

Gbp-Dch: Ignore

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/0017-alpha-fbfs-st_mtime.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,14 @@
+libzstd (1.4.5+dfsg-3) unstable; urgency=medium
+
+  [ Paul Menzel ]
+  * debian/changelog: Fix typo in 1.4.5+dfsg-2 changelog
+
+  [ Alexandre Mestiashvili ]
+  * Add patch fixing FTBFS on Alpha, Closes: #962676
+    thanks to Helmut Grohne <helmut at subdivi.de>
+
+ -- Alexandre Mestiashvili <mestia at debian.org>  Mon, 29 Jun 2020 16:10:31 +0200
+
 libzstd (1.4.5+dfsg-2) unstable; urgency=medium
 
   * Drop ZSTD_LEGACY_MULTITHREADED_API, since nothing in Debian seems to use it


=====================================
debian/patches/0017-alpha-fbfs-st_mtime.patch
=====================================
@@ -0,0 +1,17 @@
+Description: Fix ftbfs on alpha, see #962676
+From: Helmut Grohne <helmut at subdivi.de>
+--- libzstd.orig/programs/util.c
++++ libzstd/programs/util.c
+@@ -148,8 +148,10 @@
+     /* We check that st_mtime is a macro here in order to give us confidence
+      * that struct stat has a struct timespec st_mtim member. We need this
+      * check because there are some platforms that claim to be POSIX 2008
+-     * compliant but which do not have st_mtim... */
+-#if (PLATFORM_POSIX_VERSION >= 200809L) && defined(st_mtime)
++     * compliant but which do not have st_mtim...
++     * And then there is alpha, which doesn't define st_mtime, but still has it.
++     */
++#if (PLATFORM_POSIX_VERSION >= 200809L) && (defined(st_mtime) || defined(__alpha__))
+     {
+         /* (atime, mtime) */
+         struct timespec timebuf[2] = { {0, UTIME_NOW} };


=====================================
debian/patches/series
=====================================
@@ -4,3 +4,4 @@
 0014-Reproducible-build.patch
 0015-Skip-dev-random-tests-on-hurd.patch
 0016-Fix-spelling.patch
+0017-alpha-fbfs-st_mtime.patch



View it on GitLab: https://salsa.debian.org/med-team/libzstd/-/compare/381dbc0234d49241a802cb0d3d9aa6fc569b031f...61f802b5242ce0f319eed9a6a97f3a863b5de67d

-- 
View it on GitLab: https://salsa.debian.org/med-team/libzstd/-/compare/381dbc0234d49241a802cb0d3d9aa6fc569b031f...61f802b5242ce0f319eed9a6a97f3a863b5de67d
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/20200629/40ea049b/attachment-0001.html>


More information about the debian-med-commit mailing list