pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/kdebase3 Workaround for compilation problems on So...
details: https://anonhg.NetBSD.org/pkgsrc/rev/0241371e3115
branches: trunk
changeset: 482682:0241371e3115
user: gavan <gavan%pkgsrc.org@localhost>
date: Mon Nov 01 16:39:06 2004 +0000
description:
Workaround for compilation problems on Solaris/gcc.
diffstat:
x11/kdebase3/distinfo | 27 +++++++++++++++++++++++----
x11/kdebase3/patches/patch-ae | 15 ++++++++++++---
x11/kdebase3/patches/patch-bb | 16 ++++++++++++----
x11/kdebase3/patches/patch-fg | 15 ++++++++++++---
x11/kdebase3/patches/patch-fh | 13 +++++++++++++
x11/kdebase3/patches/patch-fi | 13 +++++++++++++
x11/kdebase3/patches/patch-fj | 13 +++++++++++++
x11/kdebase3/patches/patch-fk | 12 ++++++++++++
x11/kdebase3/patches/patch-fl | 13 +++++++++++++
x11/kdebase3/patches/patch-fm | 13 +++++++++++++
x11/kdebase3/patches/patch-fn | 13 +++++++++++++
x11/kdebase3/patches/patch-fo | 13 +++++++++++++
x11/kdebase3/patches/patch-fp | 13 +++++++++++++
x11/kdebase3/patches/patch-fq | 14 ++++++++++++++
x11/kdebase3/patches/patch-fr | 12 ++++++++++++
x11/kdebase3/patches/patch-fs | 13 +++++++++++++
x11/kdebase3/patches/patch-ft | 13 +++++++++++++
x11/kdebase3/patches/patch-fu | 13 +++++++++++++
x11/kdebase3/patches/patch-fv | 13 +++++++++++++
x11/kdebase3/patches/patch-fw | 13 +++++++++++++
x11/kdebase3/patches/patch-fx | 13 +++++++++++++
x11/kdebase3/patches/patch-fy | 13 +++++++++++++
x11/kdebase3/patches/patch-fz | 12 ++++++++++++
23 files changed, 304 insertions(+), 14 deletions(-)
diffs (truncated from 450 to 300 lines):
diff -r f134e20f8cec -r 0241371e3115 x11/kdebase3/distinfo
--- a/x11/kdebase3/distinfo Mon Nov 01 16:35:59 2004 +0000
+++ b/x11/kdebase3/distinfo Mon Nov 01 16:39:06 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.56 2004/10/13 11:54:11 markd Exp $
+$NetBSD: distinfo,v 1.57 2004/11/01 16:39:06 gavan Exp $
SHA1 (kdebase-3.3.1.tar.bz2) = b3eafb32553ab621569301bb7628a5063a497dcf
Size (kdebase-3.3.1.tar.bz2) = 19906317 bytes
@@ -10,12 +10,12 @@
SHA1 (patch-ab) = 453c1b09d7c0b78f058fd34c1040830257b2904d
SHA1 (patch-ac) = 8be0f15be839f4f01d3e079501b83e27f1fab2eb
SHA1 (patch-ad) = 031e5622acb376ce1867d08b35c55bce101e8855
-SHA1 (patch-ae) = bea53dcd5c8e7d1670de293e131befb5d6db78b5
+SHA1 (patch-ae) = 5e3e097598874a87719074370eb11851e1ce5f36
SHA1 (patch-af) = ad9b3a97151c964d4adea2d8fecd780c6198b205
SHA1 (patch-ag) = 89f50ee8b328cd654aebf1da5424e87eb6b42628
SHA1 (patch-aj) = 2a0b38f4968bfca00e56ef4a6e06bfc3a874ae33
SHA1 (patch-ak) = df7ff2bf5ed6bb2442d49df1c277712712a7f966
-SHA1 (patch-bb) = 1b6c717a1bedafbeae0037ee382795d8aa59f081
+SHA1 (patch-bb) = d4d352c9fb24792a2e5931ee9c5131cd735cec21
SHA1 (patch-bc) = c236cc8b3f9caebf2540425232f2d90ec66c70d1
SHA1 (patch-bx) = d58d16fd484fc0a46c1ae93267af19e73af6f990
SHA1 (patch-ep) = 10e341753321415043b08cad0494a269f8d19643
@@ -28,4 +28,23 @@
SHA1 (patch-fd) = 879a072170b5a38ae80d6854540ab1dae5f59bfc
SHA1 (patch-fe) = 3da89e7228d5246e98a244d7f52d9052c3dbcfa2
SHA1 (patch-ff) = a027ccd5f578d41560e970aa54fca9b5760da0ac
-SHA1 (patch-fg) = 31219a3d9b45f143dc76ffebd75bbb9b140fcdfa
+SHA1 (patch-fg) = 94cdd68ddeb14655b40b42f37ad263097ea4d195
+SHA1 (patch-fh) = 1d06d8f8f5fa00cca5c5aad74c9d1a27f2d1565c
+SHA1 (patch-fi) = 6bf3eec107f8c4ae9d82c05e84f5db0998536364
+SHA1 (patch-fj) = b7bdf2c069d6bd66af733ce6866295487ac716d3
+SHA1 (patch-fk) = b315f3338fcb2f960c4fa9daa00d80fbdbfb67a7
+SHA1 (patch-fl) = 7a51ca1c9b20b8dbab4437427812d9fda6a454d8
+SHA1 (patch-fm) = 9727089bbf03382ecd5d2fe5fa7d6c7ee7d1f765
+SHA1 (patch-fn) = 374ada59e17e881620f8673be6e15c8a3cbf9eea
+SHA1 (patch-fo) = 927622a2200c2cb07e73e5e1e596a1fe66e50af4
+SHA1 (patch-fp) = de7c6445500053146ec4b464b3a4f07bf3cb9225
+SHA1 (patch-fq) = 4fa1c71a501808e28685cf4ea37ec11019e74e2a
+SHA1 (patch-fr) = 886c854a662157b500a85b99b9e0e61b2dcd1bf3
+SHA1 (patch-fs) = c4e130bef6cc202e12c9ebcf2b571ede0e0a34eb
+SHA1 (patch-ft) = 673763fa1329d943e32b0612262cde906c839ba7
+SHA1 (patch-fu) = 4765f271a7b5636cca4b94c8b261c55a76f8bf8c
+SHA1 (patch-fv) = 8ec683f004e0e432b3820cbe8660f1d547d71fb6
+SHA1 (patch-fw) = bf0b590b6d416cfccbaed5dca4174002462db1ed
+SHA1 (patch-fx) = 95451a2c5c614d5e1ff4799991b2e2dc11eada0f
+SHA1 (patch-fy) = cf91cc7a5fe14bdfb38e4ca3ad4d82ffba86a05e
+SHA1 (patch-fz) = 49dcc3508edf4deccadce5ff788b424bb0fc6d78
diff -r f134e20f8cec -r 0241371e3115 x11/kdebase3/patches/patch-ae
--- a/x11/kdebase3/patches/patch-ae Mon Nov 01 16:35:59 2004 +0000
+++ b/x11/kdebase3/patches/patch-ae Mon Nov 01 16:39:06 2004 +0000
@@ -1,8 +1,17 @@
-$NetBSD: patch-ae,v 1.6 2004/06/10 11:51:52 markd Exp $
+$NetBSD: patch-ae,v 1.7 2004/11/01 16:39:06 gavan Exp $
---- kcontrol/krdb/krdb.cpp.orig 2004-04-04 19:42:18.000000000 +1200
+--- kcontrol/krdb/krdb.cpp.orig 2004-07-17 18:52:04.000000000 +0100
+++ kcontrol/krdb/krdb.cpp
-@@ -384,7 +384,14 @@ static void createGtkrc( bool exportColo
+@@ -42,6 +42,8 @@
+
+ #include <X11/Xlib.h>
+
++#undef truncate
++
+ inline const char * gtkEnvVar(int version)
+ {
+ return 2==version ? "GTK2_RC_FILES" : "GTK_RC_FILES";
+@@ -384,7 +386,14 @@ static void createGtkrc( bool exportColo
// not every button, checkbox, etc.
t << "style \"MenuItem\"" << endl;
t << "{" << endl;
diff -r f134e20f8cec -r 0241371e3115 x11/kdebase3/patches/patch-bb
--- a/x11/kdebase3/patches/patch-bb Mon Nov 01 16:35:59 2004 +0000
+++ b/x11/kdebase3/patches/patch-bb Mon Nov 01 16:39:06 2004 +0000
@@ -1,8 +1,16 @@
-$NetBSD: patch-bb,v 1.4 2004/04/20 12:33:56 markd Exp $
+$NetBSD: patch-bb,v 1.5 2004/11/01 16:39:06 gavan Exp $
---- kdesktop/init.cc.orig 2004-04-04 19:42:34.000000000 +1200
+--- kdesktop/init.cc.orig 2004-05-22 21:26:46.000000000 +0100
+++ kdesktop/init.cc
-@@ -81,6 +81,9 @@ static void copyDirectoryFile(const QStr
+@@ -33,6 +33,7 @@
+ #include <dirent.h>
+ #include <stdlib.h>
+
++#undef truncate
+
+ // for multihead
+ extern int kdesktop_screen_number;
+@@ -79,6 +80,9 @@ static void copyDirectoryFile(const QStr
cmd += " ";
cmd += KProcess::quote(dir+"/.directory");
system( QFile::encodeName(cmd) );
@@ -12,7 +20,7 @@
}
}
-@@ -114,6 +117,9 @@ void copyDesktopLinks()
+@@ -112,6 +116,9 @@ void copyDesktopLinks()
cmd += " ";
cmd += QFile::encodeName(KProcess::quote(desktopPath));
system( cmd );
diff -r f134e20f8cec -r 0241371e3115 x11/kdebase3/patches/patch-fg
--- a/x11/kdebase3/patches/patch-fg Mon Nov 01 16:35:59 2004 +0000
+++ b/x11/kdebase3/patches/patch-fg Mon Nov 01 16:39:06 2004 +0000
@@ -1,8 +1,17 @@
-$NetBSD: patch-fg,v 1.2 2004/02/04 14:25:59 markd Exp $
+$NetBSD: patch-fg,v 1.3 2004/11/01 16:39:06 gavan Exp $
---- ksysguard/gui/ksysguard.cc.orig 2003-10-26 23:47:16.000000000 +1300
+--- ksysguard/gui/ksysguard.cc.orig 2004-08-05 19:57:19.000000000 +0100
+++ ksysguard/gui/ksysguard.cc
-@@ -162,7 +162,7 @@ void TopLevel::resetWorkSheets()
+@@ -34,6 +34,8 @@
+ #include <stdlib.h>
+ #include <unistd.h>
+
++#undef open
++
+ #include <kaboutdata.h>
+ #include <kaction.h>
+ #include <kcmdlineargs.h>
+@@ -145,7 +147,7 @@ void TopLevel::resetWorkSheets()
mWorkSpace->removeAllWorkSheets();
KStandardDirs* kstd = KGlobal::dirs();
diff -r f134e20f8cec -r 0241371e3115 x11/kdebase3/patches/patch-fh
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/kdebase3/patches/patch-fh Mon Nov 01 16:39:06 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-fh,v 1.3 2004/11/01 16:39:06 gavan Exp $
+
+--- kate/app/kategrepdialog.cpp.orig 2004-10-03 08:10:53.000000000 +0100
++++ kate/app/kategrepdialog.cpp
+@@ -48,6 +48,8 @@
+ #include <kcombobox.h>
+ #include <klineedit.h>
+
++#undef truncate
++
+ const char *template_desc[] = {
+ "normal",
+ "assignment",
diff -r f134e20f8cec -r 0241371e3115 x11/kdebase3/patches/patch-fi
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/kdebase3/patches/patch-fi Mon Nov 01 16:39:06 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-fi,v 1.1 2004/11/01 16:39:06 gavan Exp $
+
+--- kcontrol/info/memory_solaris.cpp.orig 2004-05-22 21:26:41.000000000 +0100
++++ kcontrol/info/memory_solaris.cpp
+@@ -4,6 +4,8 @@
+ * Torsten Kasch <tk%Genetik.Uni-Bielefeld.DE@localhost>
+ */
+
++#undef _FILE_OFFSET_BITS
++
+ #include <unistd.h>
+ #include <stdlib.h>
+ #include <kstat.h>
diff -r f134e20f8cec -r 0241371e3115 x11/kdebase3/patches/patch-fj
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/kdebase3/patches/patch-fj Mon Nov 01 16:39:06 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-fj,v 1.1 2004/11/01 16:39:06 gavan Exp $
+
+--- kcontrol/ebrowsing/plugins/localdomain/localdomainurifilter.cpp.orig 2004-10-03 08:10:57.000000000 +0100
++++ kcontrol/ebrowsing/plugins/localdomain/localdomainurifilter.cpp
+@@ -29,6 +29,8 @@
+ #include <qregexp.h>
+ #include <qfile.h>
+
++#undef truncate
++
+ #define HOSTPORT_PATTERN "[a-zA-Z0-9][a-zA-Z0-9+-]*(?:\\:[0-9]{1,5})?(?:/\\w*)*"
+
+ /**
diff -r f134e20f8cec -r 0241371e3115 x11/kdebase3/patches/patch-fk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/kdebase3/patches/patch-fk Mon Nov 01 16:39:06 2004 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-fk,v 1.1 2004/11/01 16:39:06 gavan Exp $
+
+--- kcontrol/kfontinst/lib/GetPid.c.orig 2004-05-22 21:26:42.000000000 +0100
++++ kcontrol/kfontinst/lib/GetPid.c
+@@ -243,6 +243,7 @@ unsigned int kfi_getPid(const char *proc
+ #include <pwd.h>
+ #include <sys/resource.h>
+ #ifdef OS_Solaris
++#undef _FILE_OFFSET_BITS
+ #include <procfs.h>
+ #else
+ #include <sys/procfs.h>
diff -r f134e20f8cec -r 0241371e3115 x11/kdebase3/patches/patch-fl
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/kdebase3/patches/patch-fl Mon Nov 01 16:39:06 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-fl,v 1.1 2004/11/01 16:39:06 gavan Exp $
+
+--- kdeprint/slave/kio_print.cpp.orig 2004-05-22 21:26:46.000000000 +0100
++++ kdeprint/slave/kio_print.cpp
+@@ -46,6 +46,8 @@
+ #include <stdlib.h>
+ #include <sys/stat.h>
+
++#undef stat
++
+ #define PRINT_DEBUG kdDebug(7019) << "kio_print: "
+
+ extern "C"
diff -r f134e20f8cec -r 0241371e3115 x11/kdebase3/patches/patch-fm
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/kdebase3/patches/patch-fm Mon Nov 01 16:39:06 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-fm,v 1.1 2004/11/01 16:39:06 gavan Exp $
+
+--- khotkeys/shared/actions.cpp.orig 2004-07-17 18:52:06.000000000 +0100
++++ khotkeys/shared/actions.cpp
+@@ -35,6 +35,8 @@
+
+ #include <X11/X.h>
+
++#undef truncate
++
+ namespace KHotKeys
+ {
+
diff -r f134e20f8cec -r 0241371e3115 x11/kdebase3/patches/patch-fn
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/kdebase3/patches/patch-fn Mon Nov 01 16:39:06 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-fn,v 1.1 2004/11/01 16:39:06 gavan Exp $
+
+--- libkonq/konq_operations.cc.orig 2004-10-03 08:11:27.000000000 +0100
++++ libkonq/konq_operations.cc
+@@ -33,6 +33,8 @@
+ #include "konq_defaults.h"
+ #include "konqbookmarkmanager.h"
+
++#undef stat
++
+ // For doDrop
+ #include <qdir.h>//first
+ #include <assert.h>
diff -r f134e20f8cec -r 0241371e3115 x11/kdebase3/patches/patch-fo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/kdebase3/patches/patch-fo Mon Nov 01 16:39:06 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-fo,v 1.1 2004/11/01 16:39:06 gavan Exp $
+
+--- kioslave/man/kio_man.cpp.orig 2004-08-05 19:57:13.000000000 +0100
++++ kioslave/man/kio_man.cpp
+@@ -46,6 +46,8 @@
+ #include <kfilterbase.h>
+ #include <kfilterdev.h>
+
++#undef truncate
++
+ using namespace KIO;
+
+ MANProtocol *MANProtocol::_self = 0;
diff -r f134e20f8cec -r 0241371e3115 x11/kdebase3/patches/patch-fp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/kdebase3/patches/patch-fp Mon Nov 01 16:39:06 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-fp,v 1.1 2004/11/01 16:39:06 gavan Exp $
+
+--- kioslave/pop3/pop3.cc.orig 2004-07-17 18:52:07.000000000 +0100
++++ kioslave/pop3/pop3.cc
+@@ -59,6 +59,8 @@
+
+ #include "pop3.h"
+
++#undef truncate
++
+ #define GREETING_BUF_LEN 1024
+ #define MAX_RESPONSE_LEN 512
+ #define MAX_COMMANDS 10
diff -r f134e20f8cec -r 0241371e3115 x11/kdebase3/patches/patch-fq
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/kdebase3/patches/patch-fq Mon Nov 01 16:39:06 2004 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-fq,v 1.1 2004/11/01 16:39:06 gavan Exp $
+
+--- kioslave/imap4/imap4.cc.orig 2004-07-17 18:52:07.000000000 +0100
++++ kioslave/imap4/imap4.cc
+@@ -71,6 +71,9 @@
+ #include <kio/passdlg.h>
+ #include <klocale.h>
+
++#undef truncate
++#undef stat
++
+ using namespace KIO;
+
+ extern "C"
diff -r f134e20f8cec -r 0241371e3115 x11/kdebase3/patches/patch-fr
Home |
Main Index |
Thread Index |
Old Index