From 34ab21e3d869076d4cd93eb212d2e0cc3f5b4887 Mon Sep 17 00:00:00 2001 From: fake Date: Sat, 18 Sep 2004 19:29:20 +0000 Subject: [PATCH] fake: openhbci: update to 0.9.16 add gcc34.diff + apply logic [2004091309360717602] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@4295 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/tibit/openhbci/gcc34.diff | 23 +++++++++++++++++++++++ package/tibit/openhbci/openhbci.conf | 10 ++++++++-- package/tibit/openhbci/openhbci.desc | 4 ++-- 3 files changed, 33 insertions(+), 4 deletions(-) create mode 100644 package/tibit/openhbci/gcc34.diff diff --git a/package/tibit/openhbci/gcc34.diff b/package/tibit/openhbci/gcc34.diff new file mode 100644 index 000000000..7a0ea6669 --- /dev/null +++ b/package/tibit/openhbci/gcc34.diff @@ -0,0 +1,23 @@ +--- ./src/openhbci/tree.h.orig 2004-06-25 14:52:53.729307602 +0200 ++++ ./src/openhbci/tree.h 2004-06-25 14:53:01.057222682 +0200 +@@ -695,16 +695,16 @@ + * Returns an iterator that points to the root of the tree. + * @author Martin Preuss + */ +- Tree::iterator root() { +- return Tree::iterator(&_root); ++ iterator root() { ++ return iterator(&_root); + }; + + /** + * Returns an const_iterator that points to the root of the tree. + * @author Martin Preuss + */ +- Tree::const_iterator const_root() const { +- return Tree::const_iterator(&_root); ++ const_iterator const_root() const { ++ return const_iterator(&_root); + }; + + /** diff --git a/package/tibit/openhbci/openhbci.conf b/package/tibit/openhbci/openhbci.conf index 5f327e414..f02fbeb0c 100644 --- a/package/tibit/openhbci/openhbci.conf +++ b/package/tibit/openhbci/openhbci.conf @@ -20,12 +20,18 @@ # # --- ROCK-COPYRIGHT-NOTE-END --- +ohbci_set_patch () { + if [[ $xsrctar = openhbci-$ver.tar.bz2 ]] ; then + var_append patchfiles ' ' "$confdir/gcc34.diff" + fi +} -set_docdir () { +ohbci_set_docdir () { if [[ $xsrctar = *plugin-ddvcard* ]] ; then docdir=$docdir/plugin-ddvcard mkdir $docdir || true fi } -hook_add preconf 10 set_docdir +hook_add prepatch 5 ohbci_set_patch +hook_add preconf 10 ohbci_set_docdir diff --git a/package/tibit/openhbci/openhbci.desc b/package/tibit/openhbci/openhbci.desc index a164cc06c..2c53f7884 100644 --- a/package/tibit/openhbci/openhbci.desc +++ b/package/tibit/openhbci/openhbci.desc @@ -42,11 +42,11 @@ [L] GPL [S] Beta -[V] 0.9.14 +[V] 0.9.16 [P] X -?---5---9 176.600 [SRC] openhbci -[D] 2589234165 openhbci-0.9.14.tar.gz http://dl.sourceforge.net/sourceforge/openhbci/ +[D] 4052213954 openhbci-0.9.16.tar.gz http://dl.sourceforge.net/sourceforge/openhbci/ [D] 3829098336 openhbci-plugin-ddvcard-0.4.2.tar.gz http://dl.sourceforge.net/sourceforge/openhbci/