diff options
author | markus <markus@FreeBSD.org> | 2004-08-16 02:18:41 +0800 |
---|---|---|
committer | markus <markus@FreeBSD.org> | 2004-08-16 02:18:41 +0800 |
commit | 3414aca09d6225d239d4f5c288c5ca6a975c72e5 (patch) | |
tree | 7be5378eeee2c299a17d03f79f4a1c32f0d12ce6 | |
parent | 7be61b42135a27438441063d0c66f61014118568 (diff) | |
download | freebsd-ports-gnome-3414aca09d6225d239d4f5c288c5ca6a975c72e5.tar.gz freebsd-ports-gnome-3414aca09d6225d239d4f5c288c5ca6a975c72e5.tar.zst freebsd-ports-gnome-3414aca09d6225d239d4f5c288c5ca6a975c72e5.zip |
Fix build with gcc 3.4
Noticed by: pointyhat
4 files changed, 110 insertions, 0 deletions
diff --git a/deskutils/kickpim/files/patch-src-dialogs-kickpimcard.cpp b/deskutils/kickpim/files/patch-src-dialogs-kickpimcard.cpp new file mode 100644 index 000000000000..d22e2d14adfd --- /dev/null +++ b/deskutils/kickpim/files/patch-src-dialogs-kickpimcard.cpp @@ -0,0 +1,20 @@ +--- src/dialogs/kickpimcard.cpp.orig Sun Aug 15 19:54:43 2004 ++++ src/dialogs/kickpimcard.cpp Sun Aug 15 19:55:32 2004 +@@ -309,7 +309,7 @@ + if (prefFound) m_content[PHONE]->selectContent( i18n("Preferred Number") ); + else if (homeFound) m_content[PHONE]->selectContent( i18n("home phone") ); + else m_content[PHONE]->selectContent( i18n(phoneMap.begin().key()) ); +-}; ++} + + + void KickPimCard::setAddressContent() +@@ -352,7 +352,7 @@ + if (type && KABC::Address::Pref) text+="Pref<br>"; + */ + return text; +-}; ++} + + void KickPimCard::setBirthdayContent () + { diff --git a/deskutils/kickpim/files/patch-src-kickpimcontactview.cpp b/deskutils/kickpim/files/patch-src-kickpimcontactview.cpp new file mode 100644 index 000000000000..17a335a26151 --- /dev/null +++ b/deskutils/kickpim/files/patch-src-kickpimcontactview.cpp @@ -0,0 +1,29 @@ +--- src/kickpimcontactview.cpp.orig Sun Aug 15 20:02:20 2004 ++++ src/kickpimcontactview.cpp Sun Aug 15 20:02:52 2004 +@@ -111,7 +111,7 @@ + setSorting(0); + sort(); + setSorting(-1); +-}; ++} + + void KickPimContactView::onContactsDoubleClick(QListViewItem* qitem) + { +@@ -129,7 +129,7 @@ + KickPimContactViewItem* item = 0; + item = new KickPimContactViewItem( this, 0, KickPIM::rep()->displayName(contact) ); + item->setContact(contact); +-}; ++} + + void KickPimContactView::addDistributionList(DistributionList* distList) + { +@@ -137,7 +137,7 @@ + KickPimContactViewItem* item = 0; + item = new KickPimContactViewItem( this, lastItem(), "["+distList->name()+"]" ); + item->setDistributionList(distList); +-}; ++} + + int KickPimContactView::preferredHeight() + { diff --git a/deskutils/kickpim/files/patch-src-kpcontactevent.cpp b/deskutils/kickpim/files/patch-src-kpcontactevent.cpp new file mode 100644 index 000000000000..402f131c9ae5 --- /dev/null +++ b/deskutils/kickpim/files/patch-src-kpcontactevent.cpp @@ -0,0 +1,11 @@ +--- src/kpcontactevent.cpp.orig Sun Aug 15 20:05:05 2004 ++++ src/kpcontactevent.cpp Sun Aug 15 20:05:18 2004 +@@ -24,7 +24,7 @@ + m_text = ""; + m_date = QDate(25,61,61); // invalid + m_contact = 0; +-}; ++} + + KPContactEvent::~KPContactEvent() + { diff --git a/deskutils/kickpim/files/patch-src-kpkabcontact.cpp b/deskutils/kickpim/files/patch-src-kpkabcontact.cpp new file mode 100644 index 000000000000..db295811ecf9 --- /dev/null +++ b/deskutils/kickpim/files/patch-src-kpkabcontact.cpp @@ -0,0 +1,50 @@ +--- src/kpkabcontact.cpp.orig Sun Aug 15 20:07:22 2004 ++++ src/kpkabcontact.cpp Sun Aug 15 20:09:00 2004 +@@ -240,7 +240,7 @@ + { + m_addr->insertEmail(emailAddr, preferred); + } +-}; ++} + + + +@@ -255,7 +255,7 @@ + ++itor; + } + +-}; ++} + + void KPKabContact::addPhoneNumber(QString number, QString key) + { +@@ -270,20 +270,20 @@ + } + } + } +-}; ++} + + void KPKabContact::setBirthday ( QDate date ) + { + if (!m_addr) return; + m_addr->setBirthday(date); +-}; ++} + + void KPKabContact::setAnniversary ( QDate date ) + { + if (!m_addr) return; + QString dateStr = date.toString( Qt::ISODate ); + m_addr->insertCustom( "KADDRESSBOOK", "X-Anniversary" , dateStr ); +-}; ++} + + + bool KPKabContact::edit() +@@ -322,4 +322,4 @@ + } + } + KABC::StdAddressBook::save(); +-}; ++} |