diff --git a/graphics/exiv2/Makefile b/graphics/exiv2/Makefile index 411556f8494..57c945a1fd5 100644 --- a/graphics/exiv2/Makefile +++ b/graphics/exiv2/Makefile @@ -1,13 +1,13 @@ -# $OpenBSD: Makefile,v 1.7 2010/04/15 14:11:01 ajacoutot Exp $ +# $OpenBSD: Makefile,v 1.8 2010/05/28 14:39:51 espie Exp $ HOMEPAGE= http://www.exiv2.org/ COMMENT= manipulate image meta-data such as exif and ipct CATEGORIES= graphics devel MASTER_SITES= ${HOMEPAGE} DISTNAME= exiv2-0.18.2 -PKGNAME= ${DISTNAME}p0 +PKGNAME= ${DISTNAME}p1 -SHARED_LIBS += exiv2 3.0 # .8.1 +SHARED_LIBS += exiv2 3.1 # .8.1 WANTLIB += c m stdc++ z expat pthread USE_LIBTOOL= Yes diff --git a/graphics/exiv2/patches/patch-src_version_cpp b/graphics/exiv2/patches/patch-src_version_cpp new file mode 100644 index 00000000000..024f58e0bac --- /dev/null +++ b/graphics/exiv2/patches/patch-src_version_cpp @@ -0,0 +1,11 @@ +$OpenBSD: patch-src_version_cpp,v 1.1 2010/05/28 14:39:51 espie Exp $ +--- src/version.cpp.orig Thu May 13 12:29:14 2010 ++++ src/version.cpp Thu May 13 12:30:15 2010 +@@ -45,6 +45,7 @@ namespace Exiv2 { + return EXIV2_MAKE_VERSION(EXIV2_MAJOR_VERSION, EXIV2_MINOR_VERSION, EXIV2_PATCH_VERSION); + } + ++const char* version() __attribute__((visibility ("default"))); + const char* version() + { + return EXV_PACKAGE_VERSION;