Accepting request 312752 from M17N
- Add patch xemacs-21.5.34-gcc5.patch as Gcc 5 use type max_align_t instead of _max_align_t - Modify patch xemacs.patch to make open(2) work with O_CREAT OBS-URL: https://build.opensuse.org/request/show/312752 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xemacs?expand=0&rev=82
This commit is contained in:
commit
6cb99bf6c2
15
xemacs-21.5.34-gcc5.patch
Normal file
15
xemacs-21.5.34-gcc5.patch
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
src/lisp.h | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
--- src/lisp.h
|
||||
+++ src/lisp.h 2015-06-19 15:07:05.294018565 +0000
|
||||
@@ -1154,6 +1154,8 @@ typedef int Boolint;
|
||||
|
||||
/* ------------------------ alignment definitions ------------------- */
|
||||
|
||||
+#undef lisp_max_align_t
|
||||
+#define max_align_t lisp_max_align_t
|
||||
/* No type has a greater alignment requirement than max_align_t.
|
||||
(except perhaps for types we don't use, like long double) */
|
||||
typedef union
|
@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 19 15:16:09 UTC 2015 - werner@suse.de
|
||||
|
||||
- Add patch xemacs-21.5.34-gcc5.patch as Gcc 5 use type max_align_t
|
||||
instead of _max_align_t
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 19 14:31:38 UTC 2015 - werner@suse.de
|
||||
|
||||
- Modify patch xemacs.patch to make open(2) work with O_CREAT
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 12 16:21:05 UTC 2015 - werner@suse.de
|
||||
|
||||
|
@ -60,13 +60,13 @@ Index: xemacs-21.5.29/lib-src/mmencode.c
|
||||
+
|
||||
+ if(mode[0] == 'w') {
|
||||
+ flags = O_EXCL | O_CREAT | O_WRONLY;
|
||||
+ fd = open(filename, flags, 00666);
|
||||
+ }
|
||||
+ else {
|
||||
+ flags = O_RDONLY;
|
||||
+ fd = open(filename, flags);
|
||||
+ }
|
||||
+
|
||||
+ fd = open(filename, flags);
|
||||
+
|
||||
+ if(fd == -1) {
|
||||
+ return (FILE *)0;
|
||||
+ }
|
||||
|
@ -85,6 +85,7 @@ Patch50: menus-always-utf8.patch
|
||||
Patch51: bnc502716-fontmenu.patch
|
||||
Patch52: bnc502716-xft.patch
|
||||
Patch53: xemacs-21.5.31-array.patch
|
||||
Patch54: xemacs-21.5.34-gcc5.patch
|
||||
Patch56: xemacs-libpng15.patch
|
||||
Patch292811: bugzilla-292811-make-x-make-font-bold-italic-xft-work.patch
|
||||
Patch301352: bugzilla-301352-fix-wrong-incrementing-in-macros.patch
|
||||
@ -175,6 +176,7 @@ echo Use xfs, that is XFontSet support for internationalized menubar.
|
||||
%patch52 -p0
|
||||
%endif
|
||||
%patch53 -p0
|
||||
%patch54 -p0
|
||||
%patch56 -p1
|
||||
%patch292811 -p1
|
||||
%patch301352 -p1
|
||||
|
Loading…
Reference in New Issue
Block a user