aboutsummaryrefslogtreecommitdiff
path: root/sysutils/xstow
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2006-12-20 15:58:00 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2006-12-20 15:58:00 +0000
commitf351a46d1bf948fe329ea7a014d443f88935ad39 (patch)
tree7e6d4371c97ed87e20d0532766fbb4c3306a1d93 /sysutils/xstow
parent9c5cdf458a9a49974491c58dd290718b8ae4c5e9 (diff)
downloadports-f351a46d1bf948fe329ea7a014d443f88935ad39.tar.gz
ports-f351a46d1bf948fe329ea7a014d443f88935ad39.zip
Notes
Diffstat (limited to 'sysutils/xstow')
-rw-r--r--sysutils/xstow/files/patch-src-format.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/sysutils/xstow/files/patch-src-format.h b/sysutils/xstow/files/patch-src-format.h
new file mode 100644
index 000000000000..166252e2e9f8
--- /dev/null
+++ b/sysutils/xstow/files/patch-src-format.h
@@ -0,0 +1,26 @@
+--- src/format.h.orig Wed Dec 20 16:46:15 2006
++++ src/format.h Wed Dec 20 16:46:55 2006
+@@ -648,17 +648,17 @@
+
+ switch( num_of_args )
+ {
+- case 1: n = std::snprintf( buffer, buffer_size, format.c_str(),
++ case 1: n = snprintf( buffer, buffer_size, format.c_str(),
+ D( a ) ); break;
+- case 2: n = std::snprintf( buffer, buffer_size, format.c_str(),
++ case 2: n = snprintf( buffer, buffer_size, format.c_str(),
+ D( a ), D( b ) ); break;
+- case 3: n = std::snprintf( buffer, buffer_size, format.c_str(),
++ case 3: n = snprintf( buffer, buffer_size, format.c_str(),
+ D( a ), D( b ), D( c ) ); break;
+- case 4: n = std::snprintf( buffer, buffer_size, format.c_str(),
++ case 4: n = snprintf( buffer, buffer_size, format.c_str(),
+ D( a ), D( b ), D( c ), D( d ) ); break;
+- case 5: n = std::snprintf( buffer, buffer_size, format.c_str(),
++ case 5: n = snprintf( buffer, buffer_size, format.c_str(),
+ D( a ), D( b ), D( c ), D( d ), D( e ) ); break;
+- case 6: n = std::snprintf( buffer, buffer_size, format.c_str(),
++ case 6: n = snprintf( buffer, buffer_size, format.c_str(),
+ D( a ), D( b ), D( c ), D( d ), D( e ), D( f ) ); break;
+ }
+