[med-svn] [Git][med-team/edflib][master] 2 commits: d/rules: guard against big endian architecture

Étienne Mollier (@emollier) gitlab at salsa.debian.org
Wed Jun 14 21:08:00 BST 2023



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


Commits:
84bf4d38 by Étienne Mollier at 2023-06-14T22:01:20+02:00
d/rules: guard against big endian architecture

Per README file, upstream explicitly doesn't support big endian
architecture and will proceed to runtime tests to ensure it.  However
the build system doesn't ftbfs on big endian, so this is a protection
against accidental introduction of the library on big endian hosts.

- - - - -
d035dc60 by Étienne Mollier at 2023-06-14T22:07:20+02:00
initialise changelog

- - - - -


2 changed files:

- debian/changelog
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,13 @@
+edflib (1.24-2) UNRELEASED; urgency=medium
+
+  * d/rules: guard against big endian architecture.
+    Per README file, upstream explicitly doesn't support big endian
+    architecture and will proceed to runtime tests to ensure it.  However
+    the build system doesn't ftbfs on big endian, so this is a protection
+    against accidental introduction of the library on big endian hosts.
+
+ -- Étienne Mollier <emollier at debian.org>  Wed, 14 Jun 2023 22:07:01 +0200
+
 edflib (1.24-1) unstable; urgency=medium
 
   * New upstream version


=====================================
debian/rules
=====================================
@@ -8,6 +8,10 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 	dh $@ --buildsystem=cmake
 
 override_dh_auto_configure:
+ifeq ($(DEB_HOST_ARCH_ENDIAN),big)
+	@ echo "E: edflib doesn't support big endian systems, bailing out!"
+	@ exit 1
+endif
 	dh_auto_configure -- -DEDFLIB_INSTALL_PATH=lib/${DEB_HOST_MULTIARCH}
 
 



View it on GitLab: https://salsa.debian.org/med-team/edflib/-/compare/5e3ed9b5d3abf3cda80f2ab3bd7f2478d37ee01a...d035dc600adb7d02f90f74d269b88be55c796fcf

-- 
View it on GitLab: https://salsa.debian.org/med-team/edflib/-/compare/5e3ed9b5d3abf3cda80f2ab3bd7f2478d37ee01a...d035dc600adb7d02f90f74d269b88be55c796fcf
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/20230614/bc9f2c92/attachment-0001.htm>


More information about the debian-med-commit mailing list