PKGBUILDs/community/vyqchat/build-fix.patch
2009-10-09 21:15:33 -05:00

36 lines
1.5 KiB
Diff

diff -wbBur vyqchat-0.2.8/src/settings.h vyqchat-0.2.8.my/src/settings.h
--- vyqchat-0.2.8/src/settings.h 2005-07-18 22:54:08.000000000 +0400
+++ vyqchat-0.2.8.my/src/settings.h 2007-02-21 21:05:11.000000000 +0300
@@ -88,7 +88,7 @@
//
// Get methods
- const UUID& Settings::getUUID() const { return uuid; }
+ const UUID& getUUID() const { return uuid; }
const QString& getIconThemeName() const { return icontheme; }
const QString& getNick() const { return nick; }
char getGender() const { return gender; }
diff -wbBur vyqchat-0.2.8/src/sound.h vyqchat-0.2.8.my/src/sound.h
--- vyqchat-0.2.8/src/sound.h 2005-07-18 22:54:08.000000000 +0400
+++ vyqchat-0.2.8.my/src/sound.h 2007-02-21 21:04:45.000000000 +0300
@@ -47,7 +47,7 @@
bool reload_samples(Settings &settings);
static bool init(Settings *settings);
static void close();
- static const QString& Sound::error();
+ static const QString& error();
static void play(VyEvent evt);
};
diff -wbBur vyqchat-0.2.8/src/user.h vyqchat-0.2.8.my/src/user.h
--- vyqchat-0.2.8/src/user.h 2005-07-18 23:03:01.000000000 +0400
+++ vyqchat-0.2.8.my/src/user.h 2007-02-21 21:04:14.000000000 +0300
@@ -38,7 +38,7 @@
}
return false;
}
- bool User::setStatus(char s) { status=s; return true; }
+ bool setStatus(char s) { status=s; return true; }
void setNick(const QString &nick) { setText(nick); }
int incDeadCounter() { if (dcnt<1) dcnt++; return dcnt; }
int decDeadCounter() { return --dcnt; }