openbsd-ports/editors/vim/patches/patch-src_vim_h
sthen ada52fd8f1 - update to more recent vim patchset, using a self-rolled distfile (with
a maintainer convenience target to allow this to be updated easily from
Mercurial) - this beats downloading 750+ individual patch files and
trying to force them to apply during the build (which is problematic
because some require GNU patch and some have problems even then...)

- clean up plists greatly.

- remove m68k gcc patch.

- add openbsd.vim for style(9) from gsoares@.

based on a diff from pirofti@, ok pirofti@ gsoares@
2013-03-16 22:56:44 +00:00

12 lines
373 B
Plaintext

$OpenBSD: patch-src_vim_h,v 1.3 2013/03/16 22:56:44 sthen Exp $
--- src/vim.h.orig Thu Mar 7 15:08:35 2013
+++ src/vim.h Thu Mar 7 15:25:57 2013
@@ -262,6 +262,7 @@
# include "os_beos.h"
# define __ARGS(x) x
#endif
+#define UNUSED __attribute__((unused))
#if (defined(UNIX) || defined(__EMX__) || defined(VMS)) \
&& (!defined(MACOS_X) || defined(HAVE_CONFIG_H))