pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/ocrad Added a patch for non-GNU compilers.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7112d93e5fce
branches:  trunk
changeset: 524042:7112d93e5fce
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Wed Jan 17 14:45:07 2007 +0000

description:
Added a patch for non-GNU compilers.

diffstat:

 graphics/ocrad/distinfo         |   3 ++-
 graphics/ocrad/patches/patch-ab |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r aeecf524e30f -r 7112d93e5fce graphics/ocrad/distinfo
--- a/graphics/ocrad/distinfo   Wed Jan 17 14:33:45 2007 +0000
+++ b/graphics/ocrad/distinfo   Wed Jan 17 14:45:07 2007 +0000
@@ -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 -r aeecf524e30f -r 7112d93e5fce graphics/ocrad/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/ocrad/patches/patch-ab   Wed Jan 17 14:45:07 2007 +0000
@@ -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));



Home | Main Index | Thread Index | Old Index