summaryrefslogtreecommitdiff
path: root/chat/telepathy-logger
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/telepathy-logger
parentd27fe1e7b1a48bd40a46e00b38f52adb8b63c110 (diff)
downloadpkgsrc-9632a0d27bdfeacb0bfc4633e138e3a83f88b309.tar.gz
Fix build on SunOS.
Diffstat (limited to 'chat/telepathy-logger')
-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
3 files changed, 17 insertions, 2 deletions
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>