[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-solaris
Subject: [kde-solaris] Diffs and trix for compiling kdepim from current cvs
From: Mats Rojestal <mats.rojestal () bredband ! net>
Date: 2004-10-20 21:25:18
Message-ID: 4176D7BE.9070603 () bredband ! net
[Download RAW message or body]
Hi,
Here are the diffs for compiling kdepim on from currents cvs an before
running configure install gnu gettext package and set LDFLAGS=-lasprintf
There is only two patches needed one for assuan-domain-connect.c and the
other for assuan-socket-connect.c
The only other manual intervention needed is to manually compile
kresources before korganizer and kpilot before kcontact.
Regards Mats Röjestål
["assuan-domain-connect.c.patch" (text/plain)]
Index: assuan-domain-connect.c
===================================================================
RCS file: /home/kde/kdepim/libkdenetwork/libgpgme-copy/assuan/assuan-domain-connect.c,v
retrieving revision 1.7
diff -u -r1.7 assuan-domain-connect.c
--- assuan-domain-connect.c 11 Aug 2004 17:54:48 -0000 1.7
+++ assuan-domain-connect.c 20 Oct 2004 21:17:00 -0000
@@ -27,7 +27,15 @@
#include <stdio.h>
#include <errno.h>
#include <sys/types.h>
+#ifdef sun
+#define _XPG4_2
#include <sys/socket.h>
+#undef _XPG4_2
+#define AF_LOCAL AF_UNIX
+#define PF_LOCAL PF_UNIX
+#else
+#include <sys/socket.h>
+#endif /* sun */
#include <sys/un.h>
#if HAVE_SYS_UIO_H
#include <sys/uio.h>
["assuan-socket-connect.c.patch" (text/plain)]
Index: assuan-socket-connect.c
===================================================================
RCS file: /home/kde/kdepim/libkdenetwork/libgpgme-copy/assuan/assuan-socket-connect.c,v
retrieving revision 1.3
diff -u -r1.3 assuan-socket-connect.c
--- assuan-socket-connect.c 10 Jun 2004 11:36:42 -0000 1.3
+++ assuan-socket-connect.c 20 Oct 2004 21:15:53 -0000
@@ -29,7 +29,11 @@
#include <unistd.h>
#include "assuan-defs.h"
-
+#ifdef sun
+#define AF_LOCAL AF_UNIX
+#define PF_LOCAL AF_LOCAL
+#define PF_UNIX PF_LOCAL
+#endif
#define LOG(format, args...) \
fprintf (assuan_get_assuan_log_stream (), \
assuan_get_assuan_log_prefix (), \
___________________________________________________
This message is from the kde-solaris mailing list.
Account management: https://mail.kde.org/mailman/listinfo/kde-solaris.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic