summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2012-06-23 11:54:24 +0000
committerJustin Lecher <jlec@gentoo.org>2012-06-23 11:54:24 +0000
commit1e1517e2b6e578d2e6f56a0d557c994794716caf (patch)
tree38e09238459b8f414b69168d1c7e46c36cdb2ce6 /sci-chemistry/molden
parentFix building with gcc4.7 wrt #414133 by David Kredba <nheghathivhistha@gmail.... (diff)
downloadhistorical-1e1517e2b6e578d2e6f56a0d557c994794716caf.tar.gz
historical-1e1517e2b6e578d2e6f56a0d557c994794716caf.tar.bz2
historical-1e1517e2b6e578d2e6f56a0d557c994794716caf.zip
sci-chemistry/molden: Add missing patch
Package-Manager: portage-2.2.0_alpha111/cvs/Linux x86_64
Diffstat (limited to 'sci-chemistry/molden')
-rw-r--r--sci-chemistry/molden/ChangeLog6
-rw-r--r--sci-chemistry/molden/Manifest11
-rw-r--r--sci-chemistry/molden/files/molden-5.0-overflow.patch16
-rw-r--r--sci-chemistry/molden/molden-5.0.ebuild4
4 files changed, 29 insertions, 8 deletions
diff --git a/sci-chemistry/molden/ChangeLog b/sci-chemistry/molden/ChangeLog
index dda69226ab63..2137a04f7324 100644
--- a/sci-chemistry/molden/ChangeLog
+++ b/sci-chemistry/molden/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-chemistry/molden
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/molden/ChangeLog,v 1.39 2012/06/23 11:21:23 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/molden/ChangeLog,v 1.40 2012/06/23 11:54:24 jlec Exp $
+
+ 23 Jun 2012; Justin Lecher <jlec@gentoo.org> molden-5.0.ebuild,
+ +files/molden-5.0-overflow.patch:
+ Add missing patch
*molden-5.0 (23 Jun 2012)
*molden-4.8-r2 (23 Jun 2012)
diff --git a/sci-chemistry/molden/Manifest b/sci-chemistry/molden/Manifest
index 90d189149139..c70472426990 100644
--- a/sci-chemistry/molden/Manifest
+++ b/sci-chemistry/molden/Manifest
@@ -8,19 +8,20 @@ AUX molden-4.8-ambfor.patch 480 RMD160 ac9108f3963d1381250605b934c36e18783f4c3f
AUX molden-4.8-ldflags.patch 866 RMD160 226851a1dd0a47c2c882c89283f3e46c9e0da132 SHA1 a35609b1b195c466e9516658d1b851823d09c502 SHA256 14346b0f255ac2e7c85321a13112af857c4f55dd5574f007a3a32e61006c947b
AUX molden-4.8-overflow.patch 714 RMD160 ae6b24902911b308a0fa29150af39b543837bdd1 SHA1 7e377daa5b6070b93e0a01ee6cb006ee8f3e8508 SHA256 bf25341d0b7dc8f4dd61bb160c345d29fad5e303309c0690d64ad9f69f5b2b79
AUX molden-5.0-ambfor.patch 523 RMD160 ce8e2e486ea02816ba565a520b0630245631b50e SHA1 53be8099791e129490e733cd7828ee68f74455a0 SHA256 65611167c51b773f1b64468712a0e075be673d7d460b73629ce85b202b19ebf6
+AUX molden-5.0-overflow.patch 341 RMD160 a890a80acbf6d0a668c94913efaff0f210ca20f6 SHA1 45a233b5de1ac5df5a181ec3e295321fcefd6692 SHA256 c004c35f1b5c4ff8ae262382e0cac375bd6d6ababad359ad28dcbcaeb223283f
DIST molden4.7.tar.gz 2821826 RMD160 29a05f7637656ea2641fa81efa9068f9815e84ca SHA1 2cc1d5d2be947da6da89b53b4522342615601b8d SHA256 f4dc82ebaf597cee937f5714124cb905474c33e365508961598bf7625643d761
DIST molden4.8.tar.gz 2969701 RMD160 6b3203c5e72680b6c23611f7cc97c3275fddca15 SHA1 67c1ae7b3b053352540fcc084d2819a15a8e82fa SHA256 314d9b9bdede2fd63d1e2f26e0212711576952244634fc28ea6c97ce2f7029b1
DIST molden5.0.tar.gz 3063244 RMD160 5877a640bbeb1b3468936a0166bd9148e90becbc SHA1 9112673a26858497c51b486b3e5fc794b4ce6c22 SHA256 c9cf8f656adf2f2c7a8b8b64fa07b5feaa9c3ca36c4803e1f58ac33de1cffdc4
EBUILD molden-4.7.ebuild 1689 RMD160 25971d279f1b88a2fd4aad21918bc9e56b5bcb2d SHA1 5468042e14dd3edc61eb8ab61fe5d5c34886a19e SHA256 f0f9d37d47e505d822de3825b8e3a5f98f045edc2f19419cd3bd3c57b0e0ccdb
EBUILD molden-4.8-r2.ebuild 1874 RMD160 f796f0c6cfbb5d3bfeb7645a09d7c135d2a8acc1 SHA1 656f502283ffdfaf8dcb4d3358bda3eaedd44376 SHA256 3b11c7037f36b66d370929d64a22d202e87d5f2419321d2e139990b5f6eedfec
-EBUILD molden-5.0.ebuild 1885 RMD160 0f846395eecc48d3da7a9d1cf615be6dae291c61 SHA1 1a0257a79fa151a1af81f816628c7fa5559b23e2 SHA256 70e871cb76534b8a501eee4b9ce2f82a48bb74cb7a17649eb5abd7b888244a10
-MISC ChangeLog 7968 RMD160 d298d0c172c883311a043fa82b6f6e2822a39621 SHA1 f2d26c11b8b4bd02415087f900f12ff8f491c1fa SHA256 46853d80d3749f35af4e1213d39123f46227f90597883c7938f16f0dcae09677
+EBUILD molden-5.0.ebuild 1880 RMD160 e8d0bf94992dab96e70e15e2087ee64ec58070dd SHA1 42c5113bf25888d9d97b0ef66742bb5ea3f018b4 SHA256 c898aa41ab6593a517c42c1a1e53577087425689e40ff7d3b9a5dc41a2597ed8
+MISC ChangeLog 8091 RMD160 047b8531ea218f09cbe95f82288c7ea3595ee1aa SHA1 975eb8f34ae8633a8181b9f6f1f15869e82197bb SHA256 f984ea70d78f0ef0399d6af64e2896e2123c7a4881dde78ff84ff4d4962c0ef8
MISC metadata.xml 167 RMD160 ea4003a55d6e2079381a540c441fc59cde29025a SHA1 3bc6dc4dd68f7de22828138e62aa117387b1765d SHA256 f313eeec4ebffac500b57a98a225e32c77489fc826a50494749b6cdeec28e3e8
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: GPGTools - http://gpgtools.org
-iEYEAREKAAYFAk/lprsACgkQgAnW8HDreRZf7wCfTpZgfiXip2m7eULavtug2Pfd
-cDIAn2AwPLgNuGrVN4nDa9l+Ji4GutNA
-=hd9a
+iEYEAREKAAYFAk/lrncACgkQgAnW8HDreRatAwCfeMKYsrzd1DzrnHtEGOvYGY3U
+SacAoIwGUyRXw0kXL2HTfdZFFxITQCku
+=nue9
-----END PGP SIGNATURE-----
diff --git a/sci-chemistry/molden/files/molden-5.0-overflow.patch b/sci-chemistry/molden/files/molden-5.0-overflow.patch
new file mode 100644
index 000000000000..4fc406266935
--- /dev/null
+++ b/sci-chemistry/molden/files/molden-5.0-overflow.patch
@@ -0,0 +1,16 @@
+ xwin.c | 10 ++++++----
+ 1 files changed, 6 insertions(+), 4 deletions(-)
+
+diff --git a/xwin.c b/xwin.c
+index f395909..092edff 100644
+--- a/xwin.c
++++ b/xwin.c
+@@ -27353,7 +27355,7 @@ char *errstr;
+ UpdateZME();
+ RedrawScroll(&zscroll);
+ }
+- strcpy(ZMEerr,errstr);
++ strncpy(ZMEerr,errstr,MAXZMEERR);
+ RedrawStatus();
+ }
+
diff --git a/sci-chemistry/molden/molden-5.0.ebuild b/sci-chemistry/molden/molden-5.0.ebuild
index d8064afec832..55ab7b3c5efa 100644
--- a/sci-chemistry/molden/molden-5.0.ebuild
+++ b/sci-chemistry/molden/molden-5.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/molden/molden-5.0.ebuild,v 1.1 2012/06/23 11:21:23 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/molden/molden-5.0.ebuild,v 1.2 2012/06/23 11:54:24 jlec Exp $
EAPI=4
@@ -33,7 +33,7 @@ S="${WORKDIR}/${MY_P}"
src_prepare() {
epatch \
"${FILESDIR}"/${P}-ambfor.patch \
- "${FILESDIR}"/${PN}-4.8-overflow.patch \
+ "${FILESDIR}"/${P}-overflow.patch \
"${FILESDIR}"/${PN}-4.8-ldflags.patch \
"${FILESDIR}"/${PN}-4.7-implicit-dec.patch
sed \