Package: lam Severity: important Tags: patch Hi,
the current version of lam fails to build on GNU/kFreeBSD. Please find attached simple patch to fix that. It would be nice if it could be included in the next upload. Thanks in advance, Petr
--- romio/adio/ad_ufs/ad_ufs_wait.c~ 2005-10-25 09:51:28.000000000 +0200 +++ romio/adio/ad_ufs/ad_ufs_wait.c 2005-10-25 09:51:28.000000000 +0200 @@ -107,7 +107,7 @@ /* DEC, SGI IRIX 5 and 6 */ if ((*request)->queued) { do { - err = aio_suspend((const aiocb_t **) &((*request)->handle), 1, 0); + err = aio_suspend((const struct aiocb **) &((*request)->handle), 1, 0); } while ((err == -1) && (errno == EINTR)); if (err != -1) { --- romio/adio/ad_nfs/ad_nfs_wait.c~ 2005-10-25 10:02:38.000000000 +0200 +++ romio/adio/ad_nfs/ad_nfs_wait.c 2005-10-25 10:02:38.000000000 +0200 @@ -106,7 +106,7 @@ /* DEC, SGI IRIX 5 and 6 */ if ((*request)->queued) { do { - err = aio_suspend((const aiocb_t **) &((*request)->handle), 1, 0); + err = aio_suspend((const struct aiocb **) &((*request)->handle), 1, 0); } while ((err == -1) && (errno == EINTR)); if (err != -1) {