pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/editors/mule Make this build (i.e. dump with -batch et...
details: https://anonhg.NetBSD.org/pkgsrc/rev/389a29fa843a
branches: trunk
changeset: 362167:389a29fa843a
user: tsutsui <tsutsui%pkgsrc.org@localhost>
date: Sun May 07 06:49:23 2017 +0000
description:
Make this build (i.e. dump with -batch etc. work) on NetBSD/amd64 7.1.
Bump PKGREVISION to denote changes.
`emacs -nw' gets a startup window, but emacs (with Xt) still dumps core.
XXX: maybe much more prototypes are neccesary for LONG_LISP_OBJECT and
XXX: VALBITS>=32 on LP64.
diffstat:
editors/mule/Makefile | 4 +-
editors/mule/distinfo | 16 +++++++-------
editors/mule/patches/patch-aa | 18 ++++++++++------
editors/mule/patches/patch-ak | 22 +++++++++++++------
editors/mule/patches/patch-bz | 14 ++++++++++-
editors/mule/patches/patch-cb | 16 ++++++++++---
editors/mule/patches/patch-src_alloc_c | 15 ++++++++++++-
editors/mule/patches/patch-src_charset_c | 35 +++++++++++++++++++++++++++++--
editors/mule/patches/patch-src_m_amd64.h | 11 +++++++--
9 files changed, 114 insertions(+), 37 deletions(-)
diffs (truncated from 371 to 300 lines):
diff -r 7a46bc1c7e06 -r 389a29fa843a editors/mule/Makefile
--- a/editors/mule/Makefile Sun May 07 04:52:43 2017 +0000
+++ b/editors/mule/Makefile Sun May 07 06:49:23 2017 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.53 2017/05/07 04:52:43 tsutsui Exp $
+# $NetBSD: Makefile,v 1.54 2017/05/07 06:49:23 tsutsui Exp $
DISTNAME= mule-2.3
-PKGREVISION= 8
+PKGREVISION= 9
CATEGORIES= editors
MASTER_SITES= ftp://ftp.m17n.org/pub/mule/
diff -r 7a46bc1c7e06 -r 389a29fa843a editors/mule/distinfo
--- a/editors/mule/distinfo Sun May 07 04:52:43 2017 +0000
+++ b/editors/mule/distinfo Sun May 07 06:49:23 2017 +0000
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.15 2017/04/29 01:11:55 tsutsui Exp $
+$NetBSD: distinfo,v 1.16 2017/05/07 06:49:23 tsutsui Exp $
SHA1 (mule-2.3.tar.gz) = 52737767955caf2fde34b994f367a89c5d8a045f
RMD160 (mule-2.3.tar.gz) = 52b93e746a7a796549a44104ab1898954df044bf
SHA512 (mule-2.3.tar.gz) = 5f6a9047e6c9d752787d6cab3573516c6efd65cd901fbab74d314a5967e6c68b2dc7c2aa7454d8588d421553530c87dd3ee9692d523d818e01739580cb1201fd
Size (mule-2.3.tar.gz) = 10240256 bytes
-SHA1 (patch-aa) = 1bae7875584cdc6a26d02481713d6fe774374ad8
+SHA1 (patch-aa) = 0bfb3e5ed5596ac40fb0de6c579a1617b9e2f7b0
SHA1 (patch-ab) = edad8003d994d4418b0effe93d0cce4e807d96fe
SHA1 (patch-ac) = 170fa4f6c17c805dd32a90e8bfb3e38c48a9fc20
SHA1 (patch-ad) = 7a52802cd614441320221f450cf97d4e30f40f2b
@@ -14,7 +14,7 @@
SHA1 (patch-ah) = 4aa61507d90ead8326962180cf75ff88d8fac868
SHA1 (patch-ai) = b3504a83bc51b3712e016f5b3efe9155fcaffa4b
SHA1 (patch-aj) = c240cbff3da3ca33663fc2e1d04a3c60c84b4d70
-SHA1 (patch-ak) = 6e020d64fb7d8e76d7bb0772c97f59f179ae31e3
+SHA1 (patch-ak) = 159c211d383c3a25b8772daa3a15019517290ab0
SHA1 (patch-al) = c5e2542651c795a57864811c7019a65f4d991247
SHA1 (patch-am) = 336e2dfa617866265948f6d749ee5325b26714ee
SHA1 (patch-an) = 9221c9747c7cf600e9915f8428178d33a55d180b
@@ -55,9 +55,9 @@
SHA1 (patch-bw) = 460728484379cc4325f7b1836cec9a4b3b25e46a
SHA1 (patch-bx) = 29a53c87e4038ec02ae1710314d36cf58f58855f
SHA1 (patch-by) = 2b1c42e36d5217208fcc83bb0464c09bc38db933
-SHA1 (patch-bz) = e48f13d6194976f8f4174257a06c300a959c9ac7
+SHA1 (patch-bz) = b8030f68f36781583a9eae4a66e3d5e0062f6169
SHA1 (patch-ca) = a98c0d794427e858c6232283f50598d0c55c3f16
-SHA1 (patch-cb) = 4b60c6a54e3e3e20891ef65e3f2d353e64773373
+SHA1 (patch-cb) = 775c85bceb8aff3248becb22cacad40d398fa925
SHA1 (patch-cc) = b85f9888f51d3cdab13a80b20e083e2cfaac85d2
SHA1 (patch-cd) = b34643821a844ef828dbf4e6d9af53c501ac08d3
SHA1 (patch-ce) = d7a0a72c37c2f0e0b34d900da084a776e522754c
@@ -75,13 +75,13 @@
SHA1 (patch-lib-src_sorted-doc_c) = 9965f6a6722c2735dfc609a7a15c669f3df8fae4
SHA1 (patch-lib-src_yow_c) = 38fb3e70395525ce8bb4816acd1b9e64c20f3735
SHA1 (patch-src_abbrev_c) = c8dc21ca974625b8fe20e96bea37c61f709fbc1a
-SHA1 (patch-src_alloc_c) = aaa4315c2487e3b32deb13940609fbcf4b895bce
+SHA1 (patch-src_alloc_c) = 558b195cccab24828cc1ce4d1f8f9c7f31eb6ddc
SHA1 (patch-src_buffer_h) = 3d2d0dba98a37265cc4df54bd14b6b51941d9c42
SHA1 (patch-src_bytecode_c) = 93508ddb17e3ba2c7bb921caf85ce1e4e15791f3
SHA1 (patch-src_callint_c) = 0b44807e049c12d2625c950efb14fd5409aba058
SHA1 (patch-src_canna.c) = 77ae8d4f000d6d46f04ff03ef4c06e12635dd566
SHA1 (patch-src_casefiddle.c) = e81ca135224a962ce369c0cdb2e3e4476d5b1d4d
-SHA1 (patch-src_charset_c) = 0ccabcbc2f752ec40c05c3f2dd7da342d2c1173e
+SHA1 (patch-src_charset_c) = 1d567b4867ff6553aca7abc7100964066bda0180
SHA1 (patch-src_cm.c) = 4c0789eefb23909cec1c6d710a24814f9db5be5d
SHA1 (patch-src_cm.h) = ab0e053d24fc23b0a589954dfe89dd70aab4cb41
SHA1 (patch-src_data.c) = 86909ed980ff73841a0500dba5080e10d63a3c93
@@ -94,7 +94,7 @@
SHA1 (patch-src_insdel.c) = 75aca770fd35ac99d258ee1c4392a0f7119150c9
SHA1 (patch-src_keyboard.h) = 4729c97d1d80b93f387ad3187d7d8260d504ab24
SHA1 (patch-src_keymap_c) = dd0201aca4c50c249d2412998f9fd5249c34d58c
-SHA1 (patch-src_m_amd64.h) = eadba5e4bc5f4e8351208f52d5130e6919cb480b
+SHA1 (patch-src_m_amd64.h) = 91c497b3a1d51275b36d6f9c03c9f852c9235823
SHA1 (patch-src_macros_c) = c26d867719a2c87aa0e1a9586a6043751d6d0e7d
SHA1 (patch-src_marker.c) = 7c013ec210071d6c84d6c6d955186aa882aeaaf3
SHA1 (patch-src_mcpath_c) = 6f2fb95a1b77d2bacd50e3361d31d2b8c45df002
diff -r 7a46bc1c7e06 -r 389a29fa843a editors/mule/patches/patch-aa
--- a/editors/mule/patches/patch-aa Sun May 07 04:52:43 2017 +0000
+++ b/editors/mule/patches/patch-aa Sun May 07 06:49:23 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.3 2017/04/29 01:11:55 tsutsui Exp $
+$NetBSD: patch-aa,v 1.4 2017/05/07 06:49:23 tsutsui Exp $
--- src/s/netbsd.h.orig 1995-10-12 10:53:15.000000000 +0000
+++ src/s/netbsd.h
@@ -38,7 +38,7 @@
/* These definitions should work for either dynamic or static linking,
whichever is the default for `cc -nostdlib'. */
#define HAVE_TEXT_START /* No need to define `start_of_text'. */
-@@ -54,14 +61,34 @@
+@@ -54,14 +61,40 @@
#define N_BSSADDR(x) (N_ALIGN(x, N_DATADDR(x)+x.a_data))
#define N_TRELOFF(x) N_RELOFF(x)
#endif
@@ -50,11 +50,7 @@
#define HAVE_WAIT_HEADER
+#define WAIT_USE_INT
-
--/* 94.7.29 by T.Sakakibara <tomo%axis.co.jp@localhost> */
--#ifdef emacs
--#include <sys/types.h>
--#endif
++
+#define NO_MATHERR
+
+#define AMPERSAND_FULL_NAME
@@ -81,3 +77,11 @@
+ this problem, and will also work on earlier NetBSD releases */
+
+#define LINKER $(CC) -nostartfiles
+
+-/* 94.7.29 by T.Sakakibara <tomo%axis.co.jp@localhost> */
+ #ifdef emacs
+-#include <sys/types.h>
++#include <strings.h>
++#include <stdlib.h>
++#include <unistd.h>
+ #endif
diff -r 7a46bc1c7e06 -r 389a29fa843a editors/mule/patches/patch-ak
--- a/editors/mule/patches/patch-ak Sun May 07 04:52:43 2017 +0000
+++ b/editors/mule/patches/patch-ak Sun May 07 06:49:23 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-ak,v 1.5 2013/04/21 15:39:59 joerg Exp $
+$NetBSD: patch-ak,v 1.6 2017/05/07 06:49:23 tsutsui Exp $
- use standard headers
- don't declare own errno
@@ -14,7 +14,15 @@
#undef NULL
#include "termchar.h"
#include "termopts.h"
-@@ -100,8 +101,6 @@ the Free Software Foundation, 675 Mass A
+@@ -63,6 +64,7 @@ the Free Software Foundation, 675 Mass A
+ #include "termhooks.h"
+ #endif
+ #include "macros.h"
++#include "process.h"
+ #include "frame.h"
+ #include "window.h"
+ #include "commands.h"
+@@ -100,8 +102,6 @@ the Free Software Foundation, 675 Mass A
/* Include systime.h after xterm.h to avoid double inclusion of time.h. */
#include "systime.h"
@@ -23,7 +31,7 @@
/* Variables for blockinput.h: */
/* Non-zero if interrupt input is blocked right now. */
-@@ -301,7 +300,7 @@ Lisp_Object Vlast_event_frame;
+@@ -301,7 +301,7 @@ Lisp_Object Vlast_event_frame;
/* The timestamp of the last input event we received from the X server.
X Windows wants this for selection ownership. */
@@ -32,7 +40,7 @@
Lisp_Object Qself_insert_command;
Lisp_Object Qforward_char;
-@@ -582,8 +581,7 @@ echo_prompt (str)
+@@ -582,8 +582,7 @@ echo_prompt (str)
C can be a character, which is printed prettily ("M-C-x" and all that
jazz), or a symbol, whose name is printed. */
@@ -42,7 +50,7 @@
{
extern char *push_key_description ();
-@@ -629,7 +627,7 @@ echo_char (c)
+@@ -629,7 +628,7 @@ echo_char (c)
/* Temporarily add a dash to the end of the echo string if it's not
empty, so that it serves as a mini-prompt for the very next character. */
@@ -51,7 +59,7 @@
{
if (!immediate_echo && echoptr == echobuf)
return;
-@@ -3570,7 +3568,7 @@ gobble_input (expected)
+@@ -3570,7 +3569,7 @@ gobble_input (expected)
/* Put a buffer_switch_event in the buffer
so that read_key_sequence will notice the new current buffer. */
@@ -60,7 +68,7 @@
{
struct input_event event;
Lisp_Object tem;
-@@ -5633,7 +5631,6 @@ On such systems, Emacs starts a subshell
+@@ -5633,7 +5632,6 @@ On such systems, Emacs starts a subshell
int old_height, old_width;
int width, height;
struct gcpro gcpro1, gcpro2;
diff -r 7a46bc1c7e06 -r 389a29fa843a editors/mule/patches/patch-bz
--- a/editors/mule/patches/patch-bz Sun May 07 04:52:43 2017 +0000
+++ b/editors/mule/patches/patch-bz Sun May 07 06:49:23 2017 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-bz,v 1.1 2006/01/04 20:35:08 joerg Exp $
+$NetBSD: patch-bz,v 1.2 2017/05/07 06:49:23 tsutsui Exp $
---- lib-src/emacsclient.c.orig 2006-01-04 17:44:54.000000000 +0000
+--- lib-src/emacsclient.c.orig 1994-07-27 17:57:35.000000000 +0000
+++ lib-src/emacsclient.c
@@ -53,7 +53,6 @@ main (argc, argv)
#include <errno.h>
@@ -10,3 +10,13 @@
main (argc, argv)
int argc;
+@@ -66,9 +65,6 @@ main (argc, argv)
+ char *homedir, *cwd, *str;
+ char string[BUFSIZ];
+
+- char *getenv (), *getwd ();
+- int geteuid ();
+-
+ if (argc < 2)
+ {
+ fprintf (stderr, "Usage: %s [+linenumber] filename\n", argv[0]);
diff -r 7a46bc1c7e06 -r 389a29fa843a editors/mule/patches/patch-cb
--- a/editors/mule/patches/patch-cb Sun May 07 04:52:43 2017 +0000
+++ b/editors/mule/patches/patch-cb Sun May 07 06:49:23 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-cb,v 1.3 2013/04/21 15:39:59 joerg Exp $
+$NetBSD: patch-cb,v 1.4 2017/05/07 06:49:23 tsutsui Exp $
- use standard headers
- don't declare own errno
@@ -14,7 +14,15 @@
#include "lisp.h"
#include "termchar.h"
-@@ -2047,7 +2049,6 @@ SIGTYPE
+@@ -71,6 +73,7 @@ the Free Software Foundation, 675 Mass A
+ #include "dispextern.h"
+ #endif
+ #include "buffer.h"
++#include "process.h"
+ #include "frame.h"
+ #include "window.h"
+ #include "commands.h"
+@@ -2047,7 +2050,6 @@ SIGTYPE
window_change_signal ()
{
int width, height;
@@ -22,7 +30,7 @@
int old_errno = errno;
get_frame_size (&width, &height);
-@@ -2111,9 +2112,7 @@ do_pending_window_change ()
+@@ -2111,9 +2113,7 @@ do_pending_window_change ()
redisplay. Since this tries to resize windows, we can't call it
from a signal handler. */
@@ -33,7 +41,7 @@
{
/* If we can't deal with the change now, queue it for later. */
if (delay)
-@@ -2451,7 +2450,7 @@ char *terminal_type;
+@@ -2451,7 +2451,7 @@ char *terminal_type;
/* Then invoke its decoding routine to set up variables
in the terminal package */
diff -r 7a46bc1c7e06 -r 389a29fa843a editors/mule/patches/patch-src_alloc_c
--- a/editors/mule/patches/patch-src_alloc_c Sun May 07 04:52:43 2017 +0000
+++ b/editors/mule/patches/patch-src_alloc_c Sun May 07 06:49:23 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-src_alloc_c,v 1.3 2017/04/29 01:11:55 tsutsui Exp $
+$NetBSD: patch-src_alloc_c,v 1.4 2017/05/07 06:49:23 tsutsui Exp $
- use standard includes
@@ -12,3 +12,16 @@
#include <config.h>
#include "lisp.h"
+@@ -128,9 +129,11 @@ int stack_copy_size;
+ /* Non-zero means ignore malloc warnings. Set during initialization. */
+ int ignore_warnings;
+
+-static void mark_object (), mark_buffer ();
++static void mark_object (Lisp_Object *), mark_buffer (Lisp_Object);
++static void mark_interval (INTERVAL, Lisp_Object);
+ static void clear_marks (), gc_sweep ();
+ static void compact_strings ();
++Lisp_Object make_pure_vector (int);
+
+ /* Versions of malloc and realloc that print warnings as memory gets full. */
+
diff -r 7a46bc1c7e06 -r 389a29fa843a editors/mule/patches/patch-src_charset_c
--- a/editors/mule/patches/patch-src_charset_c Sun May 07 04:52:43 2017 +0000
+++ b/editors/mule/patches/patch-src_charset_c Sun May 07 06:49:23 2017 +0000
@@ -1,10 +1,16 @@
-$NetBSD: patch-src_charset_c,v 1.1 2011/12/24 17:07:07 dholland Exp $
+$NetBSD: patch-src_charset_c,v 1.2 2017/05/07 06:49:23 tsutsui Exp $
- use standard headers
---- src/charset.c~ 1995-07-18 11:35:56.000000000 +0000
+--- src/charset.c.orig 1995-07-18 11:35:56.000000000 +0000
+++ src/charset.c
-@@ -73,6 +73,7 @@ the Free Software Foundation, 675 Mass A
+@@ -68,11 +68,13 @@ the Free Software Foundation, 675 Mass A
+ Bug in charwidth() fixed. */
Home |
Main Index |
Thread Index |
Old Index