diff options
author | Daniel Drake <dsd@gentoo.org> | 2004-12-11 17:17:07 +0000 |
---|---|---|
committer | Daniel Drake <dsd@gentoo.org> | 2004-12-11 17:17:07 +0000 |
commit | e8c40e56989253a3f29c4644eb84297da4cee3fc (patch) | |
tree | 3ed24c2c851f2dc4e73312f086da25033f6cea97 /sys-fs/cloop | |
parent | Stable on alpha. (Manifest recommit) (diff) | |
download | gentoo-2-e8c40e56989253a3f29c4644eb84297da4cee3fc.tar.gz gentoo-2-e8c40e56989253a3f29c4644eb84297da4cee3fc.tar.bz2 gentoo-2-e8c40e56989253a3f29c4644eb84297da4cee3fc.zip |
Fix 2.4 compilation
Diffstat (limited to 'sys-fs/cloop')
-rw-r--r-- | sys-fs/cloop/ChangeLog | 5 | ||||
-rw-r--r-- | sys-fs/cloop/cloop-2.01.5.ebuild | 9 |
2 files changed, 12 insertions, 2 deletions
diff --git a/sys-fs/cloop/ChangeLog b/sys-fs/cloop/ChangeLog index a0d8c078afe0..b3d7104e7ec1 100644 --- a/sys-fs/cloop/ChangeLog +++ b/sys-fs/cloop/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-fs/cloop # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/cloop/ChangeLog,v 1.4 2004/11/24 16:23:51 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/cloop/ChangeLog,v 1.5 2004/12/11 17:17:07 dsd Exp $ + + 11 Dec 2004; Daniel Drake <dsd@gentoo.org> cloop-2.01.5.ebuild: + Fix 2.4 compilation 24 Nov 2004; Stefan Schweizer <genstef@gentoo.org> +files/cloop.zlib-amd64.patch, cloop-2.01.5.ebuild: diff --git a/sys-fs/cloop/cloop-2.01.5.ebuild b/sys-fs/cloop/cloop-2.01.5.ebuild index 0fc3d3004817..8a6cad73ea4e 100644 --- a/sys-fs/cloop/cloop-2.01.5.ebuild +++ b/sys-fs/cloop/cloop-2.01.5.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/cloop/cloop-2.01.5.ebuild,v 1.2 2004/11/24 06:08:00 genstef Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/cloop/cloop-2.01.5.ebuild,v 1.3 2004/12/11 17:17:07 dsd Exp $ inherit kernel-mod eutils versionator @@ -32,6 +32,13 @@ src_unpack() { cd ${S} epatch ${FILESDIR}/cloop.fix.patch epatch ${FILESDIR}/cloop.zlib-amd64.patch + + # Debian uses conf.vars, everyone else uses .config + sed -i "s:conf.vars:.config:" Makefile + + # Remove erroneous 2.4 include + kernel-mod_is_2_4_kernel && \ + sed -i "s:#include <netinet/in.h>::" advancecomp-1.9_create_compressed_fs/advfs.cc } src_compile() { |