$OpenBSD: patch-source_XMPFiles_FormatSupport_ID3_Support_hpp,v 1.1 2018/04/10 16:53:12 jasper Exp $

https://cgit.freedesktop.org/exempi/commit/?id=b6ff77dd74a1

Index: source/XMPFiles/FormatSupport/ID3_Support.hpp
--- source/XMPFiles/FormatSupport/ID3_Support.hpp.orig
+++ source/XMPFiles/FormatSupport/ID3_Support.hpp
@@ -700,28 +700,28 @@ namespace ID3_Support 
 			LFA_WriteUns8( file, 'G' );
 
 			// title //////////////////////////////////////////////////////
-			if ( meta->GetLocalizedText( kXMP_NS_DC, "title", "", "x-default", 0, &utf8, kXMP_NoOptions ))
+			if ( meta->GetLocalizedText( kXMP_NS_DC, "title", "", "x-default", 0, &utf8, 0 ))
 			{
 				LFA_Seek( file, -128 + 3, SEEK_END);
 				ReconcileUtils::UTF8ToLatin1( utf8.c_str(), utf8.size(), &latin1 );
 				LFA_Write( file, latin1.c_str(), MIN( 30, (XMP_Int32)latin1.size() ) );
 			}
 			// artist //////////////////////////////////////////////////////
-			if ( meta->GetProperty( kXMP_NS_DM, "artist", &utf8, kXMP_NoOptions ))
+			if ( meta->GetProperty( kXMP_NS_DM, "artist", &utf8, 0 ))
 			{
 				LFA_Seek( file, -128 + 33, SEEK_END);
 				ReconcileUtils::UTF8ToLatin1( utf8.c_str(), utf8.size(), &latin1 );
 				LFA_Write( file, latin1.c_str(), MIN( 30, (XMP_Int32)latin1.size() ) );
 			}
 			// album //////////////////////////////////////////////////////
-			if ( meta->GetProperty( kXMP_NS_DM, "album", &utf8, kXMP_NoOptions ))
+			if ( meta->GetProperty( kXMP_NS_DM, "album", &utf8, 0 ))
 			{
 				LFA_Seek( file, -128 + 63, SEEK_END);
 				ReconcileUtils::UTF8ToLatin1( utf8.c_str(), utf8.size(), &latin1 );
 				LFA_Write( file, latin1.c_str(), MIN( 30, (XMP_Int32)latin1.size() ) );
 			}
 			// year //////////////////////////////////////////////////////
-			if ( meta->GetProperty( kXMP_NS_XMP, "CreateDate", &utf8, kXMP_NoOptions ))
+			if ( meta->GetProperty( kXMP_NS_XMP, "CreateDate", &utf8, 0 ))
 			{
 				XMP_DateTime dateTime;
 				SXMPUtils::ConvertToDate( utf8, &dateTime );
@@ -733,14 +733,14 @@ namespace ID3_Support 
 				}
 			}
 			// comment (write 30 bytes first, see truncation later) ////////////
-			if ( meta->GetProperty( kXMP_NS_DM, "logComment", &utf8, kXMP_NoOptions ))
+			if ( meta->GetProperty( kXMP_NS_DM, "logComment", &utf8, 0 ))
 			{
 				LFA_Seek ( file, -128 + 97, SEEK_END );
 				ReconcileUtils::UTF8ToLatin1 ( utf8.c_str(), utf8.size(), &latin1 );
 				LFA_Write ( file, latin1.c_str(), MIN ( 30, (XMP_Int32)latin1.size() ) );
 			}
 			// genre ////////////////////////////////////////////////////////////////
-			if ( meta->GetProperty( kXMP_NS_DM, "genre", &utf8, kXMP_NoOptions ))
+			if ( meta->GetProperty( kXMP_NS_DM, "genre", &utf8, 0 ))
 			{
 				XMP_Uns8 genreNo = 0;
 
@@ -760,7 +760,7 @@ namespace ID3_Support 
 			}
 			
 			// trackNo ////////////////////////////////////////////////////////////
-			if ( meta->GetProperty( kXMP_NS_DM, "trackNumber", &utf8, kXMP_NoOptions ))
+			if ( meta->GetProperty( kXMP_NS_DM, "trackNumber", &utf8, 0 ))
 			{
 				XMP_Uns8 trackNo = 0;
 				try
