Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 120256 Details for
Bug 179728
dev-scheme/guile-1.8.1-r3 fails to build on FreeBSD (strings.h conflict & other)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
guile-1.8.1-clog-cexp.patch
guile-1.8.1-clog-cexp.patch (text/plain), 2.66 KB, created by
Diego Elio Pettenò (RETIRED)
on 2007-05-25 09:30:50 UTC
(
hide
)
Description:
guile-1.8.1-clog-cexp.patch
Filename:
MIME Type:
Creator:
Diego Elio Pettenò (RETIRED)
Created:
2007-05-25 09:30:50 UTC
Size:
2.66 KB
patch
obsolete
>Index: guile-1.8.1/configure.in >=================================================================== >--- guile-1.8.1.orig/configure.in >+++ guile-1.8.1/configure.in >@@ -602,6 +602,7 @@ AC_CHECK_HEADERS([assert.h crt_externs.h > # (DINFINITY and DQNAN are actually global variables, not functions) > # chsize - an MS-DOS-ism, found in mingw > # clog10 - not in mingw (though others like clog and csqrt are) >+# clog,cexp - not in FreeBSD (though others are, like cabs) > # fesetround - available in C99, but not older systems > # ftruncate - posix, but probably not older systems (current mingw > # has it as an inline for chsize) >@@ -614,7 +615,7 @@ AC_CHECK_HEADERS([assert.h crt_externs.h > # isblank - available as a GNU extension or in C99 > # _NSGetEnviron - Darwin specific > # >-AC_CHECK_FUNCS([DINFINITY DQNAN chsize clog10 ctermid fesetround ftime ftruncate fchown getcwd geteuid gettimeofday gmtime_r ioctl lstat mkdir mknod nice readdir_r readlink rename rmdir select setegid seteuid setlocale setpgid setsid sigaction siginterrupt stat64 strftime strptime symlink sync sysconf tcgetpgrp tcsetpgrp times uname waitpid strdup system usleep atexit on_exit chown link fcntl ttyname getpwent getgrent kill getppid getpgrp fork setitimer getitimer strchr strcmp index bcopy memcpy rindex truncate unsetenv isblank _NSGetEnviron]) >+AC_CHECK_FUNCS([DINFINITY DQNAN chsize clog10 clog cexp ctermid fesetround ftime ftruncate fchown getcwd geteuid gettimeofday gmtime_r ioctl lstat mkdir mknod nice readdir_r readlink rename rmdir select setegid seteuid setlocale setpgid setsid sigaction siginterrupt stat64 strftime strptime symlink sync sysconf tcgetpgrp tcsetpgrp times uname waitpid strdup system usleep atexit on_exit chown link fcntl ttyname getpwent getgrent kill getppid getpgrp fork setitimer getitimer strchr strcmp index bcopy memcpy rindex truncate unsetenv isblank _NSGetEnviron]) > > # Reasons for testing: > # netdb.h - not in mingw >Index: guile-1.8.1/libguile/numbers.c >=================================================================== >--- guile-1.8.1.orig/libguile/numbers.c >+++ guile-1.8.1/libguile/numbers.c >@@ -6018,7 +6018,7 @@ SCM_DEFINE (scm_log, "log", 1, 0, 0, > { > if (SCM_COMPLEXP (z)) > { >-#if HAVE_COMPLEX_DOUBLE >+#if HAVE_COMPLEX_DOUBLE && HAVE_CLOG > return scm_from_complex_double (clog (SCM_COMPLEX_VALUE (z))); > #else > double re = SCM_COMPLEX_REAL (z); >@@ -6084,7 +6084,7 @@ SCM_DEFINE (scm_exp, "exp", 1, 0, 0, > { > if (SCM_COMPLEXP (z)) > { >-#if HAVE_COMPLEX_DOUBLE >+#if HAVE_COMPLEX_DOUBLE && HAVE_CEXP > return scm_from_complex_double (cexp (SCM_COMPLEX_VALUE (z))); > #else > return scm_c_make_polar (exp (SCM_COMPLEX_REAL (z)),
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 179728
:
120254
| 120256 |
120260