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.

19 lines
872 B

  1. Fixes this error for sparc:
  2. ../nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: In function
  3. '__old_sem_wait':
  4. ../nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c:158: error:
  5. 'futex' undeclared (first use in this function)
  6. See http://lists.cross-lfs.org/pipermail/clfs-support-cross-lfs.org/2008-January/000093.html
  7. --- glibc-2.7/nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c 2007-08-15 22:47:42.000000000 +0200
  8. +++ glibc-2.7/nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c.new 2008-10-05 17:17:12.000000000 +0200
  9. @@ -155,7 +155,7 @@
  10. /* Enable asynchronous cancellation. Required by the standard. */
  11. int oldtype = __pthread_enable_asynccancel ();
  12. - err = lll_futex_wait (futex, 0,
  13. + err = lll_futex_wait (&isem->value, 0,
  14. isem->private ^ FUTEX_PRIVATE_FLAG);
  15. /* Disable asynchronous cancellation. */