summaryrefslogtreecommitdiff
path: root/audio/ubs
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2012-03-01 17:30:00 +0000
committerhans <hans@pkgsrc.org>2012-03-01 17:30:00 +0000
commit1e073329891adf0395dcd01b58e72f31c24fc720 (patch)
tree9d6f42f6f068e2b514f32e880bb8763ad0df0a36 /audio/ubs
parent18dba263b62b32bbbb78151f1a3007cf0227342a (diff)
downloadpkgsrc-1e073329891adf0395dcd01b58e72f31c24fc720.tar.gz
Fix build on SunOS.
Diffstat (limited to 'audio/ubs')
-rw-r--r--audio/ubs/Makefile4
-rw-r--r--audio/ubs/distinfo3
-rw-r--r--audio/ubs/patches/patch-lib_get__song.c13
3 files changed, 18 insertions, 2 deletions
diff --git a/audio/ubs/Makefile b/audio/ubs/Makefile
index da230e71b75..c31d8c1852b 100644
--- a/audio/ubs/Makefile
+++ b/audio/ubs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2010/02/01 01:51:50 joerg Exp $
+# $NetBSD: Makefile,v 1.16 2012/03/01 17:30:00 hans Exp $
#
DISTNAME= ubs-0.17
@@ -19,6 +19,8 @@ RCD_SCRIPTS= ubs
PKG_SYSCONFSUBDIR= ubs
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
+CFLAGS.SunOS+= -std=c99 -D_XOPEN_SOURCE=600
+
.include "../../mk/bsd.prefs.mk"
UBS_BASEDIR?= /var/spool/ubs
diff --git a/audio/ubs/distinfo b/audio/ubs/distinfo
index c30117090af..5484bf6ff1d 100644
--- a/audio/ubs/distinfo
+++ b/audio/ubs/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2011/12/14 03:14:13 sbd Exp $
+$NetBSD: distinfo,v 1.6 2012/03/01 17:30:00 hans Exp $
SHA1 (ubs-0.17.tar.gz) = f0f67d437e4c5c7026b2f05d1aaff53688eb3253
RMD160 (ubs-0.17.tar.gz) = 4e0e46bb8346f0c86989b0b33973000bbb86f1aa
@@ -6,3 +6,4 @@ Size (ubs-0.17.tar.gz) = 372222 bytes
SHA1 (patch-aa) = 4f8d8085a8925ffe866f2d8cec72232f6da70811
SHA1 (patch-ab) = 88d06fca850e7bf2d38ad587021e4352c96cc89b
SHA1 (patch-ac) = af22e0ca907b22eedb86e79ce2e81e4fb87283e9
+SHA1 (patch-lib_get__song.c) = 1158e4dacb1f47e27902af0e42b60ecbc96e82f6
diff --git a/audio/ubs/patches/patch-lib_get__song.c b/audio/ubs/patches/patch-lib_get__song.c
new file mode 100644
index 00000000000..1d298639361
--- /dev/null
+++ b/audio/ubs/patches/patch-lib_get__song.c
@@ -0,0 +1,13 @@
+$NetBSD: patch-lib_get__song.c,v 1.1 2012/03/01 17:30:01 hans Exp $
+
+--- lib/get_song.c.orig 2003-10-29 06:17:10.000000000 +0100
++++ lib/get_song.c 2012-03-01 18:17:56.807135414 +0100
+@@ -22,7 +22,7 @@ Foundation, Inc., 59 Temple Place, Suite
+ #include <string.h>
+ #include <dirent.h>
+ #include <sys/types.h>
+-#include <sys/dir.h>
++#include <dirent.h>
+ #include <sys/param.h>
+ #include <sys/stat.h>
+