components/vim/patches/si_id.patch
author Vladimir Marek <Vladimir.Marek@oracle.com>
Mon, 25 Jul 2016 13:45:37 +0200
changeset 6475 abfc9174d2f0
parent 5238 ac8017f29145
child 7049 e8d705cba87d
permissions -rw-r--r--
24006594 vim removes complex ACLs with backupcopy=yes

A change to sys/siginfo.h added a #define for si_id that breaks the vim
build.  This is a nasty hack to undo those effects, and should not go
upstream.  The right fix may be to get vim to stop using the "si_" prefix,
since that appears to be "reserved for the implementation", per the
OpenGroup specs.

--- src/syntax.c	Sat Aug 10 06:00:24 2013
+++ src/syntax.c	Wed Jan  6 10:34:12 2016
@@ -279,6 +279,7 @@
  * When si_m_endpos.lnum is 0, the items other than si_idx are unknown.
  * (The end positions have the column number of the next char)
  */
+#undef si_id
 typedef struct state_item
 {
     int		si_idx;			/* index of syntax pattern or