summaryrefslogtreecommitdiff
path: root/chat/ysm
diff options
context:
space:
mode:
authorjoerg <joerg>2012-06-15 18:46:46 +0000
committerjoerg <joerg>2012-06-15 18:46:46 +0000
commit1b5ba7d488b0be89f12adaf448fc10c1db5158ce (patch)
tree074dc71e8669f1d78ababeff818de938354c35da /chat/ysm
parent404e0cdf2efbf9a0f465ed55b71ba2ce9e66a676 (diff)
downloadpkgsrc-1b5ba7d488b0be89f12adaf448fc10c1db5158ce.tar.gz
Fix build with Clang.
Diffstat (limited to 'chat/ysm')
-rw-r--r--chat/ysm/distinfo3
-rw-r--r--chat/ysm/patches/patch-src_YSM__Setup.c13
2 files changed, 15 insertions, 1 deletions
diff --git a/chat/ysm/distinfo b/chat/ysm/distinfo
index 700edcbb58b..fc428bfe0a5 100644
--- a/chat/ysm/distinfo
+++ b/chat/ysm/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.7 2011/11/05 23:21:21 wiz Exp $
+$NetBSD: distinfo,v 1.8 2012/06/15 18:46:46 joerg Exp $
SHA1 (ysmv7_2_9_9_1.tar.gz) = e81fc181018200a9bb85ea6ecd02fbdb869b3b09
RMD160 (ysmv7_2_9_9_1.tar.gz) = 5f2c26ee9e287edec293b3f6032409e29571f229
Size (ysmv7_2_9_9_1.tar.gz) = 305420 bytes
SHA1 (patch-configure) = cfaf3d68be5144bd0fb819be682816698a778e7c
+SHA1 (patch-src_YSM__Setup.c) = 012ab4e59480349b6ce60cc397c0099524928ecd
diff --git a/chat/ysm/patches/patch-src_YSM__Setup.c b/chat/ysm/patches/patch-src_YSM__Setup.c
new file mode 100644
index 00000000000..1861108f62d
--- /dev/null
+++ b/chat/ysm/patches/patch-src_YSM__Setup.c
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_YSM__Setup.c,v 1.1 2012/06/15 18:46:47 joerg Exp $
+
+--- src/YSM_Setup.c.orig 2012-06-15 13:23:14.000000000 +0000
++++ src/YSM_Setup.c
+@@ -743,7 +743,7 @@ int tries = 0;
+ #define YSMOPENCONFIG(rwx) (fd = YSM_fopen(YSM_cfgfile,rwx))
+ #define YSMCLOSECONFIG() YSM_fclose(fd)
+
+-__inline void
++void
+ CFGWRITE(FILE *fd, const u_int8_t *foo, ...)
+ {
+ va_list args;