1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00
freebsd-ports/audio/wmix/files/patch-wmix.c
Mathieu Arnold 9fa9eb9ac7 Cleanup patches, a* categories.
Rename them to follow the make makepatch naming, and regenerate them.

With hat:	portmgr
Sponsored by:	Absolight
2016-07-26 16:51:15 +00:00

20 lines
492 B
C

--- wmix.c.orig 2004-05-13 00:30:53 UTC
+++ wmix.c
@@ -24,7 +24,6 @@
#include <string.h>
#include <signal.h>
#include <string.h>
-#include <getopt.h>
#include <unistd.h>
#include <X11/X.h>
@@ -134,7 +133,7 @@ int main(int argc, char **argv)
}
/* handle writing PID file, silently ignore if we can't do it */
- pid = calloc(1, strlen(home) + 10);
+ pid = calloc(1, strlen(home) + 11);
sprintf(pid, "%s/.wmix.pid", home);
fp = fopen(pid, "w");
if (fp) {