diff options
author | Jörg Bornkessel <hd_brummy@gentoo.org> | 2006-09-05 19:50:24 +0000 |
---|---|---|
committer | Jörg Bornkessel <hd_brummy@gentoo.org> | 2006-09-05 19:50:24 +0000 |
commit | 1811d6a0123b9efa85f18ff62213348c323006ae (patch) | |
tree | a4442c0a9f4482919c54677d44dbcd849428069a /media-plugins | |
parent | Fix bug 145901 by adding a patch. (diff) | |
download | gentoo-2-1811d6a0123b9efa85f18ff62213348c323006ae.tar.gz gentoo-2-1811d6a0123b9efa85f18ff62213348c323006ae.tar.bz2 gentoo-2-1811d6a0123b9efa85f18ff62213348c323006ae.zip |
added patch to fix compile problems on gcc-4.x
(Portage version: 2.1-r2)
Diffstat (limited to 'media-plugins')
-rw-r--r-- | media-plugins/vdr-setup/ChangeLog | 6 | ||||
-rw-r--r-- | media-plugins/vdr-setup/files/vdr-setup-0.3.1-gcc-4.x.diff | 69 |
2 files changed, 74 insertions, 1 deletions
diff --git a/media-plugins/vdr-setup/ChangeLog b/media-plugins/vdr-setup/ChangeLog index 263265b54e5d..6a085565bce1 100644 --- a/media-plugins/vdr-setup/ChangeLog +++ b/media-plugins/vdr-setup/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-plugins/vdr-setup # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-setup/ChangeLog,v 1.8 2006/08/15 10:27:00 zzam Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-setup/ChangeLog,v 1.9 2006/09/05 19:50:24 hd_brummy Exp $ + + 05 Sep 2006; Joerg Bornkessel <hd_brummy@gentoo.org> + +files/vdr-setup-0.3.1-gcc-4.x.diff: + added patch to fix compile problems on gcc-4.x 15 Aug 2006; Matthias Schwarzott <zzam@gentoo.org> metadata.xml: Assigned to Gentoo VDR Project. diff --git a/media-plugins/vdr-setup/files/vdr-setup-0.3.1-gcc-4.x.diff b/media-plugins/vdr-setup/files/vdr-setup-0.3.1-gcc-4.x.diff new file mode 100644 index 000000000000..ba905ade82d7 --- /dev/null +++ b/media-plugins/vdr-setup/files/vdr-setup-0.3.1-gcc-4.x.diff @@ -0,0 +1,69 @@ +Patch will fix compile problems with gcc-4.1.1 +Joerg Bornkessel hd_brummy@gentoo.org +05 Sep 2006 + +written with help of LordJaxom + +diff -Naur setup-0.3.1.orig/menus.h setup-0.3.1/menus.h +--- setup-0.3.1.orig/menus.h 2006-09-05 20:35:37.941397850 +0200 ++++ setup-0.3.1/menus.h 2006-09-05 20:39:08.866579848 +0200 +@@ -101,7 +101,7 @@ + public: + MenuEntryValueList(); + ~MenuEntryValueList(); +- MenuEntryValueList const &MenuEntryValueList::operator =(MenuEntryValueList const &right ); ++ MenuEntryValueList const &operator =(MenuEntryValueList const &right ); + void copy(MenuEntryValueList const &other); + void destroy(); + void Add(const char *value); +@@ -132,9 +132,9 @@ + MenuEntry(); + ~MenuEntry(); + void destroy(); +- bool MenuEntry::AddEntry( TiXmlNode *node ); +- bool MenuEntry::AddSubEntry( TiXmlNode *node ); +- bool MenuEntry::AddSelectionValues( TiXmlNode *node, const char *selection); ++ bool AddEntry( TiXmlNode *node ); ++ bool AddSubEntry( TiXmlNode *node ); ++ bool AddSelectionValues( TiXmlNode *node, const char *selection); + TiXmlNode *SaveXml( ); + void SetSysconfigName(const char* nam); + const char*GetSysconfigName(); +diff -Naur setup-0.3.1.orig/plugins.h setup-0.3.1/plugins.h +--- setup-0.3.1.orig/plugins.h 2006-09-05 20:35:37.953398599 +0200 ++++ setup-0.3.1/plugins.h 2006-09-05 20:36:53.458117352 +0200 +@@ -33,20 +33,20 @@ + bool operator< (Plugin ¶m); + bool operator> (Plugin ¶m); + void Print(); +- const char* Plugin::GetName(); +- const char* Plugin::GetInfo(); +- const char* Plugin::GetParameter(); +- void Plugin::SetName(const char* name); +- void Plugin::SetInfo(const char* info); +- void Plugin::SetParameter(const char* parameter); +- void Plugin::SetActive(int flag); +- void Plugin::SetProtect(bool protect); +- int Plugin::GetActive(); +- int *Plugin::GetActiveRef(); +- void Plugin::SetInSystem(bool flag); +- bool Plugin::GetInSystem(); +- bool Plugin::GetProtect(); +- const char* Plugin::GetActiveString(); ++ const char* GetName(); ++ const char* GetInfo(); ++ const char* GetParameter(); ++ void SetName(const char* name); ++ void SetInfo(const char* info); ++ void SetParameter(const char* parameter); ++ void SetActive(int flag); ++ void SetProtect(bool protect); ++ int GetActive(); ++ int *GetActiveRef(); ++ void SetInSystem(bool flag); ++ bool GetInSystem(); ++ bool GetProtect(); ++ const char* GetActiveString(); + }; + + class Plugins : public cList<Plugin> |