summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2008-04-16 16:13:55 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2008-04-16 16:13:55 +0000
commit9a07c9b44d2dc921eee3515c4ca2a8d5b36c0a58 (patch)
treeef117d7b5af2830b5162c0a25b31d4815906eb68 /sci-astronomy/ds9
parentAdd ~sparc keyword at developer's request --- Bug #216120, which please see. (diff)
downloadhistorical-9a07c9b44d2dc921eee3515c4ca2a8d5b36c0a58.tar.gz
historical-9a07c9b44d2dc921eee3515c4ca2a8d5b36c0a58.tar.bz2
historical-9a07c9b44d2dc921eee3515c4ca2a8d5b36c0a58.zip
Version bump, with gcc-4.3 patch and adapted bug #189118 patch to avoid emacs dependency
Package-Manager: portage-2.1.5_rc2
Diffstat (limited to 'sci-astronomy/ds9')
-rw-r--r--sci-astronomy/ds9/ChangeLog10
-rw-r--r--sci-astronomy/ds9/Manifest16
-rw-r--r--sci-astronomy/ds9/ds9-5.1.ebuild6
-rw-r--r--sci-astronomy/ds9/ds9-5.2.ebuild67
-rw-r--r--sci-astronomy/ds9/files/ds9-5.1-gcc4.2-x86.patch4
-rw-r--r--sci-astronomy/ds9/files/ds9-5.2-Makefile.patch39
-rw-r--r--sci-astronomy/ds9/files/ds9-5.2-gcc43.patch208
7 files changed, 338 insertions, 12 deletions
diff --git a/sci-astronomy/ds9/ChangeLog b/sci-astronomy/ds9/ChangeLog
index 7e702d4cd8f7..05ea8e739b50 100644
--- a/sci-astronomy/ds9/ChangeLog
+++ b/sci-astronomy/ds9/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for sci-astronomy/ds9
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/ds9/ChangeLog,v 1.8 2008/02/14 23:32:16 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/ds9/ChangeLog,v 1.9 2008/04/16 16:13:55 bicatali Exp $
+
+*ds9-5.2 (16 Apr 2008)
+
+ 16 Apr 2008; Sébastien Fabbro <bicatali@gentoo.org>
+ files/ds9-5.1-gcc4.2-x86.patch, +files/ds9-5.2-Makefile.patch,
+ +files/ds9-5.2-gcc43.patch, ds9-5.1.ebuild, +ds9-5.2.ebuild:
+ Version bump, with gcc-4.3 patch and adapted bug #189118 patch to avoid
+ emacs dependency
14 Feb 2008; Sébastien Fabbro <bicatali@gentoo.org>
-files/ds9-5.0-Makefile.patch, +files/ds9-5.1-tk-gif.patch,
diff --git a/sci-astronomy/ds9/Manifest b/sci-astronomy/ds9/Manifest
index 17f2747a5b92..4c34508cdc32 100644
--- a/sci-astronomy/ds9/Manifest
+++ b/sci-astronomy/ds9/Manifest
@@ -2,16 +2,20 @@
Hash: SHA1
AUX ds9-5.1-Makefile.patch 1154 RMD160 1fa279839fecd4cc56a8445d34036ade9ad92406 SHA1 84dcb1a7d6e3fe1583d8ff9cf25a81091364cc9a SHA256 632d64d27f14e73c9ccb0e16874f652d556edbff0be34e38f53ec5cbd1f1b59b
-AUX ds9-5.1-gcc4.2-x86.patch 1022 RMD160 40c9c5da3fefae0a67af6750965df797dd2f4a7b SHA1 26a7c740fceb19f5277d2528f0ab4d3e45a46507 SHA256 30a2cabeb66fc2dccc081c04d4895ceab6d62e321f317d1e8c779b6128b41da3
+AUX ds9-5.1-gcc4.2-x86.patch 1001 RMD160 c955fdf898c2fbcc10a4597b3147fd2f534ccb42 SHA1 71826d2027f5fbeca166fa30d7eff718a393645c SHA256 a890da6e6d93a9b246948c6088104e176a42ba796042039186d5aabfcab3f280
AUX ds9-5.1-tk-gif.patch 460 RMD160 bc670457e0424041d4fe4022f569cd78457c9b7b SHA1 aa90e00e34c026bf8776f973644cfebc09abaa32 SHA256 f46964aea235b2da8ae294a151668ede2dab46e83a0fbe1549de19b3305a477b
+AUX ds9-5.2-Makefile.patch 1433 RMD160 faa47ce78a7dfc93d09dc8ef856beebbca241bb7 SHA1 a898f50405a34184ada360939b90617bf4f0542c SHA256 ac2cfc6217afaddf2dfcf60db3c4427fa0e8fc5da57eff937b4e76dc1aeb39c6
+AUX ds9-5.2-gcc43.patch 5677 RMD160 e729c4a2644f4452e126e3903066eb1b68f8e4d0 SHA1 b473943c4772ac2e8f0e8da254aba2a49206a5b4 SHA256 2fba8aef2f9b42b5915e3f864fd84dedc38a6deb62655437f4f02e2e0fb3fa70
DIST ds9.5.1.tar.gz 27331599 RMD160 46d915ff098f13911858320d33f5cda6c8ee0ea1 SHA1 7c2bb56e0a8a222b0d13d1d255aaa98fd2979d45 SHA256 aea981ea5714ca4dd9125aacebf2676a85e7045da7d1f97492fbe0e84a22aaf8
-EBUILD ds9-5.1.ebuild 1892 RMD160 0355134a5068389520db476197d33d933a7e8239 SHA1 60b26390c40951249b2bf8d5a243ee0fb0e1a4a5 SHA256 9aff7491adf42d847f3efedd87592e427379b43021864f6f606970fde70c2446
-MISC ChangeLog 1657 RMD160 ecfd057f3174024f06db8706840fc5ae23ca9ab7 SHA1 6f52eb8d9b23a80396b0dcf484d17119614cd15d SHA256 fa625a3897172473631f3ab7031df5dbd60ca2be2644a8dbfb0e133fff7ce965
+DIST ds9.5.2.tar.gz 26540080 RMD160 3951e9d6ec4b5310ebf3d69324e35c028e38c16e SHA1 f887b6e6dac17146f35aed338bc389c34947da03 SHA256 1b4d2edf056f8448469b4cb26e3f21c850d564e9ed49abb46ecb053f548779dd
+EBUILD ds9-5.1.ebuild 1985 RMD160 c33e8156f0a1e1580d4f2ddc1a4d975b8376d466 SHA1 e58b8015ef66a5d0c90bb54768cdb7490add516c SHA256 7e6e3cd693153c1de599de91726127d1d1c4dc821d8b32f7d91a25a1bf3c1904
+EBUILD ds9-5.2.ebuild 1944 RMD160 6313dabb0054dab99112b9d0d4c98818250f5d90 SHA1 d462b383415f3cb568c7013f8c838fdafc2bd394 SHA256 e644d0b3c3f4dcf5da274b775ec817579e19ddb0690253cbb4d380c9582cc792
+MISC ChangeLog 1958 RMD160 779dca8dbb42bbd9dbbbf8a14d6bb28c8d3f3c2f SHA1 4229773ae482a57da94ed515bd2c842ef3bfb0ec SHA256 e555c37b02bcddf5e56214eacbbeb957acdb02bfc1ad4168f2f807086580d38d
MISC metadata.xml 1072 RMD160 3c839d72950b8eb3ab84920e86017f97f3b14799 SHA1 1cefcee915ef90f64beb486d298972981ea3891e SHA256 42893aa6c35591819017a8708062c88df98d27ab0466ec07d7603b46d6e3719e
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
-iD8DBQFHtM+K1ycZbhPLE2ARAvp8AJ9EgGbEJrYyKTdC9vmAMggIGsZ/lACcDUMH
-FpNJ8NXmtZ6MKzfVHoVG79E=
-=b3QY
+iD8DBQFIBiXP1ycZbhPLE2ARAknCAJ4n75kbY2N3v47G7o0cePkYYAzBLwCfS87R
+Uo/JpqPRnX1olCVrYlynJW0=
+=nreR
-----END PGP SIGNATURE-----
diff --git a/sci-astronomy/ds9/ds9-5.1.ebuild b/sci-astronomy/ds9/ds9-5.1.ebuild
index a6e72148ece7..72f3c7647996 100644
--- a/sci-astronomy/ds9/ds9-5.1.ebuild
+++ b/sci-astronomy/ds9/ds9-5.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/ds9/ds9-5.1.ebuild,v 1.3 2008/02/14 23:32:16 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/ds9/ds9-5.1.ebuild,v 1.4 2008/04/16 16:13:55 bicatali Exp $
inherit flag-o-matic eutils toolchain-funcs
@@ -15,7 +15,6 @@ RDEPEND="x11-libs/libX11
x11-libs/libXdmcp
x11-libs/libXau"
DEPEND="${RDEPEND}
- || ( virtual/emacs virtual/xemacs )
app-arch/zip"
RESTRICT="strip test mirror"
@@ -34,6 +33,9 @@ src_unpack() {
fi
# security fix in embedded tk (bug #208464)
epatch "${FILESDIR}"/${P}-tk-gif.patch
+
+ # remove build-time dependency on etags (i.e. emacs or xemacs)
+ sed -i -e '/^all/s/TAGS//' saotk/*/Makefile || die "sed failed"
}
src_compile() {
diff --git a/sci-astronomy/ds9/ds9-5.2.ebuild b/sci-astronomy/ds9/ds9-5.2.ebuild
new file mode 100644
index 000000000000..02ad7c3c6dde
--- /dev/null
+++ b/sci-astronomy/ds9/ds9-5.2.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/ds9/ds9-5.2.ebuild,v 1.1 2008/04/16 16:13:55 bicatali Exp $
+
+inherit flag-o-matic eutils
+
+DESCRIPTION="Data visualization application for astronomical FITS images"
+HOMEPAGE="http://hea-www.harvard.edu/RD/ds9"
+SRC_URI="http://hea-www.harvard.edu/saord/download/${PN}/source/${PN}.${PV}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+RDEPEND="x11-libs/libX11
+ x11-libs/libXdmcp
+ x11-libs/libXau"
+DEPEND="${RDEPEND}
+ app-arch/zip"
+
+S="${WORKDIR}/sao${PN}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${P}-gcc43.patch
+
+ # patch to fix and speed up compilation (no man pages generation)
+ epatch "${FILESDIR}"/${P}-Makefile.patch
+
+ # fix stack smashing on x86 with gcc-4.2
+ use x86 && epatch "${FILESDIR}"/${P}-gcc4.2-x86.patch
+
+ # remove build-time dependency on etags (i.e. emacs or xemacs)
+ sed -i -e '/^all/s/TAGS//' saotk/*/Makefile || die "sed failed"
+
+ # remove forced compilers and let defined ones propagate
+ sed -i -e '/^CC[[:space:]]/d' '/^CXX[[:space:]]/d' make.*
+}
+
+src_compile() {
+ local ds9arch
+ case ${ARCH} in
+ x86) ds9arch=linux ;;
+ amd64) ds9arch=linux64 ;;
+ ppc) ds9arch=linuxppc ;;
+ x86-fbsd) ds9arch=freebsd ;;
+ *) die "ds9 not supported upstream for this architecture";;
+ esac
+ ln -s make.${ds9arch} make.include
+
+ # This is a long and fragile compilation
+ # which recompiles tcl/tk, tkimg, blt, funtools,
+ # and a lot of other packages
+ emake -j1 OPTS="${CXXFLAGS}" \
+ || die "emake failed"
+}
+
+src_install () {
+ dobin bin/ds9 || die "failed installing ds9 binary"
+ dobin bin/xpa* || die "failed installing xpa* binaries"
+ doman man/man?/xpa* || die " failed installing man pages"
+ dodoc README acknowledgement || die "failed installing basic doc"
+ if use doc; then
+ dohtml -r doc/* || die "failed installing html doc"
+ fi
+}
diff --git a/sci-astronomy/ds9/files/ds9-5.1-gcc4.2-x86.patch b/sci-astronomy/ds9/files/ds9-5.1-gcc4.2-x86.patch
index 99465caaec79..ce87e11cde1c 100644
--- a/sci-astronomy/ds9/files/ds9-5.1-gcc4.2-x86.patch
+++ b/sci-astronomy/ds9/files/ds9-5.1-gcc4.2-x86.patch
@@ -1,13 +1,11 @@
diff -Naur saods9/make.linux saods9.new/make.linux
--- saods9/make.linux 2007-12-18 17:54:57.000000000 -0500
+++ saods9.new/make.linux 2008-01-23 08:58:46.000000000 -0500
-@@ -9,15 +9,15 @@
+@@ -9,15 +9,13 @@
# note: bug with gcc 4.1 and 4.2
# can't use -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-+CXX = g++
+CXXOPT = ${OPTS} -fPIC -DHAVE_SYS_UN_H -DHAVE_SYS_SHM_H
-+CC = gcc
+CCOPT = ${OPTS} -fPIC -DHAVE_SYS_UN_H -DHAVE_SYS_SHM_H
+
#CXX = g++
diff --git a/sci-astronomy/ds9/files/ds9-5.2-Makefile.patch b/sci-astronomy/ds9/files/ds9-5.2-Makefile.patch
new file mode 100644
index 000000000000..b92a5cf56e75
--- /dev/null
+++ b/sci-astronomy/ds9/files/ds9-5.2-Makefile.patch
@@ -0,0 +1,39 @@
+--- Makefile.orig 2008-04-16 13:43:29.417500857 +0000
++++ Makefile 2008-04-16 14:03:38.346474803 +0000
+@@ -237,23 +237,23 @@
+ tcl : FORCE
+ @echo "Installing Tcl..."
+ cd $(TCLDIRDIR); CC='$(CC)' CFLAGS='$(OPTS) $(TCLOPTS)' LDFLAGS='$(LIBS)' ./configure $(TCLFLAGS) --disable-shared
+- cd $(TCLDIRDIR); $(MAKE) install
++ cd $(TCLDIRDIR); $(MAKE) install-binaries install-libraries
+
+ tk : FORCE
+ @echo "Installing Tk..."
+ cd $(TKDIRDIR); CC='$(CC)' CFLAGS='$(OPTS) $(TCLOPTS)' LDFLAGS='$(LIBS)' ./configure $(TCLFLAGS) --disable-shared
+- cd $(TKDIRDIR); $(MAKE) install
++ cd $(TKDIRDIR); $(MAKE) install-binaries install-libraries
+ $(RM) -r lib/$(TKVER)/demos
+
+ tktable : FORCE
+ @echo "Installing TkTable..."
+ cd $(TKTABLEDIR); CC='$(CC)' CFLAGS='$(OPTS)' LDFLAGS='$(LIBS)' ./configure $(TKTABLEFLAGS) --disable-shared
+- cd $(TKTABLEDIR); $(MAKE); $(MAKE) install
++ cd $(TKTABLEDIR); $(MAKE); $(MAKE) install-binaries install-libraries
+
+ tcllib : FORCE
+ @echo "Installing TclLib..."
+ cd $(TCLLIBDIR); ./configure $(TCLLIBFLAGS)
+- cd $(TCLLIBDIR); $(MAKE) install
++ cd $(TCLLIBDIR); $(MAKE) install-libraries
+
+ tkcon : FORCE
+ @echo "Installing TkCon..."
+@@ -295,7 +295,7 @@
+ @echo "Installing XPA..."
+ cd $(XPADIR); CC='$(CC)' CFLAGS='$(OPTS)' LDFLAGS='$(OPTS) $(LIBS)' ./configure $(XPAFLAGS) --disable-shared
+ cd $(XPADIR); $(MAKE); $(MAKE) install
+- cd bin; $(STRIP) xpa*
++
+
+ iis : FORCE
+ @echo "Installing IIS..."
diff --git a/sci-astronomy/ds9/files/ds9-5.2-gcc43.patch b/sci-astronomy/ds9/files/ds9-5.2-gcc43.patch
new file mode 100644
index 000000000000..71d2db77028d
--- /dev/null
+++ b/sci-astronomy/ds9/files/ds9-5.2-gcc43.patch
@@ -0,0 +1,208 @@
+--- iis/iistcl.C.orig 2008-04-16 13:53:34.315972056 +0000
++++ iis/iistcl.C 2008-04-16 13:54:57.634895375 +0000
+@@ -4,7 +4,7 @@
+
+ #include <ctype.h>
+ #include <string.h>
+-
++#include <cstdlib>
+ #include <iostream>
+ #include <sstream>
+ using namespace std;
+--- saotk/widget/ps.C.orig 2008-04-16 14:09:20.865993878 +0000
++++ saotk/widget/ps.C 2008-04-16 14:10:04.020453111 +0000
+@@ -4,6 +4,7 @@
+
+ #include "ps.h"
+ #include "util.h"
++#include <cstring>
+
+ Filter::Filter()
+ {
+--- saotk/frame/callback.C.orig 2008-04-16 14:23:03.661659706 +0000
++++ saotk/frame/callback.C 2008-04-16 14:36:52.264879112 +0000
+@@ -2,8 +2,8 @@
+ // Smithsonian Astrophysical Observatory, Cambridge, MA, USA
+ // For conditions of distribution and use, see copyright notice in "copyright"
+
+-#include <string.h>
+-#include <iostream.h>
++#include <cstring>
++#include <iostream>
+
+ #include "callback.h"
+
+--- saotk/frame/ciaoparser.C.orig 2008-04-16 15:12:42.535454290 +0000
++++ saotk/frame/ciaoparser.C 2008-04-16 15:13:18.023725663 +0000
+@@ -128,9 +128,9 @@
+
+ #define FITSPTR (fr->findFits(1))
+
+-#include <math.h>
+-#include <string.h>
+-#include <iostream.h>
++#include <cmath>
++#include <cstring>
++#include <iostream>
+
+ #include "framebase.h"
+ #include "fitsimage.h"
+--- saotk/frame/ds9parser.C.orig 2008-04-16 15:12:42.535454290 +0000
++++ saotk/frame/ds9parser.C 2008-04-16 15:13:40.601718953 +0000
+@@ -333,9 +333,9 @@
+ #define FITSPTR (fr->findFits(globalTile))
+ #define DISCARD_(x) {yyclearin; mkDiscard(x);}
+
+-#include <math.h>
+-#include <string.h>
+-#include <iostream.h>
++#include <cmath>
++#include <cstring>
++#include <iostream>
+
+ #include "framebase.h"
+ #include "fitsimage.h"
+--- saotk/frame/fitsdata.C.orig 2008-04-16 15:09:33.746979438 +0000
++++ saotk/frame/fitsdata.C 2008-04-16 15:11:28.432297279 +0000
+@@ -2,11 +2,11 @@
+ // Smithsonian Astrophysical Observatory, Cambridge, MA, USA
+ // For conditions of distribution and use, see copyright notice in "copyright"
+
+-#include <stdlib.h>
+-#include <limits.h>
+-#include <float.h>
+-#include <iostream.h>
+-#include <math.h>
++#include <cstdlib>
++#include <climits>
++#include <cfloat>
++#include <iostream>
++#include <cmath>
+
+ #include "fitsdata.h"
+ #include "colorscale.h"
+--- saotk/frame/inversescale.C.orig 2008-04-16 15:12:42.539452518 +0000
++++ saotk/frame/inversescale.C 2008-04-16 15:13:56.113594982 +0000
+@@ -2,8 +2,8 @@
+ // Smithsonian Astrophysical Observatory, Cambridge, MA, USA
+ // For conditions of distribution and use, see copyright notice in "copyright"
+
+-#include <iostream.h>
+-#include <math.h>
++#include <iostream>
++#include <cmath>
+
+ #include "inversescale.h"
+ #include "framebase.h"
+--- saotk/frame/parser.C.orig 2008-04-16 15:12:42.539452518 +0000
++++ saotk/frame/parser.C 2008-04-16 15:14:20.254970721 +0000
+@@ -708,9 +708,9 @@
+
+ #define FITSPTR (fr->findFits(1))
+
+-#include <math.h>
+-#include <string.h>
+-#include <iostream.h>
++#include <cmath>
++#include <cstring>
++#include <iostream>
+
+ #include "framebase.h"
+ #include "frame.h"
+--- saotk/frame/prosparser.C.orig 2008-04-16 15:12:42.543450746 +0000
++++ saotk/frame/prosparser.C 2008-04-16 15:14:40.360116448 +0000
+@@ -155,9 +155,9 @@
+ #define FITSPTR (fr->findFits(1))
+ #define DISCARD_(x) {yyclearin; prosDiscard(x);}
+
+-#include <math.h>
+-#include <string.h>
+-#include <iostream.h>
++#include <cmath>
++#include <cstring>
++#include <iostream>
+
+ #include "framebase.h"
+ #include "fitsimage.h"
+--- saotk/frame/saoparser.C.orig 2008-04-16 15:12:42.547448974 +0000
++++ saotk/frame/saoparser.C 2008-04-16 15:14:56.133015294 +0000
+@@ -121,9 +121,9 @@
+ #define FITSPTR (fr->findFits(1))
+ #define DISCARD_(x) {yyclearin; saoDiscard(x);}
+
+-#include <math.h>
+-#include <string.h>
+-#include <iostream.h>
++#include <cmath>
++#include <cstring>
++#include <iostream>
+
+ #include "framebase.h"
+ #include "fitsimage.h"
+--- saotk/frame/tngparser.C.orig 2008-04-16 15:12:42.547448974 +0000
++++ saotk/frame/tngparser.C 2008-04-16 15:15:11.549893852 +0000
+@@ -167,9 +167,9 @@
+ #define FITSPTR (fr->findFits(1))
+ #define DISCARD_(x) {yyclearin; tngDiscard(x);}
+
+-#include <math.h>
+-#include <string.h>
+-#include <iostream.h>
++#include <cmath>
++#include <cstring>
++#include <iostream>
+
+ #include "framebase.h"
+ #include "fitsimage.h"
+--- saotk/frame/xyparser.C.orig 2008-04-16 15:12:42.551447202 +0000
++++ saotk/frame/xyparser.C 2008-04-16 15:15:28.970886617 +0000
+@@ -200,9 +200,9 @@
+
+ #define FITSPTR (fr->findFits(1))
+
+-#include <math.h>
+-#include <string.h>
+-#include <iostream.h>
++#include <cmath>
++#include <cstring>
++#include <iostream>
+
+ #include "framebase.h"
+ #include "fitsimage.h"
+--- saotk/colorbar/colorbarbase.C.orig 2008-04-16 15:41:10.236325709 +0000
++++ saotk/colorbar/colorbarbase.C 2008-04-16 15:33:33.482296780 +0000
+@@ -11,6 +11,7 @@
+ #include <X11/Xutil.h>
+
+ #include "parser.H"
++#include <cstdlib>
+
+ // Parser Stuff
+ #undef yyFlexLexer
+--- saotk/colorbar/colorbar.C.orig 2008-04-16 15:27:48.890467306 +0000
++++ saotk/colorbar/colorbar.C 2008-04-16 15:28:09.291629902 +0000
+@@ -2,8 +2,8 @@
+ // Smithsonian Astrophysical Observatory, Cambridge, MA, USA
+ // For conditions of distribution and use, see copyright notice in "copyright"
+
+-#include <stdlib.h>
+-#include <string.h>
++#include <cstdlib>
++#include <cstring>
+
+ #include "colorbar.h"
+ #include "util.h"
+--- saotk/util/conputs.C.orig 2008-04-16 15:41:48.354497940 +0000
++++ saotk/util/conputs.C 2008-04-16 15:42:01.775262745 +0000
+@@ -1,3 +1,4 @@
++#include <cstring>
+ #include <iostream>
+ using namespace std;
+
+--- ds9/ds9.C.orig 2008-04-16 15:45:04.281663192 +0000
++++ ds9/ds9.C 2008-04-16 15:45:17.622423439 +0000
+@@ -1,3 +1,4 @@
++#include <cstdlib>
+ #include <iostream>
+ using namespace std;
+