* [gentoo-commits] proj/emacs-tools:patchsets commit in: emacs/18.59/
@ 2013-08-06 19:09 Ulrich Mueller
0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Mueller @ 2013-08-06 19:09 UTC (permalink / raw
To: gentoo-commits
commit: 3294c616fd0d4acd77e1afeef904178dda0a551f
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 4 00:20:11 2013 +0000
Commit: Ulrich Mueller <ulm <AT> gentoo <DOT> org>
CommitDate: Sun Aug 4 00:20:11 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/emacs-tools.git;a=commit;h=3294c616
Add missing ChangeLog entries.
---
emacs/18.59/07_all_cpp-4.5.patch | 17 ++++++++++----
emacs/18.59/08_all_ldflags.patch | 12 ++++++++--
emacs/18.59/09_all_syswait.patch | 15 +++++++++---
emacs/18.59/10_all_x32.patch | 49 ++++++++++++++++++++++++++++------------
4 files changed, 70 insertions(+), 23 deletions(-)
diff --git a/emacs/18.59/07_all_cpp-4.5.patch b/emacs/18.59/07_all_cpp-4.5.patch
index 5750d5e..8d063ec 100644
--- a/emacs/18.59/07_all_cpp-4.5.patch
+++ b/emacs/18.59/07_all_cpp-4.5.patch
@@ -1,7 +1,16 @@
-http://bugs.gentoo.org/308653
-http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41748
-Fix building with GNU CPP 4.5.
-
+--- emacs-18.59-orig/src/ChangeLog
++++ emacs-18.59/src/ChangeLog
+@@ -1,3 +1,10 @@
++2010-03-11 Ulrich Mueller <ulm@gentoo.org>
++
++ * Makefile (xmakefile): Call C preprocessor with -P option,
++ in order to fix building with GNU CPP 4.5.
++ http://bugs.gentoo.org/308653
++ http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41748
++
+ 2008-10-21 Ulrich Mueller <ulm@gentoo.org>
+
+ * emacs.c: Handle gap between end of BSS and heap, backported
--- emacs-18.59-orig/src/Makefile
+++ emacs-18.59/src/Makefile
@@ -33,7 +33,7 @@
diff --git a/emacs/18.59/08_all_ldflags.patch b/emacs/18.59/08_all_ldflags.patch
index ec31394..db07fab 100644
--- a/emacs/18.59/08_all_ldflags.patch
+++ b/emacs/18.59/08_all_ldflags.patch
@@ -1,5 +1,13 @@
-Respect LDFLAGS when building programs in etc.
-
+--- emacs-18.59-orig/etc/ChangeLog
++++ emacs-18.59/etc/ChangeLog
+@@ -1,3 +1,7 @@
++2011-12-19 Ulrich Mueller <ulm@gentoo.org>
++
++ * Makefile: Respect LDFLAGS.
++
+ 2009-05-29 Ulrich Mueller <ulm@gentoo.org>
+
+ * etags.c (etags_getline): Renamed from getline, fixes compilation
--- emacs-18.59-orig/etc/Makefile
+++ emacs-18.59/etc/Makefile
@@ -25,35 +25,35 @@
diff --git a/emacs/18.59/09_all_syswait.patch b/emacs/18.59/09_all_syswait.patch
index 0f55500..111895f 100644
--- a/emacs/18.59/09_all_syswait.patch
+++ b/emacs/18.59/09_all_syswait.patch
@@ -1,6 +1,15 @@
-Include sys/wait.h if available.
-Backported from Emacs 21.4.
-
+--- emacs-18.59-orig/src/ChangeLog
++++ emacs-18.59/src/ChangeLog
+@@ -1,3 +1,9 @@
++2011-12-24 Ulrich Mueller <ulm@gentoo.org>
++
++ * process.c: Include sys/wait.h if available.
++ Backported from Emacs 21.4.
++ * s-linux.h (HAVE_SYS_WAIT_H): Define.
++
+ 2010-03-11 Ulrich Mueller <ulm@gentoo.org>
+
+ * Makefile (xmakefile): Call C preprocessor with -P option,
--- emacs-18.59-orig/src/process.c
+++ emacs-18.59/src/process.c
@@ -138,55 +138,37 @@
diff --git a/emacs/18.59/10_all_x32.patch b/emacs/18.59/10_all_x32.patch
index 68062ef..2d8268c 100644
--- a/emacs/18.59/10_all_x32.patch
+++ b/emacs/18.59/10_all_x32.patch
@@ -1,5 +1,38 @@
-Support x32 ABI on x86_64.
-
+--- emacs-18.59-orig/src/ChangeLog
++++ emacs-18.59/src/ChangeLog
+@@ -1,3 +1,8 @@
++2012-06-28 Ulrich Mueller <ulm@gentoo.org>
++
++ Support x32 ABI on x86_64 architecture.
++ * m-x86-x32.h: New file.
++
+ 2011-12-24 Ulrich Mueller <ulm@gentoo.org>
+
+ * process.c: Include sys/wait.h if available.
+--- emacs-18.59-orig/src/m-x86-x32.h
++++ emacs-18.59/src/m-x86-x32.h
+@@ -0,0 +1,9 @@
++/* m- file for x32 ABI on x86_64. */
++
++#include "m-intel386.h"
++
++#define NO_ARG_ARRAY
++
++#undef ULIMIT_BREAK_VALUE
++#undef DATA_SEG_BITS
++#undef SEGMENT_MASK
+--- emacs-18.59-orig/etc/ChangeLog
++++ emacs-18.59/etc/ChangeLog
+@@ -1,3 +1,9 @@
++2012-06-28 Ulrich Mueller <ulm@gentoo.org>
++
++ * fakemail.c (make_file_preface): time(2) returns a value of
++ type time_t. Declare variable accordingly.
++ * wakeup.c (main): Ditto.
++
+ 2011-12-19 Ulrich Mueller <ulm@gentoo.org>
+
+ * Makefile: Respect LDFLAGS.
--- emacs-18.59-orig/etc/fakemail.c
+++ emacs-18.59/etc/fakemail.c
@@ -272,7 +272,7 @@
@@ -22,15 +55,3 @@ Support x32 ABI on x86_64.
struct tm *tp;
if (argc > 1)
---- emacs-18.59-orig/src/m-x86-x32.h
-+++ emacs-18.59/src/m-x86-x32.h
-@@ -0,0 +1,9 @@
-+/* m- file for x32 ABI on x86_64. */
-+
-+#include "m-intel386.h"
-+
-+#define NO_ARG_ARRAY
-+
-+#undef ULIMIT_BREAK_VALUE
-+#undef DATA_SEG_BITS
-+#undef SEGMENT_MASK
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] proj/emacs-tools:patchsets commit in: emacs/18.59/
@ 2015-12-20 20:29 Ulrich Müller
0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Müller @ 2015-12-20 20:29 UTC (permalink / raw
To: gentoo-commits
commit: 2ad01f6e3a8f8c13813f373706355a9f24a499d7
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 20 19:13:23 2015 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sun Dec 20 19:13:23 2015 +0000
URL: https://gitweb.gentoo.org/proj/emacs-tools.git/commit/?id=2ad01f6e
Include changes for GCC 5 in Emacs 18.59 patchset.
emacs/18.59/11_all_gcc-warnings.patch | 94 +++++++++++++++++++++++++++++++++++
emacs/18.59/12_all_etc-cflags.patch | 21 ++++++++
emacs/18.59/13_all_malloc.patch | 27 ++++++++++
3 files changed, 142 insertions(+)
diff --git a/emacs/18.59/11_all_gcc-warnings.patch b/emacs/18.59/11_all_gcc-warnings.patch
new file mode 100644
index 0000000..c950304
--- /dev/null
+++ b/emacs/18.59/11_all_gcc-warnings.patch
@@ -0,0 +1,94 @@
+--- emacs-18.59-orig/src/ChangeLog
++++ emacs-18.59/src/ChangeLog
+@@ -1,3 +1,11 @@
++2015-12-19 Ulrich Mueller <ulm@gentoo.org>
++
++ Fix a couple of compiler warnings.
++ * buffer.c (init_buffer): Use getcwd(3) instead of getwd(3).
++ * callproc.c (Fcall_process): Check for errors of pipe(2).
++ (child_setup): Check for errors of chdir(2).
++ * process.c (sigchld_handler): Add type cast.
++
+ 2012-06-28 Ulrich Mueller <ulm@gentoo.org>
+
+ Support x32 ABI on x86_64 architecture.
+--- emacs-18.59-orig/src/buffer.c
++++ emacs-18.59/src/buffer.c
+@@ -1131,8 +1131,8 @@
+ char buf[MAXPATHLEN+1];
+
+ Fset_buffer (Fget_buffer_create (build_string ("*scratch*")));
+- if (getwd (buf) == 0)
+- fatal ("`getwd' failed: %s.\n", buf);
++ if (getcwd (buf, MAXPATHLEN+1) == 0)
++ fatal ("`getcwd' failed: %s.\n", buf);
+
+ #ifndef VMS
+ /* Maybe this should really use some standard subroutine
+--- emacs-18.59-orig/src/callproc.c
++++ emacs-18.59/src/callproc.c
+@@ -184,7 +184,10 @@
+ #endif /* not VMS */
+ else
+ {
+- pipe (fd);
++ if (pipe (fd) < 0) {
++ close (filefd);
++ report_file_error ("Creating pipe", Qnil);
++ }
+ #if 0
+ /* Replaced by close_process_descs */
+ set_exclusive_use (fd[0]);
+@@ -362,7 +365,8 @@
+ bcopy (XSTRING (current_buffer->directory)->data, temp, i);
+ if (temp[i - 1] != '/') temp[i++] = '/';
+ temp[i] = 0;
+- chdir (temp);
++ if (chdir (temp) < 0)
++ _exit (1);
+ }
+
+ #ifndef MAINTAIN_ENVIRONMENT
+--- emacs-18.59-orig/src/process.c
++++ emacs-18.59/src/process.c
+@@ -2517,7 +2517,7 @@
+ if (WIFEXITED (w))
+ synch_process_retcode = WRETCODE (w);
+ else if (WIFSIGNALED (w))
+- synch_process_death = sys_siglist[WTERMSIG (w)];
++ synch_process_death = (char *) sys_siglist[WTERMSIG (w)];
+ }
+
+ /* On some systems, we must return right away.
+--- emacs-18.59-orig/etc/ChangeLog
++++ emacs-18.59/etc/ChangeLog
+@@ -1,3 +1,7 @@
++2015-12-19 Ulrich Mueller <ulm@gentoo.org>
++
++ * etags.c (main): Check for errors of system(3).
++
+ 2012-06-28 Ulrich Mueller <ulm@gentoo.org>
+
+ * fakemail.c (make_file_preface): time(2) returns a value of
+--- emacs-18.59-orig/etc/etags.c
++++ emacs-18.59/etc/etags.c
+@@ -342,7 +342,8 @@
+ sprintf(cmd,
+ "mv %s OTAGS;fgrep -v '\t%s\t' OTAGS >%s;rm OTAGS",
+ outfile, av[i], outfile);
+- system(cmd);
++ if (system(cmd) != 0)
++ fatal ("%s", "failed to execute shell command");
+ }
+ aflag++;
+ }
+@@ -359,7 +360,8 @@
+ if (uflag)
+ {
+ sprintf(cmd, "sort %s -o %s", outfile, outfile);
+- system(cmd);
++ if (system(cmd) != 0)
++ fatal ("%s", "failed to execute shell command");
+ }
+ #endif
+ exit(GOOD);
diff --git a/emacs/18.59/12_all_etc-cflags.patch b/emacs/18.59/12_all_etc-cflags.patch
new file mode 100644
index 0000000..46e8f62
--- /dev/null
+++ b/emacs/18.59/12_all_etc-cflags.patch
@@ -0,0 +1,21 @@
+--- emacs-18.59-orig/etc/ChangeLog
++++ emacs-18.59/etc/ChangeLog
+@@ -1,3 +1,7 @@
++2015-12-20 Ulrich Mueller <ulm@gentoo.org>
++
++ * Makefile (test-distrib): Respect CFLAGS and LDFLAGS.
++
+ 2015-12-19 Ulrich Mueller <ulm@gentoo.org>
+
+ * etags.c (main): Check for errors of system(3).
+--- emacs-18.59-orig/etc/Makefile
++++ emacs-18.59/etc/Makefile
+@@ -21,7 +21,7 @@
+ # whatever means were used to copy and distribute Emacs.
+ # If they were clobbered, all the .elc files were clobbered too.
+ test-distrib: test-distrib.c
+- $(CC) -o test-distrib test-distrib.c
++ $(CC) -o test-distrib ${CFLAGS} ${LDFLAGS} test-distrib.c
+ ./test-distrib
+
+ etags: etags.c
diff --git a/emacs/18.59/13_all_malloc.patch b/emacs/18.59/13_all_malloc.patch
new file mode 100644
index 0000000..80756f9
--- /dev/null
+++ b/emacs/18.59/13_all_malloc.patch
@@ -0,0 +1,27 @@
+--- emacs-18.59-orig/src/ChangeLog
++++ emacs-18.59/src/ChangeLog
+@@ -1,3 +1,8 @@
++2015-12-20 Ulrich Mueller <ulm@gentoo.org>
++
++ * s-linux.h (SYSTEM_MALLOC): Define. Fixes hanging at runtime
++ when compiled with GCC 5.3.
++
+ 2015-12-19 Ulrich Mueller <ulm@gentoo.org>
+
+ Fix a couple of compiler warnings.
+--- emacs-18.59-orig/src/s-linux.h
++++ emacs-18.59/src/s-linux.h
+@@ -218,13 +218,7 @@
+ performed in x11term.c (x_init_1). */
+ #define SYSV_STREAMS
+
+-/* note: system malloc does not work with shared libs
+- This was reported with earlier versions of linux (libc 4).
+- Still true?
+- */
+-#if 0 /* choose for yourself */
+ #define SYSTEM_MALLOC /* produces smaller binary */
+-#endif
+
+ /* misc. kludges for linux */
+ #if !(defined (__GLIBC__) && (__GLIBC__ >= 2))
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-12-20 20:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-06 19:09 [gentoo-commits] proj/emacs-tools:patchsets commit in: emacs/18.59/ Ulrich Mueller
-- strict thread matches above, loose matches on Subject: below --
2015-12-20 20:29 Ulrich Müller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox