summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kennedy <mkennedy@gentoo.org>2005-03-28 19:05:10 +0000
committerMatthew Kennedy <mkennedy@gentoo.org>2005-03-28 19:05:10 +0000
commit2c05dab497df15a66629ff702f0952fd2f945032 (patch)
tree230f51a5d297dfa9c2aab4b6883eaae8d9ce9c07 /dev-lisp/cl-jpeg
parentVersion bump. (diff)
downloadgentoo-2-2c05dab497df15a66629ff702f0952fd2f945032.tar.gz
gentoo-2-2c05dab497df15a66629ff702f0952fd2f945032.tar.bz2
gentoo-2-2c05dab497df15a66629ff702f0952fd2f945032.zip
(Portage version: 2.0.51.19)
Diffstat (limited to 'dev-lisp/cl-jpeg')
-rw-r--r--dev-lisp/cl-jpeg/ChangeLog7
-rw-r--r--dev-lisp/cl-jpeg/cl-jpeg-1.033-r1.ebuild5
-rw-r--r--dev-lisp/cl-jpeg/files/1.033-exports-gentoo.patch22
3 files changed, 32 insertions, 2 deletions
diff --git a/dev-lisp/cl-jpeg/ChangeLog b/dev-lisp/cl-jpeg/ChangeLog
index 9c6915dcec20..ce4762dfe81d 100644
--- a/dev-lisp/cl-jpeg/ChangeLog
+++ b/dev-lisp/cl-jpeg/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-lisp/cl-jpeg
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-jpeg/ChangeLog,v 1.7 2005/03/22 15:47:19 mkennedy Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-jpeg/ChangeLog,v 1.8 2005/03/28 19:05:10 mkennedy Exp $
+
+ 28 Mar 2005; Matthew Kennedy <mkennedy@gentoo.org>
+ +files/1.033-exports-gentoo.patch, cl-jpeg-1.033-r1.ebuild:
+ Change JPEG package behavior so that ENCODE-IMAGE, DECODE-IMAGE and
+ JPEG-TO-BMP are external symbols at load time.
22 Mar 2005; Matthew Kennedy <mkennedy@gentoo.org>
cl-jpeg-1.033-r1.ebuild:
diff --git a/dev-lisp/cl-jpeg/cl-jpeg-1.033-r1.ebuild b/dev-lisp/cl-jpeg/cl-jpeg-1.033-r1.ebuild
index 3e5da9ed5ed0..096fc4b6d654 100644
--- a/dev-lisp/cl-jpeg/cl-jpeg-1.033-r1.ebuild
+++ b/dev-lisp/cl-jpeg/cl-jpeg-1.033-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-jpeg/cl-jpeg-1.033-r1.ebuild,v 1.5 2005/03/22 15:47:19 mkennedy Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-jpeg/cl-jpeg-1.033-r1.ebuild,v 1.6 2005/03/28 19:05:10 mkennedy Exp $
inherit common-lisp eutils
@@ -19,7 +19,10 @@ S=${WORKDIR}/cljl
src_unpack() {
unpack ${A}
+ # patch: defconstant - compilation fix for SBCL
+ # patch: exports - export symbols at load time as well
epatch ${FILESDIR}/${PV}-defconstant-gentoo.patch || die
+ epatch ${FILESDIR}/${PV}-exports-gentoo.patch || die
}
src_install() {
diff --git a/dev-lisp/cl-jpeg/files/1.033-exports-gentoo.patch b/dev-lisp/cl-jpeg/files/1.033-exports-gentoo.patch
new file mode 100644
index 000000000000..aa606b248b09
--- /dev/null
+++ b/dev-lisp/cl-jpeg/files/1.033-exports-gentoo.patch
@@ -0,0 +1,22 @@
+diff -ur cljl.orig/jpeg.lisp cljl/jpeg.lisp
+--- cljl.orig/jpeg.lisp 2005-03-28 12:59:29.000000000 -0600
++++ cljl/jpeg.lisp 2005-03-28 13:00:44.000000000 -0600
+@@ -59,11 +59,13 @@
+ ;;; to the Independent JPEG Group - colorspace conversion and DCT algorithms were adopted from their sources;
+ ;;; to Jeff Dalton for his wise paper "Common Lisp Pitfalls".
+
+-(defpackage #:jpeg (:use #:common-lisp))
+-(in-package #:jpeg)
++(defpackage #:jpeg
++ (:use #:common-lisp)
++ (:export #:encode-image
++ #:decode-image
++ #:jpeg-to-bmp))
+
+-(eval-when (compile)
+- (export '(encode-image decode-image jpeg-to-bmp)))
++(in-package #:jpeg)
+
+ (declaim (inline csize write-stuffed quantize get-average zigzag encode-block llm-dct descale crunch colorspace-convert subsample
+ inverse-llm-dct dequantize upsample extend recieve decode-ac decode-dc decode-block izigzag write-bits))
+Only in cljl: jpeg.lisp.~1.8.~