Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package motif for openSUSE:Factory checked 
in at 2026-11-27 19:41:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/motif (Old)
 and      /work/SRC/openSUSE:Factory/.motif.new.1340718 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "motif"

Fri Nov 27 19:41:21 2026 rev:13 rq:1400883 version:2.3.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/motif/motif.changes      2025-07-30 
11:45:43.819600466 +0200
+++ /work/SRC/openSUSE:Factory/.motif.new.1340718/motif.changes 2026-11-27 
19:43:05.404971600 +0100
@@ -1,0 +2,7 @@
+Thu Nov 26 10:20:00 UTC 2026 - Dominique Leuenberger <[email protected]>
+
+- Replace 18-option-main.patch with local motif-flex-main.patch:
+  Flex 2.7.4 dropped libmain.c and does not support "%option main".
+  Define main() in tools/wml/wmluiltok.l instead.
+
+-------------------------------------------------------------------

Old:
----
  18-option-main.patch

New:
----
  motif-flex-main.patch

----------(Old B)----------
  Old:
- Replace 18-option-main.patch with local motif-flex-main.patch:
  Flex 2.7.4 dropped libmain.c and does not support "%option main".
----------(Old E)----------

----------(New B)----------
  New:
- Replace 18-option-main.patch with local motif-flex-main.patch:
  Flex 2.7.4 dropped libmain.c and does not support "%option main".
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ motif.spec ++++++
--- /var/tmp/diff_new_pack.JxjUrB/_old  2026-11-27 19:43:06.487019049 +0100
+++ /var/tmp/diff_new_pack.JxjUrB/_new  2026-11-27 19:43:06.488019093 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package motif
 #
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -36,7 +36,8 @@
 Patch3:         fix_hardcoded_x11rgb_path.patch
 # PATCH-FIX-UPSTREM 16-fix-undefined-use-of-sprintf.patch -- 
http://bugs.motifzone.net/show_bug.cgi?id=1628
 Patch4:         fix-undefined-use-of-sprintf.patch
-Patch5:         
https://git.alpinelinux.org/aports/plain/community/motif/18-option-main.patch
+# PATCH-FIX-OPENSUSE motif-flex-main.patch -- Define main() for wmluiltok 
scanner since flex dropped libmain.c and does not support %option main
+Patch5:         motif-flex-main.patch
 # PATCH-FIX-OPENSUSE fix-implicit-declarations-gcc14.patch -- Include 
<string.h> in order to avoid implicit declarations, fixes builds with gcc14
 Patch6:         fix-implicit-declarations-gcc14.patch
 BuildRequires:  autoconf

++++++ motif-flex-main.patch ++++++
--- a/tools/wml/wmluiltok.l
+++ b/tools/wml/wmluiltok.l
@@ -209,3 +209,9 @@ int yywrap ()
         }
     return (1);
 }
+
+int main (void)
+{
+    while (yylex() != 0) ;
+    return 0;
+}

Reply via email to