diff options
author | madpilot <madpilot@FreeBSD.org> | 2013-10-17 20:00:16 +0800 |
---|---|---|
committer | madpilot <madpilot@FreeBSD.org> | 2013-10-17 20:00:16 +0800 |
commit | 4e9f94f3ae242b4780adb5073b72d19af026b767 (patch) | |
tree | 7f894a16bab73fdd21c8ee3aea9a949d1955ace2 /audio/workman | |
parent | cf68cfb153eb19d1e3967ac3b8ac80c819664221 (diff) | |
download | freebsd-ports-gnome-4e9f94f3ae242b4780adb5073b72d19af026b767.tar.gz freebsd-ports-gnome-4e9f94f3ae242b4780adb5073b72d19af026b767.tar.zst freebsd-ports-gnome-4e9f94f3ae242b4780adb5073b72d19af026b767.zip |
- Convert to staging
- Fix build with clang
- Rename patch files according to standard
- Convert to new LIB_DEPENDS format
Diffstat (limited to 'audio/workman')
-rw-r--r-- | audio/workman/Makefile | 10 | ||||
-rw-r--r-- | audio/workman/files/patch-cdrom.c | 11 | ||||
-rw-r--r-- | audio/workman/files/patch-plat_freebsd.c (renamed from audio/workman/files/patch-ac) | 0 | ||||
-rw-r--r-- | audio/workman/files/patch-workman.man (renamed from audio/workman/files/patch-aa) | 0 | ||||
-rw-r--r-- | audio/workman/files/patch-workman_stubs.c (renamed from audio/workman/files/patch-ab) | 0 |
5 files changed, 13 insertions, 8 deletions
diff --git a/audio/workman/Makefile b/audio/workman/Makefile index c37a5b8a178c..ae9733d1ce3a 100644 --- a/audio/workman/Makefile +++ b/audio/workman/Makefile @@ -12,17 +12,11 @@ DISTNAME= WorkMan-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Open Look-based CD player tool -LIB_DEPENDS= xview.3:${PORTSDIR}/x11-toolkits/xview +LIB_DEPENDS= libxview.so:${PORTSDIR}/x11-toolkits/xview WRKSRC= ${WRKDIR}/workman USES= imake -NO_STAGE= yes USE_XORG= x11 xext -MAN1= workman.1 -MAN5= workmandb.5 -PLIST_FILES= bin/workman lib/help/workman.info - -post-install: - ${GZIP_CMD} ${PREFIX}/man/man5/workmandb.5 +PLIST_FILES= bin/workman lib/help/workman.info man/man1/workman.1.gz man/man5/workmandb.5.gz .include <bsd.port.mk> diff --git a/audio/workman/files/patch-cdrom.c b/audio/workman/files/patch-cdrom.c new file mode 100644 index 000000000000..2b6e63f2cddf --- /dev/null +++ b/audio/workman/files/patch-cdrom.c @@ -0,0 +1,11 @@ +--- cdrom.c.orig 1997-06-15 10:05:03.000000000 +0200 ++++ cdrom.c 2013-10-16 13:14:49.440566031 +0200 +@@ -531,7 +531,7 @@ + int top = 0, bottom, current, interval, ret = 0, i; + + if (cur_cdmode == EJECTED || cd == NULL) +- return; ++ return (0); + + for (i = 0; i < cur_ntracks; i++) + if (cd->trk[i].track == track) diff --git a/audio/workman/files/patch-ac b/audio/workman/files/patch-plat_freebsd.c index f73fb3a8cd5b..f73fb3a8cd5b 100644 --- a/audio/workman/files/patch-ac +++ b/audio/workman/files/patch-plat_freebsd.c diff --git a/audio/workman/files/patch-aa b/audio/workman/files/patch-workman.man index 8bb81d7d0730..8bb81d7d0730 100644 --- a/audio/workman/files/patch-aa +++ b/audio/workman/files/patch-workman.man diff --git a/audio/workman/files/patch-ab b/audio/workman/files/patch-workman_stubs.c index e09eb38a8fa7..e09eb38a8fa7 100644 --- a/audio/workman/files/patch-ab +++ b/audio/workman/files/patch-workman_stubs.c |