diff options
author | Justin Lecher <jlec@gentoo.org> | 2012-06-23 11:54:24 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2012-06-23 11:54:24 +0000 |
commit | b4f5b6bc4b03cb382556c008754edd8f445f77c8 (patch) | |
tree | 92977bbdf9895a0ea1c85a38eb6f0736bc10f52a /sci-chemistry | |
parent | Fix building with gcc4.7 wrt #414133 by David Kredba <nheghathivhistha@gmail.... (diff) | |
download | gentoo-2-b4f5b6bc4b03cb382556c008754edd8f445f77c8.tar.gz gentoo-2-b4f5b6bc4b03cb382556c008754edd8f445f77c8.tar.bz2 gentoo-2-b4f5b6bc4b03cb382556c008754edd8f445f77c8.zip |
sci-chemistry/molden: Add missing patch
(Portage version: 2.2.0_alpha111/cvs/Linux x86_64)
Diffstat (limited to 'sci-chemistry')
-rw-r--r-- | sci-chemistry/molden/ChangeLog | 6 | ||||
-rw-r--r-- | sci-chemistry/molden/files/molden-5.0-overflow.patch | 16 | ||||
-rw-r--r-- | sci-chemistry/molden/molden-5.0.ebuild | 4 |
3 files changed, 23 insertions, 3 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/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 \ |