diff options
author | Ade Lovett <ade@FreeBSD.org> | 2004-10-04 23:27:44 +0000 |
---|---|---|
committer | Ade Lovett <ade@FreeBSD.org> | 2004-10-04 23:27:44 +0000 |
commit | f9dde1308b54665d8dba3a1f1b41d035ec1f1ff7 (patch) | |
tree | 8f500100e3b6fc0d234d58d020a3f7d051324c34 /math/pari/files | |
parent | Mark as i386-only since it uses speaker.h. pointyhat confirms that it (diff) |
Hack to make pari compile again on 5.3 prior to release
Reviewed by: maintainer
Approved by: portmgr (marcus)
Diffstat (limited to 'math/pari/files')
-rw-r--r-- | math/pari/files/hack-src:headers::paricom.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/math/pari/files/hack-src:headers::paricom.h b/math/pari/files/hack-src:headers::paricom.h new file mode 100644 index 000000000000..a02b299ee7dd --- /dev/null +++ b/math/pari/files/hack-src:headers::paricom.h @@ -0,0 +1,20 @@ +--- src/headers/paricom.h.orig Fri Nov 3 13:00:24 2000 ++++ src/headers/paricom.h Wed Sep 29 20:22:41 2004 +@@ -86,3 +86,2 @@ + +-#ifdef NOEXP2 + # ifdef __cplusplus +@@ -92,12 +91,4 @@ + # define exp2(x) (exp((double)(x)*LOG2)) +-# ifndef __CYGWIN32__ +-# define log2(x) (log((double)(x))/LOG2) +-# endif ++# define log2(x) (log((double)(x))/LOG2) + # endif +-#else +- BEGINEXTERN +- double exp2(double); +- double log2(double); +- ENDEXTERN +-#endif + |