Debian Patches

Status for motif/2.3.8-3.1

Patch Description Author Forwarded Bugs Origin Last update
fix-autoconf.patch Update build system to satisfy latest automake/autoconf This is part of the patch submitted by Adam Sampson,
so we can build without having to provide AUTHORS and NEWS files
.
Adam licensed his patch under MIT license (whatever that means ;) )
Graham Inggs <ginggs@debian.org> yes 2017-12-16
fix-format-security.patch Fix unsafe uses of fprintf and sprintf prevent 'format not a string literal and no format arguments' errors Graham Inggs <ginggs@debian.org> yes 2017-08-03
add-debian-menu-structure-to-system.mwmrc-menu.patch Add Debian menu structure to system.mwmrc-menu Graham Inggs <ginggs@debian.org> not-needed 2013-01-21
multiarch-specialcase-libdir-X11.patch Relocate non-libs from /usr/lib/X11 For multiarch support, we change libdir to /usr/lib/$(DEB_HOST_MULTIARCH).
However, we do not want to do this to /usr/lib/X11 yet.
.
Note that XMBINDDIR_FALLBACK should really be set to /usr/share/X11/bindings
since the files are platform-independent. We postpone moving them until a
decision has been reached on libmotif-common.
.
The configure.ac fixes are minimal and only suitable for Debian/Ubuntu
packaging. For upstream one might want to add a command line option.
.
Sergio Gelato, 2012-05-20.
.
Allow the MWM resources and fallback bindings directories to be customized
with the --with-mwmrcdir and --xmbinddir configure options respectively.
Now we can relocate non-library files from /usr/lib/X11 to /usr/share/X11
(bindings) and /etc/X11/mwm (MWM resources) in debian/rules, allowing us to
split motif into architecture-dependent and architecture-independent packages.
.
Graham Inggs, 2013-03-12.
Graham Inggs <ginggs@debian.org> yes upstream 2017-12-16
cast-size_t-to-int.patch To prevent build failure during building with Hardening options enabled due to "format '%d' expects argument of type 'int', but argument 5 has
type 'size_t'", the fifth argument is cast to integer on the input.
Paul Gevers <elbrus@debian.org> yes
fix_lintian_reported_manpage_typos.patch lintian reports several typos in manpages. This patch fixes those reported Graham Inggs <ginggs@debian.org> yes 2020-07-02
fix_hyphen_in_man_pages.patch lintian reports hyphen misuse in manpages. This patch fixes those reported. Paul Gevers <elbrus@debian.org> yes
fix_typo_in_libxm.patch lintian reports a typo in libXm. This patch fixes it. Graham Inggs <ginggs@debian.org> yes 2017-08-03
fix_manpage-has-bad-whatis-entry.patch lintian reports bad whatis entries in manpages. Fixing here Paul Gevers <elbrus@debian.org> yes
fix_underlinking.patch Fix underlinking of libXt, libXext and libX11 Recent changes to default linker behaviour prevent shared libraries from being
indirectly linked, resulting in FTBFS in Ubuntu Raring.
.
This patch fixes this by explicitly linking libXt, libXext and libX11 wherever
necessary. Demos are patched even though they are not built for distribution.
Graham Inggs <ginggs@debian.org> yes 2013-02-26
fix_hardcoded_x11rgb_path.patch Fix hardcoded path to /usr/lib/X11/rgb.txt in lib/Xm/ColorS.c LibXm is hardcoded to read rgb.txt from /usr/lib/X11 but this file, provided
by x11-common in Debian, is located in /etc/X11 and /usr/share/X11 via symlink.
.
This patch fixes this by allowing the directory in which rgb.txt resides to be
customized by the --with-x11rgbdir=DIR configure option.
Graham Inggs <ginggs@debian.org> yes 2017-12-16
fix_ac_find_xft.patch Fix ac_find_xft.m4 ac_find_xft.m4 fails tests required to enable building with Xft anti-aliased fonts.
We also need to add -lfontconfig to LIBS to prevent underlinking of libXm.
.
This patch fixes these. Build-depends on libfontconfig1-dev, libfreetype6-dev and
libxrender-dev can be dropped as they are all dependencies of libxft-dev.
Graham Inggs <ginggs@debian.org> yes 2017-08-03
link_uil_against_libuil.patch Link the uil executable against libUil Linking the uil executable againt libUil instead of compiling with the libUil
code results in a reduction in size of the uil executable from about 348KB
to about 16KB.
.
This patch originates from Red Hat.
Graham Inggs <ginggs@debian.org> yes 2013-03-12
fix-undefined-use-of-sprintf.patch Fix undefined use of sprintf This patch fixes the undefined use of sprintf when the
source and destination buffers overlap.
Graham Inggs <ginggs@debian.org> yes 2013-09-24
switch-to-system-iswspace.patch Switch to system iswspace() function This patch replaces calls to _XmDataFieldIsWSpace() in lib/Xm/DataF.c
and _XmTextFieldIsWSpace() in lib/Xm/TextF.c with calls to the system
iswspace() function.
.
It fixes an array bounds error in lib/Xm/DataF.c where
_XmDataFieldIsWSpace() is called with num_entries = 3.
.
Updated to include wctype.h to avoid implicit declaration warnings.
.
For testing purposes, there is an XmTextField object that allows
alphanumeric characters in demos/programs/i18ninput, and there
are XmDataField objects in demos/programs/Column.
Graham Inggs <ginggs@debian.org> yes 2017-08-03
fix-type-inconsistencies.patch Fix type inconsistencies This patch fixes various type inconsistencies reported by goto-cc
from the cbmc package.
Graham Inggs <ginggs@debian.org> yes debian 2017-08-04
pass-hardening-flags.patch Pass hardening flags Graham Inggs <ginggs@debian.org> invalid 2017-08-03
revert-fix-1617.patch Revert fix for upstream bug #1617 This patch reverts changes which caused TabStack demo
to segfault when starting.
https://sourceforge.net/p/motif/code/ci/2b90f83a51ac73b1238e7f9b64949667ddbdd8fe/
Graham Inggs <ginggs@bdeian.org> yes upstream 2017-08-04
cross.patch Fix AC_CHECK_FILE abuse Helmut Grohne <helmut@subdivi.de> yes debian 2019-05-12
implicit no

All known versions for source package 'motif'

Links