diff options
-rw-r--r-- | net-im/minbif/files/minbif-1.0.5-rename-imlib-load-error.patch | 13 | ||||
-rw-r--r-- | net-im/minbif/minbif-1.0.5-r2.ebuild | 1 |
2 files changed, 14 insertions, 0 deletions
diff --git a/net-im/minbif/files/minbif-1.0.5-rename-imlib-load-error.patch b/net-im/minbif/files/minbif-1.0.5-rename-imlib-load-error.patch new file mode 100644 index 000000000000..e9fa875d247c --- /dev/null +++ b/net-im/minbif/files/minbif-1.0.5-rename-imlib-load-error.patch @@ -0,0 +1,13 @@ +diff --git a/src/im/account.cpp b/src/im/account.cpp +index f155334..f040fcd 100644 +--- a/src/im/account.cpp ++++ b/src/im/account.cpp +@@ -272,7 +272,7 @@ void Account::setBuddyIcon(string filename) + else + { + char** prpl_formats = g_strsplit(prplinfo->icon_spec.format,",",0); +- ImlibLoadError err = IMLIB_LOAD_ERROR_UNKNOWN; ++ Imlib_Load_Error err = IMLIB_LOAD_ERROR_UNKNOWN; + + close(temp_fd); + /* Try to encode in a supported format. */ diff --git a/net-im/minbif/minbif-1.0.5-r2.ebuild b/net-im/minbif/minbif-1.0.5-r2.ebuild index 0262b1a52067..b50395ca5bd2 100644 --- a/net-im/minbif/minbif-1.0.5-r2.ebuild +++ b/net-im/minbif/minbif-1.0.5-r2.ebuild @@ -37,6 +37,7 @@ pkg_setup() { src_prepare() { epatch "${FILESDIR}/${PN}-1.0.5-glib-single-includes.patch" epatch "${FILESDIR}/${PN}-1.0.5-gcc47.patch" + epatch "${FILESDIR}/${PN}-1.0.5-rename-imlib-load-error.patch" sed -i "s/-Werror//g" CMakeLists.txt || die "sed failed" |