FreeBSD Bugzilla – Attachment 131481 Details for
Bug 175570
audio/xcdplayer: Update MASTER_SITES
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.58 KB, created by
tkato432
on 2013-01-25 21:10:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
tkato432
Created:
2013-01-25 21:10:01 UTC
Size:
1.58 KB
patch
obsolete
>diff -urN /usr/ports/audio/xcdplayer/Makefile audio/xcdplayer/Makefile >--- /usr/ports/audio/xcdplayer/Makefile 2012-11-08 05:46:58.000000000 +0900 >+++ audio/xcdplayer/Makefile 2013-01-11 01:46:31.000000000 +0900 >@@ -1,22 +1,20 @@ >-# New ports collection makefile for: xcdplayer >-# Date created: 30 Sep 1994 >-# Whom: swallace >-# >+# Created by: swallace > # $FreeBSD: head/audio/xcdplayer/Makefile 300895 2012-07-14 12:56:14Z beat $ >-# > > PORTNAME= xcdplayer > PORTVERSION= 2.2 > PORTREVISION= 3 > CATEGORIES= audio >-MASTER_SITES= ftp://ftp.x.org/R5contrib/ >+MASTER_SITES= XCONTRIB/../R5contrib > EXTRACT_SUFX= .tar.Z > > MAINTAINER= ports@FreeBSD.org > COMMENT= CD player for X > >-USE_IMAKE= yes > USE_XORG= xbitmaps xaw >+USE_IMAKE= yes >+MAKE_JOBS_SAFE= yes >+ > MAN1= xcdplayer.1 > > PLIST_FILES= bin/xcdplayer lib/X11/app-defaults/XCdplayer >diff -urN /usr/ports/audio/xcdplayer/files/patch-internals.c audio/xcdplayer/files/patch-internals.c >--- /usr/ports/audio/xcdplayer/files/patch-internals.c 2012-11-08 05:46:58.000000000 +0900 >+++ audio/xcdplayer/files/patch-internals.c 2013-01-11 01:51:58.000000000 +0900 >@@ -26,6 +26,24 @@ > > int > cdrom_get_curtime() { >+@@ -46,7 +50,7 @@ >+ >+ if (cdrom_open() == -1) { >+ debug_printf(1, "cdrom_get_curtime: error from cdrom_open\n"); >+- return; >++ return 0; >+ } >+ >+ switch (cdrom_status()) { >+@@ -54,7 +58,7 @@ >+ case CDROM_PLAYING: >+ if (cdrom_get_curmsf(&curmsf) == -1) { >+ debug_printf(1, "get_curtime: error reading location\n"); >+- return; >++ return 0; >+ } >+ >+ if (((curtrack = cdrom_get_curtrack()) == -1) || > @@ -76,6 +80,7 @@ > } > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 175570
: 131481