FreeBSD Bugzilla – Attachment 7149 Details for
Bug 15710
Update port: audio/waveplay
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 3.92 KB, created by
ysonoda
on 1999-12-27 04:00:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
ysonoda
Created:
1999-12-27 04:00:01 UTC
Size:
3.92 KB
patch
obsolete
>diff -uNr /usr/ports/audio/waveplay/Makefile waveplay/Makefile >--- /usr/ports/audio/waveplay/Makefile Wed Aug 25 16:09:10 1999 >+++ waveplay/Makefile Fri Dec 24 09:37:45 1999 >@@ -1,7 +1,7 @@ > # New ports collection makefile for: waveplay > # Version required: 1.0 > # Date created: 23 Jan 1999 >-# Whom: ysonoda@dontaku.csce.kyushu-u.ac.jp >+# Whom: Yoshihide SONODA <ysonoda@dontaku.csce.kyushu-u.ac.jp> > # > # $FreeBSD: ports/audio/waveplay/Makefile,v 1.2 1999/08/25 04:36:16 obrien Exp $ > # >@@ -14,10 +14,7 @@ > MAINTAINER= ysonoda@dontaku.csce.kyushu-u.ac.jp > > do-install: >- @${INSTALL_PROGRAM} ${WRKSRC}/waveplay ${PREFIX}/bin/waveplay >- >-post-install: >- strip ${PREFIX}/bin/waveplay >+ ${INSTALL_PROGRAM} ${WRKSRC}/waveplay ${PREFIX}/bin/waveplay > .if !defined(NOPORTDOCS) > ${MKDIR} ${PREFIX}/share/doc/waveplay > ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/waveplay/ >diff -uNr /usr/ports/audio/waveplay/patches/patch-aa waveplay/patches/patch-aa >--- /usr/ports/audio/waveplay/patches/patch-aa Thu Jan 1 09:00:00 1970 >+++ waveplay/patches/patch-aa Fri Dec 24 09:36:38 1999 >@@ -0,0 +1,10 @@ >+--- Makefile.orig Thu Dec 23 17:48:19 1999 >++++ Makefile Thu Dec 23 17:48:39 1999 >+@@ -1,7 +1,5 @@ >+ #CC = gcc28 >+-CC = cc #egcc >+ #CFLAGS = -g -O -Wall -DDEBUG >+-CFLAGS = -O -Wall >+ SRC = waveplay.c >+ OBJS = waveplay.o >+ HDR = wavefmt.h >diff -uNr /usr/ports/audio/waveplay/patches/patch-ab waveplay/patches/patch-ab >--- /usr/ports/audio/waveplay/patches/patch-ab Thu Jan 1 09:00:00 1970 >+++ waveplay/patches/patch-ab Wed Nov 24 15:12:33 1999 >@@ -0,0 +1,19 @@ >+*** waveplay.c~ Wed Sep 9 14:24:05 1998 >+--- waveplay.c Wed Nov 24 15:11:40 1999 >+*************** >+*** 150,156 **** >+ { >+ if (!stdin_flag) >+ fprintf(stderr, "File name : %s\n", filename); >+! fprintf(stderr, "Sampling rate : %ld Hz\n", wf.nSamplesPerSec); >+ fprintf(stderr, "Bits/Sample : %d Bits\n", wf.wBitsPerSample); >+ fprintf(stderr, "Channels : %d\n", wf.nChannels); >+ if (!rflag) >+--- 150,156 ---- >+ { >+ if (!stdin_flag) >+ fprintf(stderr, "File name : %s\n", filename); >+! fprintf(stderr, "Sampling rate : %d Hz\n", wf.nSamplesPerSec); >+ fprintf(stderr, "Bits/Sample : %d Bits\n", wf.wBitsPerSample); >+ fprintf(stderr, "Channels : %d\n", wf.nChannels); >+ if (!rflag) >diff -uNr /usr/ports/audio/waveplay/patches/patch-ac waveplay/patches/patch-ac >--- /usr/ports/audio/waveplay/patches/patch-ac Thu Jan 1 09:00:00 1970 >+++ waveplay/patches/patch-ac Wed Nov 24 15:06:55 1999 >@@ -0,0 +1,51 @@ >+*** wavefmt.h~ Wed Sep 9 14:24:05 1998 >+--- wavefmt.h Wed Nov 24 15:05:57 1999 >+*************** >+*** 11,33 **** >+ /* $B9=B$BNDj5A(B (ref. MS-Windows mmsystem.h) */ >+ typedef struct tWAVEFORMAT >+ { >+! u_short wFormatTag; >+! u_short nChannels; >+! u_long nSamplesPerSec; >+! u_long nAvgBytesPerSec; >+! u_short nBlockAlign; >+! u_short wBitsPerSample; >+ } WAVEFORMAT, *PWAVEFORMAT; >+ >+ typedef struct tWAVEFORMATEX >+ { >+! u_short wFormatTag; >+! u_short nChannels; >+! u_long nSamplesPerSec; >+! u_long nAvgBytesPerSec; >+! u_short nBlockAlign; >+! u_short wBitsPerSample; >+! u_short cbSize; >+ } WAVEFORMATEX, *PWAVEFORMATEX; >+ >+ #endif /* _WAVE_FMT_H_ */ >+--- 11,33 ---- >+ /* $B9=B$BNDj5A(B (ref. MS-Windows mmsystem.h) */ >+ typedef struct tWAVEFORMAT >+ { >+! u_int16_t wFormatTag; >+! u_int16_t nChannels; >+! u_int32_t nSamplesPerSec; >+! u_int32_t nAvgBytesPerSec; >+! u_int16_t nBlockAlign; >+! u_int16_t wBitsPerSample; >+ } WAVEFORMAT, *PWAVEFORMAT; >+ >+ typedef struct tWAVEFORMATEX >+ { >+! u_int16_t wFormatTag; >+! u_int16_t nChannels; >+! u_int32_t nSamplesPerSec; >+! u_int32_t nAvgBytesPerSec; >+! u_int16_t nBlockAlign; >+! u_int16_t wBitsPerSample; >+! u_int16_t cbSize; >+ } WAVEFORMATEX, *PWAVEFORMATEX; >+ >+ #endif /* _WAVE_FMT_H_ */
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 15710
: 7149