diff options
author | schwarz <schwarz@pkgsrc.org> | 2009-01-21 22:06:54 +0000 |
---|---|---|
committer | schwarz <schwarz@pkgsrc.org> | 2009-01-21 22:06:54 +0000 |
commit | 74508cb1ef4069cc60783c3fa2c52ed759d1fb5c (patch) | |
tree | 63e3111520e2c540334b6cd2c651c243de336be8 /print/teTeX3-bin | |
parent | fa10f393949e2a77c6867cfd19fc46a4325d3d96 (diff) | |
download | pkgsrc-74508cb1ef4069cc60783c3fa2c52ed759d1fb5c.tar.gz |
make sure teTeX3 compiles even if floor is defined by the OS (which is
the case on Mac OS 10.4 at least)
Diffstat (limited to 'print/teTeX3-bin')
-rw-r--r-- | print/teTeX3-bin/distinfo | 3 | ||||
-rw-r--r-- | print/teTeX3-bin/patches/patch-ao | 14 |
2 files changed, 16 insertions, 1 deletions
diff --git a/print/teTeX3-bin/distinfo b/print/teTeX3-bin/distinfo index 95d7917cc17..78cbeb71863 100644 --- a/print/teTeX3-bin/distinfo +++ b/print/teTeX3-bin/distinfo @@ -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-ak) = ba06c10c1151173e04f3a6cc44d44a89f1933bb8 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 --git a/print/teTeX3-bin/patches/patch-ao b/print/teTeX3-bin/patches/patch-ao new file mode 100644 index 00000000000..4178ff88b01 --- /dev/null +++ b/print/teTeX3-bin/patches/patch-ao @@ -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 */ |