summaryrefslogtreecommitdiff
path: root/audio/mpc/files/patch-src-util.c::gcc295
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-06-18 10:40:43 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-06-18 10:40:43 +0000
commit8aec53cacc4aa2d1818aef6063889d3d18dcf9c7 (patch)
tree40ea63841bf010a21221f2554402944000e2a7d4 /audio/mpc/files/patch-src-util.c::gcc295
parentUpdate to version 0.27 (diff)
Update to version 0.11.0
PR: ports/68071 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=111714
Diffstat (limited to 'audio/mpc/files/patch-src-util.c::gcc295')
-rw-r--r--audio/mpc/files/patch-src-util.c::gcc29519
1 files changed, 19 insertions, 0 deletions
diff --git a/audio/mpc/files/patch-src-util.c::gcc295 b/audio/mpc/files/patch-src-util.c::gcc295
new file mode 100644
index 000000000000..7c2275170d8a
--- /dev/null
+++ b/audio/mpc/files/patch-src-util.c::gcc295
@@ -0,0 +1,19 @@
+--- src/util.c.orig Fri Jun 18 08:53:42 2004
++++ src/util.c Fri Jun 18 08:53:58 2004
+@@ -125,13 +125,13 @@
+ * the number in any other way for that matter */
+ int parse_songnum(const char * str, int * ret)
+ {
++ int song;
++ char * endptr;
++
+ if(!str)
+ return 0;
+ if(*str == '#')
+ str++;
+-
+- int song;
+- char * endptr;
+
+ song = strtol(str, &endptr, 10);
+