diff options
author | ashish <ashish@FreeBSD.org> | 2013-09-23 16:46:16 +0800 |
---|---|---|
committer | ashish <ashish@FreeBSD.org> | 2013-09-23 16:46:16 +0800 |
commit | 62050e38f14b12b9fd06698753c4e0b4ced67a6d (patch) | |
tree | 9fc4c1a90248177f328ccc600d42d382e62f6406 /editors | |
parent | b563142a799def804d1bc36348d18b23cf9f5ed5 (diff) | |
download | freebsd-ports-graphics-62050e38f14b12b9fd06698753c4e0b4ced67a6d.tar.gz freebsd-ports-graphics-62050e38f14b12b9fd06698753c4e0b4ced67a6d.tar.zst freebsd-ports-graphics-62050e38f14b12b9fd06698753c4e0b4ced67a6d.zip |
- Add patches to for port to build on clang platform (missed from previous
commit)
Diffstat (limited to 'editors')
-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 00000000000..22fc3cf166f --- /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 00000000000..fdee19b3c4d --- /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 00000000000..7c312272cf5 --- /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 00000000000..a19687e9272 --- /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; + { |