summaryrefslogtreecommitdiff
path: root/graphics/ocrad/patches/patch-ab
blob: e70b2b665c31c53e0d1a6c2a00ca5e6221e06688 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ab,v 1.1 2007/01/17 14:45:07 rillig Exp $

--- common.h.orig	2005-10-03 19:47:31.000000000 +0200
+++ common.h	2007-01-17 15:42:09.612332416 +0100
@@ -16,6 +16,10 @@
     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 */
 
+#if !defined(__GNUC__) && !defined(__attribute__)
+#  define __attribute__(x) /**/
+#endif
+
 namespace Ocrad
   {
   void internal_error( const char * msg ) throw() __attribute__ ((noreturn));