aboutsummaryrefslogtreecommitdiff
path: root/audio/wavegain/files
diff options
context:
space:
mode:
Diffstat (limited to 'audio/wavegain/files')
-rw-r--r--audio/wavegain/files/patch-audio.c4
-rw-r--r--audio/wavegain/files/patch-wavegain.c12
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;
+}