aboutsummaryrefslogtreecommitdiff
path: root/audio/mpc/files
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
parentb253f67e18b8ffd341630ab521498b4254a569b9 (diff)
downloadports-8aec53cacc4aa2d1818aef6063889d3d18dcf9c7.tar.gz
ports-8aec53cacc4aa2d1818aef6063889d3d18dcf9c7.zip
Notes
Diffstat (limited to 'audio/mpc/files')
-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);
+