public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Panagiotis Christopoulos" <pchrist@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/lisp:master commit in: dev-lisp/clisp/files/, dev-lisp/clisp/
Date: Sun,  7 Apr 2013 21:23:36 +0000 (UTC)	[thread overview]
Message-ID: <1365369752.c4cf276eb425c50c5dd1a057abf81bf2046bf9f7.pchrist@gentoo> (raw)

commit:     c4cf276eb425c50c5dd1a057abf81bf2046bf9f7
Author:     Panagiotis Christopoulos (pchrist) <pchrist <AT> gentoo <DOT> org>
AuthorDate: Sun Apr  7 21:22:32 2013 +0000
Commit:     Panagiotis Christopoulos <pchrist <AT> gentoo <DOT> org>
CommitDate: Sun Apr  7 21:22:32 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/lisp.git;a=commit;h=c4cf276e

dev-lisp/clisp-2.49-r5: fix bits/ipctypes.h and (def-c-type __swblk_t) issues that cause failures in newer glibc versions

Package-Manager: portage-2.1.11.60
RepoMan-Options: --force
Manifest-Sign-Key: 3AC579B91BC03656

---
 dev-lisp/clisp/clisp-2.49-r5.ebuild                |    1 +
 .../clisp-2.49-bits_ipctypes_to_sys_ipc.patch      |   21 ++++++++++++++++++++
 2 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/dev-lisp/clisp/clisp-2.49-r5.ebuild b/dev-lisp/clisp/clisp-2.49-r5.ebuild
index 41d98b5..bd3fb64 100644
--- a/dev-lisp/clisp/clisp-2.49-r5.ebuild
+++ b/dev-lisp/clisp/clisp-2.49-r5.ebuild
@@ -59,6 +59,7 @@ src_prepare() {
 	if use alpha || use ia64; then
 		sed -i -e 's/-O2//g' src/makemake.in || die
 	fi
+	epatch "${FILESDIR}/${P}-bits_ipctypes_to_sys_ipc.patch"
 }
 
 src_configure() {

diff --git a/dev-lisp/clisp/files/clisp-2.49-bits_ipctypes_to_sys_ipc.patch b/dev-lisp/clisp/files/clisp-2.49-bits_ipctypes_to_sys_ipc.patch
new file mode 100644
index 0000000..8037157
--- /dev/null
+++ b/dev-lisp/clisp/files/clisp-2.49-bits_ipctypes_to_sys_ipc.patch
@@ -0,0 +1,21 @@
+diff -ru a/modules/bindings/glibc/linux.lisp b/modules/bindings/glibc/linux.lisp
+--- a/modules/bindings/glibc/linux.lisp	2008-10-08 19:36:19.000000000 +0300
++++ b/modules/bindings/glibc/linux.lisp	2013-04-08 00:05:06.028305248 +0300
+@@ -67,7 +67,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)
+@@ -86,7 +86,7 @@
+ 
+ (def-c-type __key_t)            ; int
+ 
+-(c-lines "#include <bits/ipctypes.h>~%")
++(c-lines "#include <sys/ipc.h>~%")
+ (def-c-type __ipc_pid_t)        ; ushort
+ 
+ ; --------------------------- <sys/types.h> -----------------------------------


             reply	other threads:[~2013-04-07 21:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-07 21:23 Panagiotis Christopoulos [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-04-18 18:18 [gentoo-commits] proj/lisp:master commit in: dev-lisp/clisp/files/, dev-lisp/clisp/ Stelian Ionescu
2017-12-10 15:50 José María Alonso

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1365369752.c4cf276eb425c50c5dd1a057abf81bf2046bf9f7.pchrist@gentoo \
    --to=pchrist@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox