aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/sword/00-fflush.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-11-22 15:35:03 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-11-22 15:35:03 +0000
commitd60d3052aea9b3155c7f426ed94a9519d5f9f374 (patch)
tree77585b919750ccb72fb7532d4e9938d51b98f03a /unmaintained/sword/00-fflush.patch
parentbf9e945981a04cac944060f2d644d9d8ca216ae1 (diff)
downloadaports-d60d3052aea9b3155c7f426ed94a9519d5f9f374.tar.bz2
aports-d60d3052aea9b3155c7f426ed94a9519d5f9f374.tar.xz
community/sword: move to unmaintained
Diffstat (limited to 'unmaintained/sword/00-fflush.patch')
-rw-r--r--unmaintained/sword/00-fflush.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/unmaintained/sword/00-fflush.patch b/unmaintained/sword/00-fflush.patch
new file mode 100644
index 0000000000..79f0649f65
--- /dev/null
+++ b/unmaintained/sword/00-fflush.patch
@@ -0,0 +1,12 @@
+diff --git a/utilities/installmgr.cpp b/utilities/installmgr.cpp
+index b705c25..132314a 100644
+--- a/utilities/installmgr.cpp
++++ b/utilities/installmgr.cpp
+@@ -73,6 +73,7 @@ virtual bool isUserDisclaimerConfirmed() const {
+ cout << "If you understand this and are willing to enable remote source features\n";
+ cout << "then type yes at the prompt\n\n";
+ cout << "enable? [no] ";
++ fflush(stdout);
+
+ char prompt[10];
+ fgets(prompt, 9, stdin);