Package: motif / 2.3.8-2
Metadata
Package | Version | Patches format |
---|---|---|
motif | 2.3.8-2 | 3.0 (quilt) |
Patch series
view the series filePatch | File delta | Description |
---|---|---|
fix autoconf.patch | (download) |
configure.ac |
15 7 + 8 - 0 ! |
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 ;) ) |
fix format security.patch | (download) |
lib/Mrm/Mrmhier.c |
4 2 + 2 - 0 ! |
fix unsafe uses of fprintf and sprintf prevent 'format not a string literal and no format arguments' errors |
add debian menu structure to system.mwmrc menu.patch | (download) |
clients/mwm/system.mwmrc |
6 6 + 0 - 0 ! |
add debian menu structure to system.mwmrc-menu |
multiarch specialcase libdir X11.patch | (download) |
configure.ac |
6 4 + 2 - 0 ! |
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. Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=673690 |
cast size_t to int.patch | (download) |
tools/wml/wmloutkey.c |
2 1 + 1 - 0 ! |
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. |
fix_lintian_reported_manpage_typos.patch | (download) |
doc/man/man1/mwm.1 |
2 1 + 1 - 0 ! |
lintian reports several typos in manpages. this patch fixes those reported |
fix_hyphen_in_man_pages.patch | (download) |
doc/man/man1/mwm.1 |
8 4 + 4 - 0 ! |
lintian reports hyphen misuse in manpages. this patch fixes those reported. |
fix_typo_in_libxm.patch | (download) |
lib/Xm/FontS.c |
4 2 + 2 - 0 ! |
lintian reports a typo in libxm. this patch fixes it. |
fix_manpage has bad whatis entry.patch | (download) |
doc/man/man3/XmColorSelector.3 |
2 1 + 1 - 0 ! |
lintian reports bad whatis entries in manpages. fixing here |
fix_underlinking.patch | (download) |
clients/mwm/Makefile.am |
2 1 + 1 - 0 ! |
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. |
fix_hardcoded_x11rgb_path.patch | (download) |
configure.ac |
4 4 + 0 - 0 ! |
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. |
fix_ac_find_xft.patch | (download) |
ac_find_xft.m4 |
30 21 + 9 - 0 ! |
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. |
link_uil_against_libuil.patch | (download) |
clients/uil/Makefile.am |
4 2 + 2 - 0 ! |
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. |
fix undefined use of sprintf.patch | (download) |
lib/Xm/XmRenderT.c |
2 1 + 1 - 0 ! |
fix undefined use of sprintf This patch fixes the undefined use of sprintf when the source and destination buffers overlap. |
switch to system iswspace.patch | (download) |
lib/Xm/DataF.c |
95 12 + 83 - 0 ! |
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. |
fix type inconsistencies.patch | (download) |
demos/lib/Xmd/RegEdit.c |
2 1 + 1 - 0 ! |
fix type inconsistencies This patch fixes various type inconsistencies reported by goto-cc from the cbmc package. |
pass hardening flags.patch | (download) |
demos/lib/Exm/wml/Makefile.am |
2 1 + 1 - 0 ! |
pass hardening flags |
revert fix 1617.patch | (download) |
demos/programs/ColorSel/util-c.c |
12 6 + 6 - 0 ! |
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/ Bug: http://bugs.motifzone.net/show_bug.cgi?id=1661 |