pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/print/teTeX3-bin make sure teTeX3 compiles even if flo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f86a140487d0
branches:  trunk
changeset: 553464:f86a140487d0
user:      schwarz <schwarz%pkgsrc.org@localhost>
date:      Wed Jan 21 22:06:54 2009 +0000

description:
make sure teTeX3 compiles even if floor is defined by the OS (which is
the case on Mac OS 10.4 at least)

diffstat:

 print/teTeX3-bin/distinfo         |   3 ++-
 print/teTeX3-bin/patches/patch-ao |  14 ++++++++++++++
 2 files changed, 16 insertions(+), 1 deletions(-)

diffs (35 lines):

diff -r ffce4f505ca5 -r f86a140487d0 print/teTeX3-bin/distinfo
--- a/print/teTeX3-bin/distinfo Wed Jan 21 21:12:24 2009 +0000
+++ b/print/teTeX3-bin/distinfo Wed Jan 21 22:06:54 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.14 2009/01/20 23:56:58 sketch Exp $
+$NetBSD: distinfo,v 1.15 2009/01/21 22:06:54 schwarz Exp $
 
 SHA1 (teTeX/tetex-src-3.0.tar.gz) = 7637789f7f4929694aed1b89820f5bad4753e8fc
 RMD160 (teTeX/tetex-src-3.0.tar.gz) = 15a139f5f36993e4ed3583260e175cfb13ce7bcc
@@ -17,6 +17,7 @@
 SHA1 (patch-al) = e1fc74bd6ea05176dfac4e99958f0e1281b89b3b
 SHA1 (patch-am) = 54d86197eee3d4e15a6c9bad6ae16ef1e0299667
 SHA1 (patch-an) = a02db18a49f61f965e0277fbc5a3fa72a5060b47
+SHA1 (patch-ao) = 3aa5c8ac2eaf79a2a350febe102872b529f534a9
 SHA1 (patch-ap) = 0ca7341b416842fbc00a935d6cfdb0531c4169ba
 SHA1 (patch-aq) = d7a4dd4864e43cd27b1ca803f8ebfe82e65f84a7
 SHA1 (patch-ar) = 7f0c6cdca69b73bad1c8f8298e417ede1cd89d77
diff -r ffce4f505ca5 -r f86a140487d0 print/teTeX3-bin/patches/patch-ao
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/teTeX3-bin/patches/patch-ao Wed Jan 21 22:06:54 2009 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-ao,v 1.3 2009/01/21 22:06:55 schwarz Exp $
+
+--- texk/xdvik/special.c.orig  2009-01-21 20:32:23.000000000 +0100
++++ texk/xdvik/special.c       2009-01-21 20:32:50.000000000 +0100
+@@ -181,7 +181,9 @@
+ #define       MAX_PEN_SIZE    7       /* Max pixels of pen width */
+ #define       TWOPI           (3.14159265359 * 2.0)
+ 
++#ifndef floor
+ extern double floor(double);
++#endif
+ #define       rint(x) floor((x) + 0.5)
+ 
+ static int xx[MAXPOINTS], yy[MAXPOINTS];      /* Path in milli-inches */



Home | Main Index | Thread Index | Old Index