diff options
author | Ashish SHUKLA <ashish@FreeBSD.org> | 2013-09-23 08:46:16 +0000 |
---|---|---|
committer | Ashish SHUKLA <ashish@FreeBSD.org> | 2013-09-23 08:46:16 +0000 |
commit | 8136268ae576390e1410b1980046460b1990c65a (patch) | |
tree | 9fc4c1a90248177f328ccc600d42d382e62f6406 /editors/emacs21/files | |
parent | - Update to 0.29 (diff) |
- Add patches to for port to build on clang platform (missed from previous
commit)
Diffstat (limited to 'editors/emacs21/files')
-rw-r--r-- | editors/emacs21/files/patch-oldXMenu_XDelAssoc.c | 14 | ||||
-rw-r--r-- | editors/emacs21/files/patch-oldXMenu_XMakeAssoc.c | 14 | ||||
-rw-r--r-- | editors/emacs21/files/patch-src_dispnew.c | 14 | ||||
-rw-r--r-- | editors/emacs21/files/patch-src_syntax.c | 23 |
4 files changed, 65 insertions, 0 deletions
diff --git a/editors/emacs21/files/patch-oldXMenu_XDelAssoc.c b/editors/emacs21/files/patch-oldXMenu_XDelAssoc.c new file mode 100644 index 000000000000..22fc3cf166fb --- /dev/null +++ b/editors/emacs21/files/patch-oldXMenu_XDelAssoc.c @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- oldXMenu/XDelAssoc.c.orig ++++ oldXMenu/XDelAssoc.c +@@ -27,7 +27,7 @@ + * an XId. An association may be removed only once. Redundant + * deletes are meaningless (but cause no problems). + */ +-XDeleteAssoc(dpy, table, x_id) ++void XDeleteAssoc(dpy, table, x_id) + register Display *dpy; + register XAssocTable *table; + register XID x_id; diff --git a/editors/emacs21/files/patch-oldXMenu_XMakeAssoc.c b/editors/emacs21/files/patch-oldXMenu_XMakeAssoc.c new file mode 100644 index 000000000000..fdee19b3c4dc --- /dev/null +++ b/editors/emacs21/files/patch-oldXMenu_XMakeAssoc.c @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- oldXMenu/XMakeAssoc.c.orig ++++ oldXMenu/XMakeAssoc.c +@@ -37,7 +37,7 @@ + * meaningless (but cause no problems). The queue in each association + * bucket is sorted (lowest XId to highest XId). + */ +-XMakeAssoc(dpy, table, x_id, data) ++void XMakeAssoc(dpy, table, x_id, data) + register Display *dpy; + register XAssocTable *table; + register XID x_id; diff --git a/editors/emacs21/files/patch-src_dispnew.c b/editors/emacs21/files/patch-src_dispnew.c new file mode 100644 index 000000000000..7c312272cf5f --- /dev/null +++ b/editors/emacs21/files/patch-src_dispnew.c @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- src/dispnew.c.orig ++++ src/dispnew.c +@@ -1256,7 +1256,7 @@ + /* Copy glyph row structure FROM to glyph row structure TO, except + that glyph pointers in the structures are left unchanged. */ + +-INLINE void ++static INLINE void + copy_row_except_pointers (to, from) + struct glyph_row *to, *from; + { diff --git a/editors/emacs21/files/patch-src_syntax.c b/editors/emacs21/files/patch-src_syntax.c new file mode 100644 index 000000000000..a19687e9272d --- /dev/null +++ b/editors/emacs21/files/patch-src_syntax.c @@ -0,0 +1,23 @@ + +$FreeBSD$ + +--- src/syntax.c.orig ++++ src/syntax.c +@@ -316,7 +316,7 @@ + /* Return the bytepos one character after BYTEPOS. + We assume that BYTEPOS is not at the end of the buffer. */ + +-INLINE int ++static INLINE int + inc_bytepos (bytepos) + int bytepos; + { +@@ -330,7 +330,7 @@ + /* Return the bytepos one character before BYTEPOS. + We assume that BYTEPOS is not at the start of the buffer. */ + +-INLINE int ++static INLINE int + dec_bytepos (bytepos) + int bytepos; + { |