Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 6cc55d1891 | |||
| d2a3719f53 |
15
sgml-tools-1.0.9-gcc15.diff
Normal file
15
sgml-tools-1.0.9-gcc15.diff
Normal file
@@ -0,0 +1,15 @@
|
||||
--- a/sgmls-1.1/getopt.h 1996-12-02 12:16:29.000000000 +0100
|
||||
+++ b/sgmls-1.1/getopt.h 2025-05-02 23:51:50.059256831 +0200
|
||||
@@ -4,8 +4,12 @@
|
||||
conflicting definition. Systems differ on how they declare the second
|
||||
parameter. */
|
||||
|
||||
+#ifdef HAVE_UNISTD_H
|
||||
+#include <unistd.h>
|
||||
+#else
|
||||
extern int getopt();
|
||||
|
||||
extern char *optarg;
|
||||
extern int optind;
|
||||
extern int opterr;
|
||||
+#endif
|
||||
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri May 2 21:15:31 UTC 2025 - Friedrich Haubensak <hsk17@mail.de>
|
||||
|
||||
- Add sgml-tools-1.0.9-gcc15.diff to fix gcc-15 compile error
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 15 11:08:21 UTC 2024 - Martin Jambor <mjambor@suse.com>
|
||||
|
||||
|
||||
@@ -34,6 +34,7 @@ Patch6: cflags-sgml-tools-1.0.9.diff
|
||||
Patch7: sgml-tools-1.0.9-sgmlpre.diff
|
||||
Patch8: sgml-tools-1.0.9-strip.diff
|
||||
Patch9: sgml-tools-1.0.9-latex.diff
|
||||
Patch10: sgml-tools-1.0.9-gcc15.diff
|
||||
BuildRequires: flex
|
||||
BuildRequires: groff
|
||||
BuildRequires: opensp
|
||||
@@ -90,6 +91,7 @@ This package contains the LaTeX generator (sgml2latex) from sgmltool.
|
||||
%patch -P 7 -p1
|
||||
%patch -P 8
|
||||
%patch -P 9
|
||||
%patch -P 10 -p1
|
||||
|
||||
%build
|
||||
#%global optflags %{optflags} -fpermissive
|
||||
|
||||
Reference in New Issue
Block a user