diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2016-07-26 16:51:15 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2016-07-26 16:51:15 +0000 |
commit | 9fa9eb9ac7bf1d3de825ee25a8f0ae81b7b77896 (patch) | |
tree | 9b071a8105704e992946dcd6b801e9fcb7635142 /audio/wavegain | |
parent | 5a20e7990eb544509174d617d359bf0d4ac64737 (diff) | |
download | ports-9fa9eb9ac7bf1d3de825ee25a8f0ae81b7b77896.tar.gz ports-9fa9eb9ac7bf1d3de825ee25a8f0ae81b7b77896.zip |
Notes
Diffstat (limited to 'audio/wavegain')
-rw-r--r-- | audio/wavegain/files/patch-audio.c | 4 | ||||
-rw-r--r-- | audio/wavegain/files/patch-wavegain.c | 12 |
2 files changed, 8 insertions, 8 deletions
diff --git a/audio/wavegain/files/patch-audio.c b/audio/wavegain/files/patch-audio.c index 4608acad3b97..a62f45ed0d3f 100644 --- a/audio/wavegain/files/patch-audio.c +++ b/audio/wavegain/files/patch-audio.c @@ -1,5 +1,5 @@ ---- audio.c.orig 2009-02-14 06:54:45.932023788 +0800 -+++ audio.c 2009-02-14 06:55:01.958134649 +0800 +--- audio.c.orig 2016-07-26 16:16:05 UTC ++++ audio.c @@ -32,20 +32,8 @@ #include <sys/types.h> #include <math.h> diff --git a/audio/wavegain/files/patch-wavegain.c b/audio/wavegain/files/patch-wavegain.c index 40aa6807d45a..66d7515f7932 100644 --- a/audio/wavegain/files/patch-wavegain.c +++ b/audio/wavegain/files/patch-wavegain.c @@ -1,5 +1,5 @@ ---- wavegain.c.orig 2009-02-14 07:27:18.005266616 +0800 -+++ wavegain.c 2009-02-14 07:29:15.783066588 +0800 +--- wavegain.c.orig 2016-07-26 16:16:05 UTC ++++ wavegain.c @@ -19,20 +19,8 @@ #include <string.h> #include <ctype.h> @@ -31,7 +31,7 @@ extern int write_to_log; dither_t Dither; double doubletmp; -@@ -639,7 +630,14 @@ +@@ -639,7 +630,14 @@ int write_gains(const char *filename, do goto exit; } @@ -47,7 +47,7 @@ fprintf(stderr, " Error renaming '" TEMP_NAME "' to '%s' (uh-oh)\n", filename); goto exit; } -@@ -650,4 +648,61 @@ +@@ -650,4 +648,61 @@ exit: return result; } @@ -64,7 +64,7 @@ + + if (strcmp(oldpath, newpath) == 0) + return 0; -+ + +#ifdef __EMX__ + if (unlink(newpath) == -1 && errno != ENOENT) + return -1; @@ -106,6 +106,6 @@ + return -1; + } + } - ++ + return 0; +} |