From bfb64eb40896ea59cb70abaa02d4d5eee9a31187 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Fri, 22 Feb 2008 09:53:02 +0000 Subject: [PATCH] Fix build issue in `gc.c' on GNU/Linux IA64. --- NEWS | 3 ++- libguile/ChangeLog | 5 +++++ libguile/gc.c | 4 ++-- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/NEWS b/NEWS index e6b9962e2..d02f0c4fe 100644 --- a/NEWS +++ b/NEWS @@ -40,7 +40,8 @@ Changes in 1.8.5 (since 1.8.4) * Bugs fixed -** `scm_add_slot ()' no longer segfaults (fixes bug #22369) +** `scm add_slot ()' no longer segfaults (fixes bug #22369) +** Fixed build issue for GNU/Linux on IA64 Changes in 1.8.4 (since 1.8.3) diff --git a/libguile/ChangeLog b/libguile/ChangeLog index bcf171c7a..3752f902c 100644 --- a/libguile/ChangeLog +++ b/libguile/ChangeLog @@ -1,3 +1,8 @@ +2008-02-22 Ludovic Courtès + + * gc.c (scm_ia64_ar_bsp)[linux]: Don't discard `const' qualifier + of OPAQUE. + 2008-02-21 Ludovic Courtès Fix bug #22369. diff --git a/libguile/gc.c b/libguile/gc.c index 21932d9f2..2139e6a54 100644 --- a/libguile/gc.c +++ b/libguile/gc.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1995,1996,1997,1998,1999,2000,2001, 2002, 2003, 2006 Free Software Foundation, Inc. +/* Copyright (C) 1995,1996,1997,1998,1999,2000,2001, 2002, 2003, 2006, 2008 Free Software Foundation, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -1104,7 +1104,7 @@ scm_ia64_register_backing_store_base (void) void * scm_ia64_ar_bsp (const void *opaque) { - ucontext_t *ctx = opaque; + const ucontext_t *ctx = opaque; return (void *) ctx->uc_mcontext.sc_ar_bsp; } # endif /* linux */