summaryrefslogtreecommitdiff
path: root/graphics/ocrad/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/ocrad/patches/patch-ab')
-rw-r--r--graphics/ocrad/patches/patch-ab15
1 files changed, 15 insertions, 0 deletions
diff --git a/graphics/ocrad/patches/patch-ab b/graphics/ocrad/patches/patch-ab
new file mode 100644
index 00000000000..e70b2b665c3
--- /dev/null
+++ b/graphics/ocrad/patches/patch-ab
@@ -0,0 +1,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));