summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hill <dirtyepic@gentoo.org>2007-05-19 22:06:30 +0000
committerRyan Hill <dirtyepic@gentoo.org>2007-05-19 22:06:30 +0000
commit1ac19e184bcae16ea5187df973c625fe9b632257 (patch)
tree8032a1a90805c7812222ca413269263132aefda4 /media-sound/freqtweak
parentdev-util/nemiver: checks for gtkmm in configure are outdated (fixes bug #166295) (diff)
downloadgentoo-2-1ac19e184bcae16ea5187df973c625fe9b632257.tar.gz
gentoo-2-1ac19e184bcae16ea5187df973c625fe9b632257.tar.bz2
gentoo-2-1ac19e184bcae16ea5187df973c625fe9b632257.zip
Add patch for AMD64 build failure in bug #176428.
(Portage version: 2.1.2.7)
Diffstat (limited to 'media-sound/freqtweak')
-rw-r--r--media-sound/freqtweak/ChangeLog7
-rw-r--r--media-sound/freqtweak/files/freqtweak-0.7.0_pre20070214-amd64-fixes.patch30
-rw-r--r--media-sound/freqtweak/freqtweak-0.7.0_pre20070214.ebuild7
3 files changed, 40 insertions, 4 deletions
diff --git a/media-sound/freqtweak/ChangeLog b/media-sound/freqtweak/ChangeLog
index a425d5b4e3bf..a73db6714623 100644
--- a/media-sound/freqtweak/ChangeLog
+++ b/media-sound/freqtweak/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-sound/freqtweak
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/freqtweak/ChangeLog,v 1.22 2007/05/06 15:03:15 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/freqtweak/ChangeLog,v 1.23 2007/05/19 22:06:30 dirtyepic Exp $
+
+ 19 May 2007; Ryan Hill <dirtyepic@gentoo.org>
+ +files/freqtweak-0.7.0_pre20070214-amd64-fixes.patch,
+ freqtweak-0.7.0_pre20070214.ebuild:
+ Add patch for AMD64 build failure in bug #176428.
06 May 2007; Tobias Scherbaum <dertobi123@gentoo.org>
freqtweak-0.7.0_pre20070214.ebuild:
diff --git a/media-sound/freqtweak/files/freqtweak-0.7.0_pre20070214-amd64-fixes.patch b/media-sound/freqtweak/files/freqtweak-0.7.0_pre20070214-amd64-fixes.patch
new file mode 100644
index 000000000000..2a176ec4a544
--- /dev/null
+++ b/media-sound/freqtweak/files/freqtweak-0.7.0_pre20070214-amd64-fixes.patch
@@ -0,0 +1,30 @@
+diff -Naur freqtweak-orig/src/FTprocOrderDialog.cpp freqtweak/src/FTprocOrderDialog.cpp
+--- freqtweak-orig/src/FTprocOrderDialog.cpp 2005-08-14 10:15:47.000000000 -0600
++++ freqtweak/src/FTprocOrderDialog.cpp 2007-05-19 15:39:33.000000000 -0600
+@@ -210,7 +210,7 @@
+ for (; mod != mlist.end(); ++mod)
+ {
+ item.SetText (wxString::FromAscii ((*mod)->getName().c_str()));
+- item.SetData ((unsigned) (*mod));
++ item.SetData ((unsigned long) (*mod));
+ item.SetId(pos++);
+
+ _sourceList->InsertItem(item);
+@@ -230,7 +230,7 @@
+ for (unsigned int n=0; n < procmods.size(); ++n)
+ {
+ item.SetText (wxString::FromAscii (procmods[n]->getName().c_str()));
+- item.SetData ((unsigned) procmods[n]);
++ item.SetData ((unsigned long) procmods[n]);
+ item.SetId (n);
+
+ _targetList->InsertItem(item);
+@@ -441,7 +441,7 @@
+
+ if (proc) {
+ item.SetText (wxString::FromAscii (proc->getName().c_str()));
+- item.SetData ((unsigned)proc);
++ item.SetData ((unsigned long)proc);
+ item.SetId (_targetList->GetItemCount());
+
+ _targetList->InsertItem(item);
diff --git a/media-sound/freqtweak/freqtweak-0.7.0_pre20070214.ebuild b/media-sound/freqtweak/freqtweak-0.7.0_pre20070214.ebuild
index 17285eb00071..bce27b884810 100644
--- a/media-sound/freqtweak/freqtweak-0.7.0_pre20070214.ebuild
+++ b/media-sound/freqtweak/freqtweak-0.7.0_pre20070214.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/freqtweak/freqtweak-0.7.0_pre20070214.ebuild,v 1.5 2007/05/06 15:03:15 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/freqtweak/freqtweak-0.7.0_pre20070214.ebuild,v 1.6 2007/05/19 22:06:30 dirtyepic Exp $
inherit eutils autotools wxwidgets flag-o-matic
@@ -25,14 +25,15 @@ src_unpack() {
unpack ${A}
cd "${S}"
+ epatch "${FILESDIR}"/${P}-amd64-fixes.patch
eautoreconf
}
src_compile() {
WX_GTK_VER="2.6"
- need-wxwidgets gtk2 || die "No gtk2 version of x11-libs/wxGTK found"
+ need-wxwidgets gtk2
- append-flags "-fno-strict-aliasing"
+ append-flags -fno-strict-aliasing
econf \
--with-wxconfig-path=${WX_CONFIG} || die "econf failed"