mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- Fix build with clang
This commit is contained in:
parent
0f7765c494
commit
6f6e258b97
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=276024
2 changed files with 14 additions and 0 deletions
|
@ -22,6 +22,9 @@ PLIST_FILES= bin/cutmp3
|
|||
|
||||
PORTDOCS= README README.timetable USAGE
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|gcc|${CC}|g' ${WRKSRC}/Makefile
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
|
|
11
audio/p5-Audio-Mixer/files/patch-Mix.c
Normal file
11
audio/p5-Audio-Mixer/files/patch-Mix.c
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- ./Mix.c.orig 2011-06-21 21:06:03.000000000 +0200
|
||||
+++ ./Mix.c 2011-06-21 21:06:53.000000000 +0200
|
||||
@@ -78,7 +78,7 @@
|
||||
#ifdef DEBUG
|
||||
fprintf(stderr, "close_mixer()\n");
|
||||
#endif
|
||||
- if (mixer_fd < 0) return;
|
||||
+ if (mixer_fd < 0) return 0;
|
||||
close(mixer_fd);
|
||||
init_flag = 0;
|
||||
mixer_fd = -1;
|
Loading…
Add table
Reference in a new issue