--- /dev/null
+# ChangeLog for media-gfx/metacam
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*metacam-1.2 (07 Feb 2010)
+ 07 Feb 2009; W. Trevor King <wking@drexel.edu> metacam-1.2.ebuild, metacam-1.2-include.patch :
+ - Added metacam-1.2-exit.patch to correct gcc errors:
+ g++ -Wall -ansi -pedantic -D_GNU_SOURCE -O2 -c -o *.o *.cc
+ For "*" was not declared in this scope:
+ exit, abort (cstdlib)
+ strcmp, strerror, strlen (cstring)
+
+*metacam-1.2 (26 Apr 2009)
+ 26 Apr 2009; W. Trevor King <wking@drexel.edu> metacam-1.2.ebuild, metadata.xml :
+ - Created a metadata.xml file.
+ - Added initial ChangeLog which should be updated whenever the
+ package is updated in any way. This changelog is targetted to
+ users. This means that the comments should well explained and
+ written in clean English. The details about writing correct
+ changelogs are explained in the skel.ChangeLog file which you can
+ find in the root directory of the portage repository.
+
+*metacam-1.2 (17 Dec 2005)
+ 17 Dec 2005; Morgan <instanceofgw@gmail.com> metacam-1.2.ebuild :
+ Created ebuild and posted in bug 65200
--- /dev/null
+AUX metacam-1.2-include.patch 2283 RMD160 64ef7a5aec7bbecbcc27e3d3b4514e93cab6f458 SHA1 3ad1cd5a5b570f8ba2fabe3b74ea916809413c98 SHA256 5ffb05a57c9aa2e08ad7adcc163d6f8182a0ce0cf5a361b29d8ae526c415946a
+DIST metacam-1.2.tar.gz 33657 RMD160 1c0a430f73c2c42d4b5be675462c6adf5a5f0391 SHA1 41ae144b2b1c849aebc08568261dc49718667dbe SHA256 3fb1e19e7a32d7bdf6a9ef5a75027a885239f35488035cd066839c175d8ed3a7
+EBUILD metacam-1.2.ebuild 578 RMD160 bf7d0802b5a61187262ae91f4fe22ba1583722ec SHA1 216398f6efb6e0564983eb18c3e4dfa94e0fa127 SHA256 abe3fdcd6d02a21077c982e6c3f4680464ea674ffd3f3cfe681b086526ace1ca
+MISC ChangeLog 1140 RMD160 fadebeb213f341ec71b381b6afd05bf1a9eb4160 SHA1 aa760c623294314839742776a05dd36f07e11615 SHA256 9f70e783cfaf1cd4f27a016b9d58c1a9f396bc45fd1fabf04fd8f5ae5cd70b52
+MISC metadata.xml 296 RMD160 163d20f09511247888f473367a7437c1c91b34ff SHA1 6e8772a56e68242f0e86a2d93ac56aa9f692b8e7 SHA256 f7c8e9b3c5c653e1ccfdddc545564a95d701e0918821ce2deb355316b5702463
--- /dev/null
+diff -ru metacam-1.2/dataifd.cc metacam-1.2-include-patch/dataifd.cc
+--- metacam-1.2/dataifd.cc 2004-08-21 13:56:53.000000000 -0400
++++ metacam-1.2-include-patch/dataifd.cc 2010-02-07 06:31:21.847318254 -0500
+@@ -20,6 +20,7 @@
+ ------------------------------------------------------------------------------
+ */
+
++#include <cstdlib>
+ #include <iostream>
+
+ #include "datatiff.h"
+diff -ru metacam-1.2/datatiff.h metacam-1.2-include-patch/datatiff.h
+--- metacam-1.2/datatiff.h 2004-08-21 13:56:53.000000000 -0400
++++ metacam-1.2-include-patch/datatiff.h 2010-02-07 07:00:49.436321223 -0500
+@@ -23,6 +23,7 @@
+ #ifndef DATATIFF_H_INCLUDED
+ #define DATATIFF_H_INCLUDED
+
++#include <cstdlib>
+ #include "metatiff.h"
+
+ class _DataIFD;
+diff -ru metacam-1.2/dpyfuncs.cc metacam-1.2-include-patch/dpyfuncs.cc
+--- metacam-1.2/dpyfuncs.cc 2004-08-21 13:56:53.000000000 -0400
++++ metacam-1.2-include-patch/dpyfuncs.cc 2010-02-07 06:46:39.002319087 -0500
+@@ -23,6 +23,7 @@
+ #include <iostream>
+ #include <math.h>
+ #include <cstdio>
++#include <cstring>
+ #include <ctype.h>
+
+ #include "metacam.h"
+diff -ru metacam-1.2/editifd.cc metacam-1.2-include-patch/editifd.cc
+--- metacam-1.2/editifd.cc 2004-08-21 13:56:53.000000000 -0400
++++ metacam-1.2-include-patch/editifd.cc 2010-02-07 06:31:18.001318233 -0500
+@@ -20,6 +20,7 @@
+ ------------------------------------------------------------------------------
+ */
+
++#include <cstdlib>
+ #include <iostream>
+
+ #include "edittiff.h"
+diff -ru metacam-1.2/metacam.cc metacam-1.2-include-patch/metacam.cc
+--- metacam-1.2/metacam.cc 2004-08-21 13:56:53.000000000 -0400
++++ metacam-1.2-include-patch/metacam.cc 2010-02-07 06:59:40.023317204 -0500
+@@ -20,6 +20,7 @@
+ ------------------------------------------------------------------------------
+ */
+
++#include <cstdlib>
+ #include <iostream>
+ #include <fstream>
+ #include <cstdio>
+diff -ru metacam-1.2/ocontext.cc metacam-1.2-include-patch/ocontext.cc
+--- metacam-1.2/ocontext.cc 2004-08-21 13:56:53.000000000 -0400
++++ metacam-1.2-include-patch/ocontext.cc 2010-02-07 07:09:10.481319723 -0500
+@@ -22,6 +22,8 @@
+
+ static const char *rcsid __attribute__((unused))="$Id: ocontext.cc,v 1.5 2004/08/21 17:23:24 daniel Exp $";
+
++#include <cstdlib>
++#include <cstring>
+ #include "odrivers.h"
+
+ #include <ctype.h>
--- /dev/null
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils
+
+DESCRIPTION="Camera Image Meta-Information Reader"
+HOMEPAGE="http://www.cheeseplant.org/~daniel/pages/metacam.html"
+SRC_URI="http://www.cheeseplant.org/metacam/downloads/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE=""
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch ${FILESDIR}/${P}-include.patch
+}
+
+src_compile() {
+ make || die
+}
+
+src_install() {
+ into /usr
+ dobin metacam
+
+ dodoc BUGS LICENSE.txt README* THANKS layout.txt
+}
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <longdescription>
+Extract EXIF information from digital camera files, with support for
+Vendor specific blocks.
+ </longdescription>
+</pkgmetadata>