diff options
author | markd <markd@pkgsrc.org> | 2011-01-20 12:19:30 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2011-01-20 12:19:30 +0000 |
commit | fad1d1734410314681140f584dafe33430bdaf35 (patch) | |
tree | 30823e494cbdb173724d2141bbd746cef0ed5402 /net/kdenetwork3/patches | |
parent | 4fa64ed8834227c7e53618568ed149b0f355899a (diff) | |
download | pkgsrc-fad1d1734410314681140f584dafe33430bdaf35.tar.gz |
Fix build with recent gcc.
Also aligned_u64 no longer defined on ArchLinux but needed for
linux/if_ppp.h
Diffstat (limited to 'net/kdenetwork3/patches')
-rw-r--r-- | net/kdenetwork3/patches/patch-aa | 18 | ||||
-rw-r--r-- | net/kdenetwork3/patches/patch-ae | 13 | ||||
-rw-r--r-- | net/kdenetwork3/patches/patch-af | 13 | ||||
-rw-r--r-- | net/kdenetwork3/patches/patch-ag | 13 | ||||
-rw-r--r-- | net/kdenetwork3/patches/patch-ah | 13 | ||||
-rw-r--r-- | net/kdenetwork3/patches/patch-ba | 13 | ||||
-rw-r--r-- | net/kdenetwork3/patches/patch-bb | 13 | ||||
-rw-r--r-- | net/kdenetwork3/patches/patch-bc | 13 | ||||
-rw-r--r-- | net/kdenetwork3/patches/patch-bd | 16 | ||||
-rw-r--r-- | net/kdenetwork3/patches/patch-be | 16 |
10 files changed, 130 insertions, 11 deletions
diff --git a/net/kdenetwork3/patches/patch-aa b/net/kdenetwork3/patches/patch-aa index 2ae23f9c149..0a4b0b6b096 100644 --- a/net/kdenetwork3/patches/patch-aa +++ b/net/kdenetwork3/patches/patch-aa @@ -1,11 +1,23 @@ -$NetBSD: patch-aa,v 1.17 2008/02/20 10:00:24 markd Exp $ +$NetBSD: patch-aa,v 1.18 2011/01/20 12:19:30 markd Exp $ + +aligned_u64/__aligned_u64 mixup on ArchLinux utmpx patch gets ktalkd to build on Solaris 10 but wont actually read the file properly - needs to be fixed. ---- configure.orig 2006-10-03 07:24:51.000000000 +1300 +--- configure.orig 2008-08-20 15:49:39.000000000 +0000 +++ configure -@@ -44334,6 +44340,7 @@ else +@@ -43655,6 +43655,9 @@ cat confdefs.h >>conftest.$ac_ext + cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + ++#if defined(linux) ++#define aligned_u64 __aligned_u64 ++#endif + #if defined(__osf__) || defined(__svr4__) + #define _POSIX_PII_SOCKET + extern "C" int sethostname(char *name, int name_len); +@@ -44540,6 +44543,7 @@ else /var/run/utmp \ /var/adm/utmp \ /etc/utmp \ diff --git a/net/kdenetwork3/patches/patch-ae b/net/kdenetwork3/patches/patch-ae index 9d055c638b8..c42614b0995 100644 --- a/net/kdenetwork3/patches/patch-ae +++ b/net/kdenetwork3/patches/patch-ae @@ -1,7 +1,16 @@ -$NetBSD: patch-ae,v 1.4 2006/10/12 10:47:18 markd Exp $ +$NetBSD: patch-ae,v 1.5 2011/01/20 12:19:30 markd Exp $ ---- kopete/protocols/groupwise/libgroupwise/rtf.ll.orig 2005-09-10 20:20:20.000000000 +1200 +--- kopete/protocols/groupwise/libgroupwise/rtf.ll.orig 2005-09-10 08:20:20.000000000 +0000 +++ kopete/protocols/groupwise/libgroupwise/rtf.ll +@@ -570,7 +570,7 @@ void Level::setText(const char *str) + + FontDef& def = p->fonts[m_nFont-1]; + +- char *pp = strchr(str, ';'); ++ const char *pp = strchr(str, ';'); + unsigned size; + if (pp != NULL) + size = (pp - str); @@ -633,7 +633,7 @@ const unsigned RED = 2; const unsigned GREEN = 3; const unsigned BLUE = 4; diff --git a/net/kdenetwork3/patches/patch-af b/net/kdenetwork3/patches/patch-af index f0ced4efe90..cb0430a8ab4 100644 --- a/net/kdenetwork3/patches/patch-af +++ b/net/kdenetwork3/patches/patch-af @@ -1,7 +1,16 @@ -$NetBSD: patch-af,v 1.9 2006/10/12 10:47:18 markd Exp $ +$NetBSD: patch-af,v 1.10 2011/01/20 12:19:30 markd Exp $ ---- kopete/protocols/groupwise/libgroupwise/rtf.cc.orig 2005-09-10 20:20:20.000000000 +1200 +--- kopete/protocols/groupwise/libgroupwise/rtf.cc.orig 2005-09-10 08:20:20.000000000 +0000 +++ kopete/protocols/groupwise/libgroupwise/rtf.cc +@@ -2235,7 +2235,7 @@ void Level::setText(const char *str) + + FontDef& def = p->fonts[m_nFont-1]; + +- char *pp = strchr(str, ';'); ++ const char *pp = strchr(str, ';'); + unsigned size; + if (pp != NULL) + size = (pp - str); @@ -2298,7 +2298,7 @@ const unsigned RED = 2; const unsigned GREEN = 3; const unsigned BLUE = 4; diff --git a/net/kdenetwork3/patches/patch-ag b/net/kdenetwork3/patches/patch-ag index bc7fdba73a9..1275ffdfe8d 100644 --- a/net/kdenetwork3/patches/patch-ag +++ b/net/kdenetwork3/patches/patch-ag @@ -1,7 +1,16 @@ -$NetBSD: patch-ag,v 1.3 2006/10/12 10:47:18 markd Exp $ +$NetBSD: patch-ag,v 1.4 2011/01/20 12:19:30 markd Exp $ ---- kopete/protocols/oscar/liboscar/rtf.cc.orig 2005-09-10 20:20:23.000000000 +1200 +--- kopete/protocols/oscar/liboscar/rtf.cc.orig 2005-09-10 08:20:23.000000000 +0000 +++ kopete/protocols/oscar/liboscar/rtf.cc +@@ -2131,7 +2131,7 @@ void Level::setText(const char *str) + + FontDef& def = p->fonts[m_nFont-1]; + +- char *pp = strchr(str, ';'); ++ const char *pp = strchr(str, ';'); + unsigned size; + if (pp != NULL) + size = (pp - str); @@ -2194,7 +2194,7 @@ const unsigned RED = 2; const unsigned GREEN = 3; const unsigned BLUE = 4; diff --git a/net/kdenetwork3/patches/patch-ah b/net/kdenetwork3/patches/patch-ah index 46939dbf5ed..a4f1c207622 100644 --- a/net/kdenetwork3/patches/patch-ah +++ b/net/kdenetwork3/patches/patch-ah @@ -1,7 +1,16 @@ -$NetBSD: patch-ah,v 1.3 2006/10/12 10:47:18 markd Exp $ +$NetBSD: patch-ah,v 1.4 2011/01/20 12:19:30 markd Exp $ ---- kopete/protocols/oscar/liboscar/rtf.ll.orig 2005-09-10 20:20:23.000000000 +1200 +--- kopete/protocols/oscar/liboscar/rtf.ll.orig 2005-09-10 08:20:23.000000000 +0000 +++ kopete/protocols/oscar/liboscar/rtf.ll +@@ -568,7 +568,7 @@ void Level::setText(const char *str) + + FontDef& def = p->fonts[m_nFont-1]; + +- char *pp = strchr(str, ';'); ++ const char *pp = strchr(str, ';'); + unsigned size; + if (pp != NULL) + size = (pp - str); @@ -631,7 +631,7 @@ const unsigned RED = 2; const unsigned GREEN = 3; const unsigned BLUE = 4; diff --git a/net/kdenetwork3/patches/patch-ba b/net/kdenetwork3/patches/patch-ba new file mode 100644 index 00000000000..e8f95626d5a --- /dev/null +++ b/net/kdenetwork3/patches/patch-ba @@ -0,0 +1,13 @@ +$NetBSD: patch-ba,v 1.1 2011/01/20 12:19:30 markd Exp $ + +--- kopete/kopete/contactlist/kopetegroupviewitem.cpp.orig 2005-09-10 08:20:25.000000000 +0000 ++++ kopete/kopete/contactlist/kopetegroupviewitem.cpp +@@ -169,7 +169,7 @@ void KopeteGroupViewItem::refreshDisplay + // the sorting itself is rather slow. Therefore we call delayedSort, which tries + // to group multiple sort requests into one. + using namespace Kopete::UI::ListView; +- if ( ListView::ListView *lv = dynamic_cast<ListView::ListView *>( listView() ) ) ++ if ( ListView *lv = dynamic_cast<ListView *>( listView() ) ) + lv->delayedSort(); + else + listView()->sort(); diff --git a/net/kdenetwork3/patches/patch-bb b/net/kdenetwork3/patches/patch-bb new file mode 100644 index 00000000000..2dea6f1a1ed --- /dev/null +++ b/net/kdenetwork3/patches/patch-bb @@ -0,0 +1,13 @@ +$NetBSD: patch-bb,v 1.1 2011/01/20 12:19:30 markd Exp $ + +--- kopete/kopete/chatwindow/krichtexteditpart.cpp.orig 2006-10-01 17:27:05.000000000 +0000 ++++ kopete/kopete/chatwindow/krichtexteditpart.cpp +@@ -38,7 +38,7 @@ public: + KopeteRichTextEditPart::KopeteRichTextEditPart( QWidget *wparent, const char *wname, QObject*, const char*, const QStringList& ) + : KParts::ReadOnlyPart( wparent, wname ? wname : "rich_text_part" ) + { +- KopeteRichTextEditPart::KopeteRichTextEditPart( wparent, wname, false ); ++ KopeteRichTextEditPart( wparent, wname, false ); + } + + KopeteRichTextEditPart::KopeteRichTextEditPart( QWidget *parent, const char *name, int capabilities ) diff --git a/net/kdenetwork3/patches/patch-bc b/net/kdenetwork3/patches/patch-bc new file mode 100644 index 00000000000..303bcd602fb --- /dev/null +++ b/net/kdenetwork3/patches/patch-bc @@ -0,0 +1,13 @@ +$NetBSD: patch-bc,v 1.1 2011/01/20 12:19:30 markd Exp $ + +--- kopete/protocols/testbed/testbedaccount.h.orig 2006-10-01 17:26:55.000000000 +0000 ++++ kopete/protocols/testbed/testbedaccount.h +@@ -59,7 +59,7 @@ public: + /** + * 'Connect' to the testbed server. Only sets myself() online. + */ +- virtual void connect( const Kopete::OnlineStatus& initialStatus = Kopete::OnlineStatus::OnlineStatus() ); ++ virtual void connect( const Kopete::OnlineStatus& initialStatus = Kopete::OnlineStatus() ); + /** + * Disconnect from the server. Only sets myself() offline. + */ diff --git a/net/kdenetwork3/patches/patch-bd b/net/kdenetwork3/patches/patch-bd new file mode 100644 index 00000000000..872569d573c --- /dev/null +++ b/net/kdenetwork3/patches/patch-bd @@ -0,0 +1,16 @@ +$NetBSD: patch-bd,v 1.1 2011/01/20 12:19:30 markd Exp $ + +aligned_u64/__aligned_u64 mixup on ArchLinux + +--- kppp/opener.cpp.orig 2008-02-13 09:37:48.000000000 +0000 ++++ kppp/opener.cpp +@@ -36,6 +36,9 @@ + + #include <config.h> + ++#if defined(linux) ++#define aligned_u64 __aligned_u64 ++#endif + #if defined(__osf__) || defined(__svr4__) + #define _POSIX_PII_SOCKET + extern "C" int sethostname(char *name, int name_len); diff --git a/net/kdenetwork3/patches/patch-be b/net/kdenetwork3/patches/patch-be new file mode 100644 index 00000000000..5fc993f7462 --- /dev/null +++ b/net/kdenetwork3/patches/patch-be @@ -0,0 +1,16 @@ +$NetBSD: patch-be,v 1.1 2011/01/20 12:19:30 markd Exp $ + +aligned_u64/__aligned_u64 mixup on ArchLinux + +--- kppp/pppstats.cpp.orig 2008-02-13 09:37:48.000000000 +0000 ++++ kppp/pppstats.cpp +@@ -41,6 +41,9 @@ + + #include <config.h> + ++#if defined(linux) ++#define aligned_u64 __aligned_u64 ++#endif + #include <ctype.h> + #include <errno.h> + |