summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2012-02-16 16:04:52 +0000
committerhans <hans@pkgsrc.org>2012-02-16 16:04:52 +0000
commit9632a0d27bdfeacb0bfc4633e138e3a83f88b309 (patch)
tree254b93444e1b1becc581604790fcb00e94fe351a /chat
parentd27fe1e7b1a48bd40a46e00b38f52adb8b63c110 (diff)
downloadpkgsrc-9632a0d27bdfeacb0bfc4633e138e3a83f88b309.tar.gz
Fix build on SunOS.
Diffstat (limited to 'chat')
-rw-r--r--chat/telepathy-idle/Makefile3
-rw-r--r--chat/telepathy-logger/Makefile4
-rw-r--r--chat/telepathy-logger/distinfo3
-rw-r--r--chat/telepathy-logger/patches/patch-telepathy-logger_log-store_pidgin.c12
-rw-r--r--chat/unrealircd/Makefile4
5 files changed, 22 insertions, 4 deletions
diff --git a/chat/telepathy-idle/Makefile b/chat/telepathy-idle/Makefile
index cbffdf513c3..13871c9feba 100644
--- a/chat/telepathy-idle/Makefile
+++ b/chat/telepathy-idle/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2012/02/06 12:39:38 wiz Exp $
+# $NetBSD: Makefile,v 1.19 2012/02/16 16:04:52 hans Exp $
#
DISTNAME= telepathy-idle-0.1.8
@@ -20,6 +20,7 @@ USE_LIBTOOL= yes
USE_TOOLS+= gmake pkg-config
LDFLAGS.DragonFly= -lcrypto
+LDFLAGS.SunOS+= -lcrypto
CONFIGURE_ARGS+= OPENSSL_CFLAGS=-I${BUILDLINK_PREFIX.openssl}/include
CONFIGURE_ARGS+= OPENSSL_LIBS="-L${BUILDLINK_PREFIX.openssl}/lib ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.openssl}/lib -lssl"
diff --git a/chat/telepathy-logger/Makefile b/chat/telepathy-logger/Makefile
index d73fa2ceca1..aa743666bb5 100644
--- a/chat/telepathy-logger/Makefile
+++ b/chat/telepathy-logger/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2012/02/06 12:39:38 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2012/02/16 16:07:09 hans Exp $
#
DISTNAME= telepathy-logger-0.2.7
@@ -18,6 +18,8 @@ GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config gmake gsed intltool msgfmt
+CFLAGS.SunOS+= -std=c99 -D_XOPEN_SOURCE=600
+
PKGCONFIG_OVERRIDE+= extensions/tpl-extensions.pc.in
PKGCONFIG_OVERRIDE+= telepathy-logger/telepathy-logger-0.1.pc.in
diff --git a/chat/telepathy-logger/distinfo b/chat/telepathy-logger/distinfo
index b127b757881..dd234878e78 100644
--- a/chat/telepathy-logger/distinfo
+++ b/chat/telepathy-logger/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2011/04/05 18:22:29 drochner Exp $
+$NetBSD: distinfo,v 1.3 2012/02/16 16:07:09 hans Exp $
SHA1 (telepathy-logger-0.2.7.tar.bz2) = ab44c527695f1fc1acc91276fa0cb22ab1e07dc7
RMD160 (telepathy-logger-0.2.7.tar.bz2) = 8ebd08ee556745e2f3cce3d39a1de407e4106db8
Size (telepathy-logger-0.2.7.tar.bz2) = 447956 bytes
SHA1 (patch-aa) = a01f17f1e6c7cf01fd7b684de01df47b473dec61
+SHA1 (patch-telepathy-logger_log-store_pidgin.c) = 7afb0100254ba19d4cdb343bd193d7cbc15e1f83
diff --git a/chat/telepathy-logger/patches/patch-telepathy-logger_log-store_pidgin.c b/chat/telepathy-logger/patches/patch-telepathy-logger_log-store_pidgin.c
new file mode 100644
index 00000000000..3249f2590af
--- /dev/null
+++ b/chat/telepathy-logger/patches/patch-telepathy-logger_log-store_pidgin.c
@@ -0,0 +1,12 @@
+--- telepathy-logger/log-store-pidgin.c.orig 2011-03-25 00:13:54.000000000 +0100
++++ telepathy-logger/log-store-pidgin.c 2012-01-22 14:26:33.292976356 +0100
+@@ -21,7 +21,9 @@
+
+ #include <config.h>
+
++#ifndef _XOPEN_SOURCE
+ #define _XOPEN_SOURCE
++#endif
+ #include <time.h>
+ #include <string.h>
+ #include <stdio.h>
diff --git a/chat/unrealircd/Makefile b/chat/unrealircd/Makefile
index 28f86527359..8fe2a6dd140 100644
--- a/chat/unrealircd/Makefile
+++ b/chat/unrealircd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2011/04/22 13:43:08 obache Exp $
+# $NetBSD: Makefile,v 1.32 2012/02/16 16:08:15 hans Exp $
DISTNAME= Unreal3.2.8.1
PKGNAME= unrealircd-3.2.8.1
@@ -119,6 +119,8 @@ INSTALLATION_DIRS= sbin ${IRCD_DOCS} ${IRCD_EG} ${IRCD_SHARE}/aliases \
INSTALL_UNSTRIPPED=YES
.endif
+CFLAGS.SunOS+= -DUSE_LOCALE
+
.include "../../net/libcares/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../devel/tre/buildlink3.mk"