Package: motif / 2.3.4-13
Metadata
Package | Version | Patches format |
---|---|---|
motif | 2.3.4-13 | 3.0 (quilt) |
Patch series
view the series filePatch | File delta | Description |
---|---|---|
01 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 ;) ) |
02 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 |
03 no demos.patch | (download) |
Makefile.am |
3 2 + 1 - 0 ! |
add option to disable building of demos |
04 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 |
05 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 |
06 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. |
07 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 |
08 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. |
09 fix_typo_in_libxm.patch | (download) |
lib/Xm/FontS.c |
4 2 + 2 - 0 ! |
lintian reports a typo in libxm. this patch fixes it. |
10 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 |
11 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. |
12 fix_buffer_overrun_in_libxm.patch | (download) |
lib/Xm/FontS.c |
2 1 + 1 - 0 ! |
fix buffer overrun in libxm (fonts.c) |
13 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. |
14 fix_ac_find_xft.patch | (download) |
ac_find_xft.m4 |
32 22 + 10 - 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. |
15 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. |
16 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. |
17 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. |
18 updated fix 1565.patch | (download) |
lib/Xm/ComboBox.c |
8 8 + 0 - 0 ! |
updated fix for upstream bug #1565 This patch fixes the problem introduced by fix #1565, included in Motif 2.3.4, which breaks keyboard navigation in menus. |
19 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. . The yyleng fix in tools/wml/wml.c requires flex >= 2.5.36. |
20 fix 1612.patch | (download) |
lib/Xm/Form.c |
58 56 + 2 - 0 ! |
fix for upstream bug #1612 This patch fixes the Label size being computed incorrectly within a Form when the label increases in width. . This patch also solves a similar issue where other widgets attached on one side in the horizontal or vertical direction grew more than the form size. |
21 fix 1636.patch | (download) |
lib/Xm/List.c |
6 6 + 0 - 0 ! |
fix for upstream bug #1636 This patch fixes a segfault in XmList when left-shift, left-button click on list item. |
22 fix function implicitly converted to pointer.patch | (download) |
demos/programs/TabStack/creation.h |
2 2 + 0 - 0 ! |
fix function implicitly converted to a pointer This patch cherry-picks the fix for function 'Createform' implicitly converted to a pointer at main.c:113 in TabStack demo. . This problem was detected by an automated build log filter on the Ubuntu buildds while building the Motif demos. |
23 disable fix 1565.patch | (download) |
lib/Xm/XmI.h |
1 0 + 1 - 0 ! |
disable fix for upstream bug #1565 This patch reverts the changes introduced by upstream's fix for upstream bug #1565 and causes pop menus and keyboard navigation in menus to revert to their Motif 2.3.3 behaviour. . Upstream's original fix broke keyboard navigation in menus (#730026) and upstream's updated fix (applied in motif 2.3.4-5) caused segfaults in ddd and xpdf (#781995). |
24 uil cyrillic locales.patch | (download) |
tools/wml/motif.wml |
14 13 + 1 - 0 ! |
add support for more cyrillic locales in uil Support has been added for "ISO-8859-5" (without the patch, LANG=ru_RU is valid while LANG=ru_RU.ISO-8859-5 is not), "CP1251" and "IBM866" charsets. |
25 fix 1654.patch | (download) |
lib/Xm/LabelG.c |
13 11 + 2 - 0 ! |
fix for upstream bug #1654 This patch fixes rendering issues seen while scrolling window. |
26 fix parallel build.patch | (download) |
demos/lib/Exm/wml/Makefile.am |
2 2 + 0 - 0 ! |
fix parallel building (make -j) error |