mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
1.7 KiB

  1. --- ./srclib/apr/configure.in.orig 2007-05-27 10:33:31.000000000 +0000
  2. +++ ./srclib/apr/configure.in 2007-05-27 10:33:34.000000000 +0000
  3. @@ -444,9 +444,9 @@
  4. {
  5. int fd, ret = 0;
  6. struct stat64 st;
  7. - off64_t off = 4242;
  8. + __off64_t off = 4242;
  9. - if (sizeof(off64_t) != 8 || sizeof(off_t) != 4)
  10. + if (sizeof(__off64_t) != 8 || sizeof(off_t) != 4)
  11. exit(1);
  12. if ((fd = open("conftest.lfs", O_LARGEFILE|O_CREAT|O_WRONLY)) < 0)
  13. exit(2);
  14. @@ -1265,7 +1265,7 @@
  15. if test "${ac_cv_sizeof_off_t}${apr_cv_use_lfs64}" = "4yes"; then
  16. # LFS is go!
  17. off_t_fmt='#define APR_OFF_T_FMT APR_INT64_T_FMT'
  18. - off_t_value='off64_t'
  19. + off_t_value='__off64_t'
  20. off_t_strfn='apr_strtoi64'
  21. elif test "${ac_cv_sizeof_off_t}x${ac_cv_sizeof_long}" = "4x4"; then
  22. # Special case: off_t may change size with _FILE_OFFSET_BITS
  23. --- ./srclib/apr/configure.orig 2007-05-27 10:32:24.000000000 +0000
  24. +++ ./srclib/apr/configure 2007-05-27 10:32:52.000000000 +0000
  25. @@ -24880,9 +24880,9 @@
  26. {
  27. int fd, ret = 0;
  28. struct stat64 st;
  29. - off64_t off = 4242;
  30. + __off64_t off = 4242;
  31. - if (sizeof(off64_t) != 8 || sizeof(off_t) != 4)
  32. + if (sizeof(__off64_t) != 8 || sizeof(off_t) != 4)
  33. exit(1);
  34. if ((fd = open("conftest.lfs", O_LARGEFILE|O_CREAT|O_WRONLY)) < 0)
  35. exit(2);
  36. @@ -36217,7 +36217,7 @@
  37. if test "${ac_cv_sizeof_off_t}${apr_cv_use_lfs64}" = "4yes"; then
  38. # LFS is go!
  39. off_t_fmt='#define APR_OFF_T_FMT APR_INT64_T_FMT'
  40. - off_t_value='off64_t'
  41. + off_t_value='__off64_t'
  42. off_t_strfn='apr_strtoi64'
  43. elif test "${ac_cv_sizeof_off_t}x${ac_cv_sizeof_long}" = "4x4"; then
  44. # Special case: off_t may change size with _FILE_OFFSET_BITS