svn commit: r327953 - head/editors/emacs21/files

Ashish SHUKLA ashish at FreeBSD.org
Mon Sep 23 08:46:17 UTC 2013


Author: ashish
Date: Mon Sep 23 08:46:16 2013
New Revision: 327953
URL: http://svnweb.freebsd.org/changeset/ports/327953

Log:
  - Add patches to for port to build on clang platform (missed from previous
    commit)

Added:
  head/editors/emacs21/files/patch-oldXMenu_XDelAssoc.c   (contents, props changed)
  head/editors/emacs21/files/patch-oldXMenu_XMakeAssoc.c   (contents, props changed)
  head/editors/emacs21/files/patch-src_dispnew.c   (contents, props changed)
  head/editors/emacs21/files/patch-src_syntax.c   (contents, props changed)

Added: head/editors/emacs21/files/patch-oldXMenu_XDelAssoc.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/editors/emacs21/files/patch-oldXMenu_XDelAssoc.c	Mon Sep 23 08:46:16 2013	(r327953)
@@ -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;

Added: head/editors/emacs21/files/patch-oldXMenu_XMakeAssoc.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/editors/emacs21/files/patch-oldXMenu_XMakeAssoc.c	Mon Sep 23 08:46:16 2013	(r327953)
@@ -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;

Added: head/editors/emacs21/files/patch-src_dispnew.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/editors/emacs21/files/patch-src_dispnew.c	Mon Sep 23 08:46:16 2013	(r327953)
@@ -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;
+ {

Added: head/editors/emacs21/files/patch-src_syntax.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/editors/emacs21/files/patch-src_syntax.c	Mon Sep 23 08:46:16 2013	(r327953)
@@ -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;
+ {


More information about the svn-ports-all mailing list