pkgsrc/devel/valide/patches/patch-aa
ahoka 3d881b5a18 Import valide-0.4.0 as devel/valide.
Val(a)IDE is an Integrated Development Environment (IDE) for the
Vala programming language.

Features:

    * Syntax highlighting for Vala
    * Project compilation
    * Plugins:
          o Symbols browser
          o Tasks manager
2009-03-21 18:06:16 +00:00

23 lines
659 B
Text

$NetBSD: patch-aa,v 1.1.1.1 2009/03/21 18:06:16 ahoka Exp $
--- ctags/general.h.orig 2009-03-08 14:10:01.000000000 +0100
+++ ctags/general.h
@@ -32,16 +32,8 @@
# define HAVE_REGEX 1
#endif
-/* This is a helpful internal feature of later versions (> 2.7) of GCC
- * to prevent warnings about unused variables.
- */
-#if (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7)) && !defined (__GNUG__)
-# define __unused__ __attribute__((unused))
-# define __printf__(s,f) __attribute__((format (printf, s, f)))
-#else
-# define __unused__
-# define __printf__(s,f)
-#endif
+#define __unused__
+#define __printf__(s,f)
/*
* Portability macros