diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2019-05-24 14:57:57 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-05-24 14:57:57 +0000 |
commit | 3e027bc404156894ad8388027f6d341db8d80d48 (patch) | |
tree | de93f6268371450310390ac7305ec1b3253f9fa7 /community/slim/snprintf.patch | |
parent | 07fa23375ed9535d64caf5f52bc784b1376e7348 (diff) | |
download | aports-3e027bc404156894ad8388027f6d341db8d80d48.tar.bz2 aports-3e027bc404156894ad8388027f6d341db8d80d48.tar.xz |
community/slim*: move from main
Diffstat (limited to 'community/slim/snprintf.patch')
-rw-r--r-- | community/slim/snprintf.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/community/slim/snprintf.patch b/community/slim/snprintf.patch new file mode 100644 index 0000000000..f534ce3fad --- /dev/null +++ b/community/slim/snprintf.patch @@ -0,0 +1,13 @@ +diff --git a/Ck.cpp b/Ck.cpp +index 3b94426..85cc022 100644 +--- a/Ck.cpp ++++ b/Ck.cpp +@@ -91,7 +91,7 @@ namespace Ck { + + vt = *((long *)return_value); + +- std::snprintf(device, 32, "/dev/tty%ld", vt); ++ snprintf(device, 32, "/dev/tty%ld", vt); + + if(return_value) + XFree(return_value); |