Warning, /multimedia/kid3/packaging/patches/id3lib-3.8.3-win00-mingw.patch is written in an unsupported language. File is not indexed.
0001 diff -ru id3lib-3.8.3.orig/configure.in id3lib-3.8.3/configure.in 0002 --- id3lib-3.8.3.orig/configure.in 2012-02-05 13:09:59 +0100 0003 +++ id3lib-3.8.3/configure.in 2012-02-05 13:16:33 +0100 0004 @@ -222,7 +222,7 @@ 0005 AC_LANG_CPLUSPLUS 0006 AC_CHECK_HEADERS(libcw/sys.h) 0007 AC_CHECK_HEADERS(cctype climits cstdio cstdlib bitset cstring) 0008 -AC_CHECK_HEADERS(fstream iostream iomanip vector \ 0009 +AC_CHECK_HEADERS(fstream iostream vector \ 0010 ,,AC_MSG_ERROR([Missing a vital header file for id3lib - download them here: http://gcc.gnu.org/libstdc++/ or better - compile a newer compiler like gcc3.x]) 0011 ) 0012 AC_CHECK_HEADERS( \ 0013 @@ -248,10 +248,10 @@ 0014 AM_CONDITIONAL(ID3_NEEDGETOPT_LONG, test x$ac_cv_func_getopt_long = xno) 0015 0016 AC_CHECK_FUNCS(mkstemp) 0017 -AC_CHECK_FUNCS( 0018 - truncate \ 0019 - ,,AC_MSG_ERROR([Missing a vital function for id3lib]) 0020 -) 0021 +#AC_CHECK_FUNCS( 0022 +# truncate \ 0023 +# ,,AC_MSG_ERROR([Missing a vital function for id3lib]) 0024 +#) 0025 0026 dnl Checks for typedefs, structures, and compiler characteristics. 0027 AC_TYPE_SIZE_T 0028 diff -ru id3lib-3.8.3.orig/include/id3/globals.h id3lib-3.8.3/include/id3/globals.h 0029 --- id3lib-3.8.3.orig/include/id3/globals.h 2012-02-05 13:09:59 +0100 0030 +++ id3lib-3.8.3/include/id3/globals.h 2012-02-05 13:15:42 +0100 0031 @@ -41,7 +41,7 @@ 0032 * we prefix variable declarations so they can 0033 * properly get exported in windows dlls. 0034 */ 0035 -#ifdef WIN32 0036 +#ifdef __MSVC_VER 0037 # define LINKOPTION_STATIC 1 //both for use and creation of static lib 0038 # define LINKOPTION_CREATE_DYNAMIC 2 //should only be used by prj/id3lib.dsp 0039 # define LINKOPTION_USE_DYNAMIC 3 //if your project links id3lib dynamic