SHA256
8
0
forked from pool/motif
Files
motif/no-demos.patch
Matej Cepl 3a5a08a854 Accepting request 972386 from home:susnux:branches:devel:libraries:c_c++
- Update to version 2.3.8
  * Fixed bug: TextField leaves a residual cursor shadow on focus lose
  * Fixed bug: Many cases of typos in horizontal/vertical conditions in the code
  * Fixed bug: motif does crash on OpenSuse Leap 42.2
  * Fixed bug: TabStack with tabSelectColor and Right causes BadMatch Error
  * Fixed bug: Open Motif build fails due to weak aliases on Darwin with cl
  * Fixed bug: Motif 2.3.6 and 2.3.4 do not work with XQuartz 2.7.9 and later
  * Fixed bug: Add support for more Cyrillic locales
  * Fixed bug: Memory leak in DataF.c
  * Fixed bug: Closing open menus with mouse click disables keyboard shortcut
- Update to version 2.3.7
  * Fixed segmentation faults associated with option menus or other popup windows
- Update to version 2.3.6
  * Fixed Rendering issues seen while scrolling window
  * Fixed parallel building error
- Update to version 2.3.5
  * Reimplemented bugfix: The active window changes to inactive
    when the drop down list is clicked
  * Fixed XmList segfault when left-shift left-button click on
    list item
  * Fixed Label size computed wrong within a Form
  * Fixed Using deprecated X functions
  * Fixed Buffer overrun in FontS.c
  * Fixed many compile-time bugs
- Drop outdated patches:
  * openmotif-2.3.3.diff, warn.patch, strcmp.diff,
    openmotif-xpm.diff, sentinel.diff, openmotif-uil.diff,
    openmotif-unaligned.diff, mwm.diff, openmotif-editres.diff,
    openmotif-editres-prototype.patch, motif-avoid-empty-include.diff,
    motif-sequence-points.diff, openmotif-2.3.1-suse-stipple.patch,
    and motif-2.3.4-implicit-fortify-decl.patch
- Added patches from upstream and alpine:
  * fix-format-security.patch
  * no-demos.patch
  * fix_underlinking.patch
  * fix_hardcoded_x11rgb_path.patch
  * fix-undefined-use-of-sprintf.patch
  * 18-option-main.patch

OBS-URL: https://build.opensuse.org/request/show/972386
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/motif?expand=0&rev=20
2022-04-25 06:17:15 +00:00

52 lines
1.2 KiB
Diff

diff -Nur motif-2.3.8/configure.ac new/configure.ac
--- motif-2.3.8/configure.ac 2017-12-05 13:43:54.000000000 +0100
+++ new/configure.ac 2022-04-24 02:36:04.663728800 +0200
@@ -305,7 +305,20 @@
doc/man/man5/Makefile \
tools/Makefile \
tools/wml/Makefile \
-demos/Makefile \
+lib/Xm/xmstring.list \
+])
+
+AC_ARG_ENABLE(demos, [ --disable-demos
+ Disable building demos])
+
+if test x$enable_demos = x
+then
+ enable_demos="yes"
+fi
+
+if test "$enable_demos" = "yes"
+then
+ AC_CONFIG_FILES([demos/Makefile
demos/lib/Makefile \
demos/lib/Xmd/Makefile \
demos/lib/Wsm/Makefile \
@@ -389,6 +402,11 @@
demos/doc/programGuide/ch17/Makefile \
demos/doc/programGuide/ch17/simple_drop/Makefile \
demos/doc/programGuide/ch17/simple_drag/Makefile \
-lib/Xm/xmstring.list \
-])
+ ])
+ MAYBE_DEMOS=demos
+else
+ MAYBE_DEMOS=
+fi
+AC_SUBST(MAYBE_DEMOS)
+
AC_OUTPUT
diff -Nur motif-2.3.8/Makefile.am new/Makefile.am
--- motif-2.3.8/Makefile.am 2017-08-17 02:38:43.000000000 +0200
+++ new/Makefile.am 2022-04-24 02:36:04.663728800 +0200
@@ -28,6 +28,7 @@
tools \
clients \
doc \
- demos
+ $(MAYBE_DEMOS)
+
AUTOMAKE_OPTIONS = 1.4
ACLOCAL_AMFLAGS = -I .