public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Orlitzky" <mjo@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/minbif/, net-im/minbif/files/
Date: Thu, 28 Jul 2016 17:08:37 +0000 (UTC)	[thread overview]
Message-ID: <1469725570.159f337e908f4b7c9dff13ebd92df7adcc3e27b5.mjo@gentoo> (raw)

commit:     159f337e908f4b7c9dff13ebd92df7adcc3e27b5
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 28 17:05:51 2016 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Thu Jul 28 17:06:10 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=159f337e

net-im/minbif: fix build with newer imlib.

Newer versions of imlib have renamed ImlibLoadError to
Imlib_Load_Error. This commit adds a minimal patch to fix the
build. It's bad mojo to modify a stable ebuild, but there are
mitigating factors here. First, the stable package simply will not
build without the patch, so it's not much good to anyone. Second, this
package is maintainer-needed, and a new revision would therefore never
get stabilized to truly fix the bug for stable users. So, I've applied
the patch to the one existing stable ebuild.

Gentoo-Bug: 559412

Package-Manager: portage-2.2.28

 .../minbif/files/minbif-1.0.5-rename-imlib-load-error.patch | 13 +++++++++++++
 net-im/minbif/minbif-1.0.5-r2.ebuild                        |  1 +
 2 files changed, 14 insertions(+)

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 0000000..e9fa875
--- /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 0262b1a..b50395c 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"
 


             reply	other threads:[~2016-07-28 17:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-28 17:08 Michael Orlitzky [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-05-02 22:24 [gentoo-commits] repo/gentoo:master commit in: net-im/minbif/, net-im/minbif/files/ Austin English

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1469725570.159f337e908f4b7c9dff13ebd92df7adcc3e27b5.mjo@gentoo \
    --to=mjo@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox