diff options
author | Jeremy Olexa <darkside@gentoo.org> | 2008-12-19 14:09:22 +0000 |
---|---|---|
committer | Jeremy Olexa <darkside@gentoo.org> | 2008-12-19 14:09:22 +0000 |
commit | 3f655fc70ad08b13ee102012e291b6edef982e9c (patch) | |
tree | aea4e77e9dab2001c7d310186c50b4c9b0ae1e29 /media-radio | |
parent | Version bump. Remove intermediate version. (diff) | |
download | gentoo-2-3f655fc70ad08b13ee102012e291b6edef982e9c.tar.gz gentoo-2-3f655fc70ad08b13ee102012e291b6edef982e9c.tar.bz2 gentoo-2-3f655fc70ad08b13ee102012e291b6edef982e9c.zip |
add patch to tucnak2-2.20 to allow build, by Thomas Beierlein. bug 251195
(Portage version: 2.2_rc17/cvs/Linux 2.6.27.8 x86_64)
Diffstat (limited to 'media-radio')
-rw-r--r-- | media-radio/tucnak2/ChangeLog | 6 | ||||
-rw-r--r-- | media-radio/tucnak2/files/tucnak2-2.20-hamlib.diff | 32 | ||||
-rw-r--r-- | media-radio/tucnak2/tucnak2-2.20.ebuild | 5 |
3 files changed, 40 insertions, 3 deletions
diff --git a/media-radio/tucnak2/ChangeLog b/media-radio/tucnak2/ChangeLog index 367cd8a9ec7b..599ec4b43f08 100644 --- a/media-radio/tucnak2/ChangeLog +++ b/media-radio/tucnak2/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-radio/tucnak2 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-radio/tucnak2/ChangeLog,v 1.4 2008/12/08 14:04:46 darkside Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-radio/tucnak2/ChangeLog,v 1.5 2008/12/19 14:09:18 darkside Exp $ + + 19 Dec 2008; Jeremy Olexa <darkside@gentoo.org> + +files/tucnak2-2.20-hamlib.diff, tucnak2-2.20.ebuild: + add patch to tucnak2-2.20 to allow build, by Thomas Beierlein. bug 251195 *tucnak2-2.20 (08 Dec 2008) diff --git a/media-radio/tucnak2/files/tucnak2-2.20-hamlib.diff b/media-radio/tucnak2/files/tucnak2-2.20-hamlib.diff new file mode 100644 index 000000000000..2e95b54b934a --- /dev/null +++ b/media-radio/tucnak2/files/tucnak2-2.20-hamlib.diff @@ -0,0 +1,32 @@ +--- src/menu.c.orig 2008-12-16 19:31:53.000000000 +0100 ++++ src/menu.c 2008-12-16 19:32:12.000000000 +0100 +@@ -1224,7 +1224,9 @@ + {CTEXT(T_AUDIO), "", CTEXT(T_HK_AUDIO), MENU_FUNC menu_ssbd, {NULL}, 0, 0}, + {CTEXT(T_CW_CQ), ">", CTEXT(T_HK_CW_CQ), MENU_FUNC menu_cq_cw, {NULL}, 1, 0}, + {CTEXT(T_SSB_CQ), ">", CTEXT(T_HK_SSB_CQ), MENU_FUNC menu_cq_ssb, {NULL}, 1, 0}, ++#if HAVE_HAMLIB + {CTEXT(T_RIGOPTS), "", CTEXT(T_HK_RIGOPTS), MENU_FUNC menu_rig_opts, {NULL}, 0, 0}, ++#endif + {CTEXT(T_AUTOSAVE), "", CTEXT(T_HK_AUTOSAVE), MENU_FUNC menu_autosave, {NULL}, 0, 0}, + {CTEXT(T_NETWORK), "", CTEXT(T_HK_NETWORK), MENU_FUNC menu_network, {NULL}, 0, 0}, + {CTEXT(T_MISCOPTS), "", CTEXT(T_HK_MISCOPTS), MENU_FUNC misc_opts, {NULL}, 0, 0}, +--- src/menu5.c.orig 2008-12-16 19:32:20.000000000 +0100 ++++ src/menu5.c 2008-12-16 19:32:47.000000000 +0100 +@@ -485,6 +485,7 @@ + + /************************** rig ******************************/ + ++#if HAVE_HAMLIB + char rig_filename[MAX_STR_LEN]; + char rig_model_str[EQSO_LEN]; + /* choose manufacturer */ +@@ -711,8 +712,7 @@ + d->items[++i].type = D_END; + do_dialog(d, getml(d, NULL)); + } +- +- ++#endif + + + diff --git a/media-radio/tucnak2/tucnak2-2.20.ebuild b/media-radio/tucnak2/tucnak2-2.20.ebuild index 7199cfaac305..2e6ce8342019 100644 --- a/media-radio/tucnak2/tucnak2-2.20.ebuild +++ b/media-radio/tucnak2/tucnak2-2.20.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-radio/tucnak2/tucnak2-2.20.ebuild,v 1.1 2008/12/08 14:04:46 darkside Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-radio/tucnak2/tucnak2-2.20.ebuild,v 1.2 2008/12/19 14:09:18 darkside Exp $ inherit eutils autotools @@ -28,7 +28,8 @@ src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}/${PN}-2.19-doc.diff" \ - "${FILESDIR}/${PN}-2.19-appname.diff" + "${FILESDIR}/${PN}-2.19-appname.diff" \ + "${FILESDIR}/${PN}-2.20-hamlib.diff" eautoreconf } |