forked from pool/xemacs
Compare commits
4 Commits
Author | SHA256 | Date | |
---|---|---|---|
0b3bc2fee0 | |||
c3b7c2418b | |||
2e464db331 | |||
182bd25c3f |
20
xemacs-gcc15.patch
Normal file
20
xemacs-gcc15.patch
Normal file
@@ -0,0 +1,20 @@
|
||||
Index: xemacs-21.5.34/lib-src/ootags.c
|
||||
===================================================================
|
||||
--- xemacs-21.5.34.orig/lib-src/ootags.c
|
||||
+++ xemacs-21.5.34/lib-src/ootags.c
|
||||
@@ -76,6 +76,7 @@ char pot_etags_version[] = "@(#) pot rev
|
||||
|
||||
#if !defined (WIN32_NATIVE) && defined (STDC_HEADERS)
|
||||
#include <stdlib.h>
|
||||
+#include <stdbool.h>
|
||||
#include <string.h>
|
||||
#endif
|
||||
|
||||
@@ -181,7 +182,6 @@ void oo_browser_check_and_clear_structty
|
||||
# define xrnew(op,n,Type) ((Type *) xrealloc ((op), (n) * sizeof (Type)))
|
||||
#endif
|
||||
|
||||
-typedef int bool;
|
||||
|
||||
typedef void Lang_function (FILE *);
|
||||
|
@@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 25 09:32:46 UTC 2025 - Marguerite Su <i@marguerite.su>
|
||||
|
||||
- add xemacs-gcc15.patch, fix TW build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 19 06:10:19 UTC 2024 - Dr. Werner Fink <werner@suse.de>
|
||||
|
||||
- Use -fpermissive as compiler option
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 3 07:21:18 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package xemacs
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -115,6 +115,7 @@ Patch63: xemacs-21.5.34-strsignal.patch
|
||||
Patch64: xemacs-21.5.34-fix2038.patch
|
||||
# PATCH-FIX-SUSE drop hostname+timestamp from .elc
|
||||
Patch65: reproducible.patch
|
||||
Patch66: xemacs-gcc15.patch
|
||||
Requires(pre): permissions
|
||||
Requires: ctags
|
||||
Requires: efont-unicode
|
||||
@@ -231,6 +232,7 @@ exit 1
|
||||
%endif
|
||||
%patch -P 64 -p1
|
||||
%patch -P 65 -p1
|
||||
%patch -P 66 -p1
|
||||
|
||||
%build
|
||||
cflags ()
|
||||
@@ -282,7 +284,7 @@ LIBEXEC=${LIB}/xemacs/${VERSION}
|
||||
MOD=${ARCH}/modules
|
||||
STATE=/var/lib/xemacs
|
||||
MAN=/usr/share/man/man1
|
||||
CFLAGS="-Wall ${RPM_OPT_FLAGS} -pipe ${LOOP} -DLDAP_DEPRECATED "
|
||||
CFLAGS="-Wall ${RPM_OPT_FLAGS} -pipe ${LOOP} -DLDAP_DEPRECATED -fpermissive"
|
||||
%ifarch s390x
|
||||
CFLAGS="$CFLAGS -O1"
|
||||
%endif
|
||||
|
Reference in New Issue
Block a user