diff options
author | 2012-06-23 11:54:24 +0000 | |
---|---|---|
committer | 2012-06-23 11:54:24 +0000 | |
commit | 1e1517e2b6e578d2e6f56a0d557c994794716caf (patch) | |
tree | 38e09238459b8f414b69168d1c7e46c36cdb2ce6 /sci-chemistry/molden/files | |
parent | Fix building with gcc4.7 wrt #414133 by David Kredba <nheghathivhistha@gmail.... (diff) | |
download | historical-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/files')
-rw-r--r-- | sci-chemistry/molden/files/molden-5.0-overflow.patch | 16 |
1 files changed, 16 insertions, 0 deletions
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(); + } + |