Debian Patches

Status for libserialport/0.1.1-4

Patch Description Author Forwarded Bugs Origin Last update
non-linux-build-fix.diff Fix compilation under kfreebsd _DEFAULT_SOURCE definition should be based on whether we're using GLIBC
or not, rather than whether the OS being compiled for is Linux.
diff --git a/libserialport_internal.h b/libserialport_internal.h
index 669152b..340f660 100644
Steven Chamberlain <steven@pyro.eu.org> no debian other 2017-08-14
fix_for_alpha_where_BOTHER_is_not_defined.diff Linux: fix for alpha where BOTHER is not defined. Comes from upstream
But no new upstream release yet


Fixes bug #363.
Martin Ling <martin-git@earth.li> no debian https://sigrok.org/bugzilla/show_bug.cgi?id=363#c5 2018-05-09
avoid-termiox.diff Don't even check for termiox
Don't check for termiox, as it has been remove from Linux in e0efb3168d34

Some more information available in https://www.spinics.net/lists/linux-serial/msg41926.html

Attempting to use the termiox ioctls on more modern kernels results in
"Inappropriate IOCTL" errors.

While the "right" solution might be to remove the termiox code from the
linux path, simply not checking for termiox builds a libserialport that
functions on modern linux kernels.

diff --git a/configure.ac b/configure.ac
index b1af16f..a26b851 100644
Karl Palsson <karlp@etactica.com> yes debian upstream https://sigrok.org/gitweb/?p=libserialport.git;a=commit;h=6f9b03e597ea7200eb616a4e410add3dd1690cb1 2021-07-10

All known versions for source package 'libserialport'

Links