diff options
author | deischen <deischen@FreeBSD.org> | 2000-05-06 20:46:13 +0800 |
---|---|---|
committer | deischen <deischen@FreeBSD.org> | 2000-05-06 20:46:13 +0800 |
commit | dea4856958046b67e2ebbd7257fc4af4ae4a4a8f (patch) | |
tree | fa1f256663bf09592b0b35caa92be53a408ab214 /audio/xmcd/files | |
parent | e03571d9f30d509e33057a766eee7721b6ca678a (diff) | |
download | freebsd-ports-graphics-dea4856958046b67e2ebbd7257fc4af4ae4a4a8f.tar.gz freebsd-ports-graphics-dea4856958046b67e2ebbd7257fc4af4ae4a4a8f.tar.zst freebsd-ports-graphics-dea4856958046b67e2ebbd7257fc4af4ae4a4a8f.zip |
Make xmcd compile and build on the Alpha.
Submitted by: Mark Abene <phiber@radicalmedia.com>
Diffstat (limited to 'audio/xmcd/files')
-rw-r--r-- | audio/xmcd/files/patch-af | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/audio/xmcd/files/patch-af b/audio/xmcd/files/patch-af new file mode 100644 index 00000000000..c1a5a637a19 --- /dev/null +++ b/audio/xmcd/files/patch-af @@ -0,0 +1,50 @@ +*** libdi_d/fbioc.c.orig Sat Feb 5 02:26:26 2000 +--- libdi_d/fbioc.c Sat May 6 08:26:53 2000 +*************** +*** 123,129 **** + * FALSE - ioctl failed + */ + STATIC bool_t +! fbioc_send(int cmd, void *arg, bool_t prnerr) + { + int i, + ret; +--- 123,129 ---- + * FALSE - ioctl failed + */ + STATIC bool_t +! fbioc_send(unsigned int cmd, void *arg, bool_t prnerr) + { + int i, + ret; +*************** +*** 135,148 **** + if (app_data.debug) { + for (i = 0; iname[i].name != NULL; i++) { + if (iname[i].cmd == cmd) { +! (void) fprintf(errfp, "\nIOCTL: %s arg=0x%x ", +! iname[i].name, (int) arg); + break; + } + } + if (iname[i].name == NULL) +! (void) fprintf(errfp, "\nIOCTL: 0x%x arg=0x%x ", +! cmd, (int) arg); + } + + ret = ioctl(fbioc_fd, cmd, arg); +--- 135,148 ---- + if (app_data.debug) { + for (i = 0; iname[i].name != NULL; i++) { + if (iname[i].cmd == cmd) { +! (void) fprintf(errfp, "\nIOCTL: %s arg=0x%lx ", +! iname[i].name, (long) arg); + break; + } + } + if (iname[i].name == NULL) +! (void) fprintf(errfp, "\nIOCTL: 0x%x arg=0x%lx ", +! cmd, (long) arg); + } + + ret = ioctl(fbioc_fd, cmd, arg); |