diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2002-03-18 18:56:28 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2002-03-18 18:56:28 +0000 |
commit | f3249b265a15830a216466571ecd0387c898c3f0 (patch) | |
tree | 700b8059f6158422541b0fdb618c37b6a0e4a014 /audio | |
parent | Remove giconv hacks. (diff) |
- Update to 1.2.18;
- pass over maintainership to Olexander Kunitsa <kunia@istc.kiev.ua>
(maintainer timeout).
Submitted by: Olexander Kunitsa <kunia@istc.kiev.ua>
Notes
Notes:
svn path=/head/; revision=56311
Diffstat (limited to 'audio')
-rw-r--r-- | audio/fmio/Makefile | 5 | ||||
-rw-r--r-- | audio/fmio/distinfo | 2 | ||||
-rw-r--r-- | audio/fmio/files/patch-Makefile | 11 | ||||
-rw-r--r-- | audio/fmio/files/patch-mixer.c | 37 |
4 files changed, 3 insertions, 52 deletions
diff --git a/audio/fmio/Makefile b/audio/fmio/Makefile index 04a0ab5e4b2b..431486bae36b 100644 --- a/audio/fmio/Makefile +++ b/audio/fmio/Makefile @@ -6,12 +6,11 @@ # PORTNAME= fmio -PORTVERSION= 1.1.4 -PORTREVISION= 1 +PORTVERSION= 1.2.18 CATEGORIES= audio MASTER_SITES= http://www.jumbo.narod.ru/src/fmio/ -MAINTAINER= d.s.div@bigfoot.com +MAINTAINER= kunia@istc.kiev.ua MAN1= fmio.1 MANCOMPRESSED= no diff --git a/audio/fmio/distinfo b/audio/fmio/distinfo index 6dd6091f7e71..4c7ef7a219dd 100644 --- a/audio/fmio/distinfo +++ b/audio/fmio/distinfo @@ -1 +1 @@ -MD5 (fmio-1.1.4.tar.gz) = 78450c7e01c51997607b53dcde3bb0ab +MD5 (fmio-1.2.18.tar.gz) = 3260dfb3e9ae3a7baa9912bf26ec1d43 diff --git a/audio/fmio/files/patch-Makefile b/audio/fmio/files/patch-Makefile deleted file mode 100644 index b91a2267e553..000000000000 --- a/audio/fmio/files/patch-Makefile +++ /dev/null @@ -1,11 +0,0 @@ ---- Makefile.orig Wed Apr 4 07:10:07 2001 -+++ Makefile Fri Aug 10 23:25:54 2001 -@@ -26,7 +26,7 @@ - install: lib fmio man - install -d -o root -g bin $(PREFIX)/bin - install -d -o root -g wheel $(PREFIX)/man/man1 -- install -c -s -o root -g bin -m 4555 fmio $(PREFIX)/bin/fmio -+ install -c -s -o root -g bin -m 555 fmio $(PREFIX)/bin/fmio - install -c -o root -g bin -m 444 fmio.0 $(PREFIX)/man/cat1/fmio.0 - - deinstall: diff --git a/audio/fmio/files/patch-mixer.c b/audio/fmio/files/patch-mixer.c deleted file mode 100644 index 5550b10af99f..000000000000 --- a/audio/fmio/files/patch-mixer.c +++ /dev/null @@ -1,37 +0,0 @@ ---- mixer.c.orig Mon Apr 2 23:12:21 2001 -+++ mixer.c Fri Aug 10 23:22:04 2001 -@@ -49,6 +49,8 @@ - static int num_channels; - #endif /* __OpenBSD__ || __NetBSD__ */ - -+#define MIN(a, b) ((a) < (b) ? (a) : (b)) -+ - static unsigned int volume; - - static int -@@ -167,7 +169,7 @@ - break; - } - } else { -- fprintf(stderr, "Bad numbers %s", q); -+ fprintf(stderr, "Bad numbers %s\n", q); - return -1; - } - } -@@ -298,9 +300,13 @@ - int devlen, dev_volume; - - devlen = strcspn(vol, "="); -- strncpy(dev, vol, devlen); -- strncpy(val, &vol[devlen+1], strlen(vol)-devlen-1); -- -+ if (devlen == strlen(vol)) { -+ fprintf(stderr, "invalid volume specifier %s\n", vol); -+ return -1; -+ } -+ strlcpy(dev, vol, MIN(devlen + 1, sizeof(dev))); -+ strlcpy(val, &vol[devlen+1], MIN(strlen(vol)-devlen, sizeof(val))); -+ - #if defined (__OpenBSD__) || (__NetBSD__) - - for ( ndev = 0 ; ; ndev++ ) { |