summaryrefslogtreecommitdiff
path: root/graphics/ocrad
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/ocrad')
-rw-r--r--graphics/ocrad/distinfo3
-rw-r--r--graphics/ocrad/patches/patch-ab15
2 files changed, 17 insertions, 1 deletions
diff --git a/graphics/ocrad/distinfo b/graphics/ocrad/distinfo
index c89c86e0d2e..cccca320a1d 100644
--- a/graphics/ocrad/distinfo
+++ b/graphics/ocrad/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1.1.1 2005/10/16 20:17:49 wiz Exp $
+$NetBSD: distinfo,v 1.2 2007/01/17 14:45:07 rillig Exp $
SHA1 (ocrad-0.13.tar.bz2) = 24a42271e31531099e76bb6b1f9870029f88b35f
RMD160 (ocrad-0.13.tar.bz2) = c16f64d725bcfb90d7e387701c7b6d43189313d1
Size (ocrad-0.13.tar.bz2) = 66654 bytes
SHA1 (patch-aa) = 723d0568f45a33ce3bb39c889119713f9ed6d39e
+SHA1 (patch-ab) = aeff41ca700419190a2d9d4fa680b9e8086dc8b7
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));