File clisp-glibc-fix.patch of Package clisp

From: Togan Muftuoglu <toganm@opensuse.org>
Date: Access: 2012-11-28 16:13:07 +0100
Referencens: http://comments.gmane.org/gmane.comp.lib.glibc.alpha/25618
Subject: remove  __swblk_t from linux.lisp
Upstream: no

Glibc got rid of unused __swblk_t type, so the linux.lisp package needs to
be updated, enabling build
---
 modules/bindings/glibc/linux.lisp |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

--- a/modules/bindings/glibc/linux.lisp
+++ b/modules/bindings/glibc/linux.lisp
@@ -38,7 +38,6 @@
 ; =========================== <sys/types.h> ===================================
 
 (c-lines "#include <sys/types.h>~%")
-
 ; --------------------------- <gnu/types.h> -----------------------------------
 
 (def-c-type __u_char uchar)
@@ -67,7 +66,7 @@
 (def-c-type __daddr_t)          ; int
 (def-c-type __caddr_t)          ; c-pointer
 (def-c-type __time_t)           ; long
-(def-c-type __swblk_t)          ; long
+;;(def-c-type __swblk_t)          ; long
 
 (def-c-type __fd_mask ulong)
 (eval-when (load compile eval)
openSUSE Build Service is sponsored by