diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-10-24 11:57:58 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-10-24 11:57:58 +0000 |
commit | 56f830b357868d283a84dd4a429615e7d75574a4 (patch) | |
tree | 79b7d07cfffca973127174297c160fe178f9b103 /media-libs/lib3ds | |
parent | ppc stable #284544 (diff) | |
download | gentoo-2-56f830b357868d283a84dd4a429615e7d75574a4.tar.gz gentoo-2-56f830b357868d283a84dd4a429615e7d75574a4.tar.bz2 gentoo-2-56f830b357868d283a84dd4a429615e7d75574a4.zip |
old
(Portage version: 2.2_rc46/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/lib3ds')
-rw-r--r-- | media-libs/lib3ds/Manifest | 5 | ||||
-rw-r--r-- | media-libs/lib3ds/files/lib3ds-1.2.0-fix-aliasing.patch | 33 | ||||
-rw-r--r-- | media-libs/lib3ds/files/lib3ds-1.2.0-m4-underquoted.patch | 11 | ||||
-rw-r--r-- | media-libs/lib3ds/lib3ds-1.2.0-r1.ebuild | 33 | ||||
-rw-r--r-- | media-libs/lib3ds/lib3ds-1.2.0.ebuild | 34 |
5 files changed, 0 insertions, 116 deletions
diff --git a/media-libs/lib3ds/Manifest b/media-libs/lib3ds/Manifest index 4f84008c7a1d..ab0d8ed5277e 100644 --- a/media-libs/lib3ds/Manifest +++ b/media-libs/lib3ds/Manifest @@ -1,9 +1,4 @@ -AUX lib3ds-1.2.0-fix-aliasing.patch 735 RMD160 290c7f3fb2b6f037db514b9d6271f9a5ec7e8f28 SHA1 13242e4eaae4ffb99298d70a7895dbb22e073abd SHA256 c7e26c701546881a3fa96747206f3590a92d1d407c8ed1431d3bbddade843d49 -AUX lib3ds-1.2.0-m4-underquoted.patch 324 RMD160 2b5ae50aa462a19aea169e9f89b5a9c3bb8afe34 SHA1 d3fd766f86c0e85308ffea41c262b48d2d644edc SHA256 f92d60b3ebccbee3c359a9c0ae70eec48ffe04b961f300bb321e9afae68cb140 -DIST lib3ds-1.2.0.tar.gz 136806 RMD160 3e0401e36b545c2a54213ecb2ea3216360450562 SHA1 49614218c4c11572887beefaa34d23f72ef70a2c SHA256 6204b0fdf308d191bfc650b8a90b96c86c1c6fbfb03f3046f72aedc8bc7686bb DIST lib3ds-1.3.0.zip 443675 RMD160 3b7293b53dada43af97d02c200527c6ba3068487 SHA1 544262eac73c1e4a1d77f0f1cbd90b990a996db8 SHA256 f5b00c302955a67fa5fb1f2d3f2583767cdc61fdbc6fd843c0c7c9d95c5629e3 -EBUILD lib3ds-1.2.0-r1.ebuild 953 RMD160 ad95652999094f2b635fcfe4a9f9cf7c26831dde SHA1 d3a2d8960c3cf75677a2da073b2e565e63e4f60c SHA256 65ed8564cc247736a6439aab0cb0124dc4b49c0b3a38728e75b1d9ea342ddc8d -EBUILD lib3ds-1.2.0.ebuild 875 RMD160 83eabf709465344c80bab6fb899ffa0a021d7d2d SHA1 17b85f1179ea835c660f8d0214524110f319a4ec SHA256 fdfa2ec01721ea3740ed0221e41f2f05f8eaa1fe7bc0fa44155bf3c4363a68cc EBUILD lib3ds-1.3.0.ebuild 637 RMD160 ef134ee6c4805d004f51d709803c978a95f9f84a SHA1 d4d4a4e5da1b5c8ee2c5693ecee597f472efb6e5 SHA256 a36c00e3a5175d7d5d71cc5c2c1bd36eefdcfefa7f80a226efd7fd7aa2d4b308 MISC ChangeLog 1730 RMD160 20c71de7e4f6943992f21070aa3d5b2824ce98cf SHA1 b0aa22d1a532079e5bb3fe8cc438bea9b1880269 SHA256 5528b663da81416642864c37356dd8b2f21a78f22e591bf25bee6c2170a6ac67 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 diff --git a/media-libs/lib3ds/files/lib3ds-1.2.0-fix-aliasing.patch b/media-libs/lib3ds/files/lib3ds-1.2.0-fix-aliasing.patch deleted file mode 100644 index 7196badd3a2a..000000000000 --- a/media-libs/lib3ds/files/lib3ds-1.2.0-fix-aliasing.patch +++ /dev/null @@ -1,33 +0,0 @@ -strict aliasing rules say this sort of casting is illegal - -http://bugs.gentoo.org/172421 - ---- lib3ds/io.c -+++ lib3ds/io.c -@@ -249,6 +249,7 @@ - { - Lib3dsByte b[4]; - Lib3dsDword d; -+ Lib3dsFloat ret; - - ASSERT(io); - lib3ds_io_read(io, b, 4); -@@ -256,7 +257,8 @@ - ((Lib3dsDword)b[2] << 16) | - ((Lib3dsDword)b[1] << 8) | - ((Lib3dsDword)b[0]); -- return(*((Lib3dsFloat*)&d)); -+ memcpy(&ret, &d, sizeof(ret)); -+ return ret; - } - - -@@ -462,7 +464,7 @@ - Lib3dsDword d; - - ASSERT(io); -- d=*((Lib3dsDword*)&l); -+ memcpy(&d, &l, sizeof(d)); - b[3]=(Lib3dsByte)(((Lib3dsDword)d & 0xFF000000) >> 24); - b[2]=(Lib3dsByte)(((Lib3dsDword)d & 0x00FF0000) >> 16); - b[1]=(Lib3dsByte)(((Lib3dsDword)d & 0x0000FF00) >> 8); diff --git a/media-libs/lib3ds/files/lib3ds-1.2.0-m4-underquoted.patch b/media-libs/lib3ds/files/lib3ds-1.2.0-m4-underquoted.patch deleted file mode 100644 index ee8c654f650d..000000000000 --- a/media-libs/lib3ds/files/lib3ds-1.2.0-m4-underquoted.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- lib3ds-1.2.0/lib3ds.m4 -+++ lib3ds-1.2.0/lib3ds.m4 -@@ -1,7 +1,7 @@ - dnl - dnl AM_PATH_LIB3DS([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) - dnl --AC_DEFUN(AM_PATH_LIB3DS, -+AC_DEFUN([AM_PATH_LIB3DS], - [ - - AC_ARG_WITH(lib3ds-prefix,[ --with-lib3ds-prefix=PFX Prefix where lib3ds is installed (optional)], diff --git a/media-libs/lib3ds/lib3ds-1.2.0-r1.ebuild b/media-libs/lib3ds/lib3ds-1.2.0-r1.ebuild deleted file mode 100644 index 4105d994ee60..000000000000 --- a/media-libs/lib3ds/lib3ds-1.2.0-r1.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/lib3ds/lib3ds-1.2.0-r1.ebuild,v 1.2 2009/09/30 17:38:24 armin76 Exp $ - -inherit eutils - -DESCRIPTION="overall software library for managing 3D-Studio Release 3 and 4 .3DS files" -HOMEPAGE="http://lib3ds.sourceforge.net/" -SRC_URI="mirror://sourceforge/lib3ds/${P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~sparc ~x86" -IUSE="" - -DEPEND="virtual/glut - virtual/opengl" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${P}-fix-aliasing.patch #172421 - epatch "${FILESDIR}"/${P}-m4-underquoted.patch - # Add -fPIC only to the .so - sed -i -e "s/@CFLAGS@/@CFLAGS@ -fPIC/" lib3ds/Makefile.in || die "sed lib3ds/Makefile.in failed" -} - -src_install() { - emake DESTDIR="${D}" install || die - dobin examples/3ds2rib || die - newbin examples/player 3dsplayer || die - dodoc README AUTHORS -} diff --git a/media-libs/lib3ds/lib3ds-1.2.0.ebuild b/media-libs/lib3ds/lib3ds-1.2.0.ebuild deleted file mode 100644 index 961ba02ec452..000000000000 --- a/media-libs/lib3ds/lib3ds-1.2.0.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/lib3ds/lib3ds-1.2.0.ebuild,v 1.12 2009/09/30 17:38:24 armin76 Exp $ - -DESCRIPTION="overall software library for managing 3D-Studio Release 3 and 4 .3DS files" -HOMEPAGE="http://lib3ds.sourceforge.net/" -SRC_URI="mirror://sourceforge/lib3ds/${P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ppc ~sparc x86" -IUSE="" - -DEPEND="virtual/glut - virtual/opengl" - -src_unpack() { - unpack ${A} - cd "${S}" - # Add -fPIC only to the .so - sed -i -e "s/@CFLAGS@/@CFLAGS@ -fPIC/" lib3ds/Makefile.in || die "sed lib3ds/Makefile.in failed" -} - -src_compile() { - econf || die - emake || die -} - -src_install() { - make DESTDIR=${D} install || die - dobin examples/3ds2rib || die - newbin examples/player 3dsplayer || die - dodoc README AUTHORS -} |