summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-10-16 19:53:16 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-10-16 19:53:16 +0000
commitf91cbd6fab8e2fca79adb565c3fed0b2a9efb430 (patch)
tree753f18949f71d349f43d2776dba2f3f3161668a7 /app-cdr
parentadded keywords (diff)
downloadgentoo-2-f91cbd6fab8e2fca79adb565c3fed0b2a9efb430.tar.gz
gentoo-2-f91cbd6fab8e2fca79adb565c3fed0b2a9efb430.tar.bz2
gentoo-2-f91cbd6fab8e2fca79adb565c3fed0b2a9efb430.zip
patch to build with --asneeded from Kacper Kowalik via bug #272575
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'app-cdr')
-rw-r--r--app-cdr/cdw/ChangeLog6
-rw-r--r--app-cdr/cdw/cdw-0.3.93.ebuild5
-rw-r--r--app-cdr/cdw/files/cdw-0.3.93-asneeded.patch22
3 files changed, 30 insertions, 3 deletions
diff --git a/app-cdr/cdw/ChangeLog b/app-cdr/cdw/ChangeLog
index 346b8f7e4517..fe545c0cd122 100644
--- a/app-cdr/cdw/ChangeLog
+++ b/app-cdr/cdw/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-cdr/cdw
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdw/ChangeLog,v 1.25 2009/09/28 14:53:09 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdw/ChangeLog,v 1.26 2009/10/16 19:53:16 mr_bones_ Exp $
+
+ 16 Oct 2009; Michael Sterrett <mr_bones_@gentoo.org> cdw-0.3.93.ebuild,
+ +files/cdw-0.3.93-asneeded.patch:
+ patch to build with --asneeded from Kacper Kowalik via bug #272575
28 Sep 2009; Michael Sterrett <mr_bones_@gentoo.org> cdw-0.3.93.ebuild:
Build fix from Arseny Solokha (bug #286720)
diff --git a/app-cdr/cdw/cdw-0.3.93.ebuild b/app-cdr/cdw/cdw-0.3.93.ebuild
index 59ad258580f5..8696c3291da6 100644
--- a/app-cdr/cdw/cdw-0.3.93.ebuild
+++ b/app-cdr/cdw/cdw-0.3.93.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdw/cdw-0.3.93.ebuild,v 1.2 2009/09/28 14:53:09 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdw/cdw-0.3.93.ebuild,v 1.3 2009/10/16 19:53:16 mr_bones_ Exp $
EAPI=2
-inherit autotools
+inherit autotools eutils
MY_P=${PN}_${PV}
DESCRIPTION="An ncurses based console frontend for cdrtools and dvd+rw-tools"
@@ -23,6 +23,7 @@ DEPEND="virtual/cdrtools
S=${WORKDIR}/${MY_P}/cdw
src_prepare() {
+ epatch "${FILESDIR}"/${P}-asneeded.patch
rm -f missing
eautoreconf
}
diff --git a/app-cdr/cdw/files/cdw-0.3.93-asneeded.patch b/app-cdr/cdw/files/cdw-0.3.93-asneeded.patch
new file mode 100644
index 000000000000..d649dd181746
--- /dev/null
+++ b/app-cdr/cdw/files/cdw-0.3.93-asneeded.patch
@@ -0,0 +1,22 @@
+--- cdw.orig/src/Makefile.am 2009-08-09 20:02:12.000000000 +0200
++++ cdw/src/Makefile.am 2009-10-16 19:12:55.669768307 +0200
+@@ -35,7 +35,6 @@
+ -Wstrict-prototypes
+
+ # AM_CFLAGS = -pedantic -Wall -Wextra -Wformat-security -Wswitch-default -Wshadow -Wno-declaration-after-statement -Wno-long-long
+-AM_LDFLAGS = -lmenuw -lformw -lpanelw -lncursesw -lpthread -lcdio
+
+
+ # this lists the binaries to produce
+@@ -65,9 +64,11 @@
+
+ # this should include all source files except *_tests.c
+ cdw_SOURCES = $(cdw_base_sources) $(cdw_base_main)
++cdw_LDADD = -lmenuw -lformw -lpanelw -lncursesw -lpthread -lcdio -lm
+
+ # this should include all source files except main.c
+ cdw_tests_SOURCES = $(cdw_base_sources) $(cdw_test_sources) $(cdw_test_main)
++cdw_tests_LDADD = -lmenuw -lformw -lpanelw -lncursesw -lpthread -lcdio -lm
+
+ # all header files
+ noinst_HEADERS = blank_wizard.h cdda2wav.h cddb.h cdrecord_interface.h \