summarylogtreecommitdiffstats
path: root/error_t.patch
diff options
context:
space:
mode:
authordoragasu2016-12-06 15:37:57 +0100
committerdoragasu2016-12-06 15:37:57 +0100
commit0dfd647fdfb36cf77050e1f614e37a91644aa6a7 (patch)
treeb5cf7e48686b93d7d38d41b5a3c0a43bb5821fe2 /error_t.patch
parent18bdd78a4bf1ff6700e9a6c9420a8dd3d9908487 (diff)
downloadaur-0dfd647fdfb36cf77050e1f614e37a91644aa6a7.tar.gz
Added ultraspeed patch and fixed build error with latest g++.
Diffstat (limited to 'error_t.patch')
-rw-r--r--error_t.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/error_t.patch b/error_t.patch
new file mode 100644
index 000000000000..36e2d9f5508b
--- /dev/null
+++ b/error_t.patch
@@ -0,0 +1,12 @@
+diff -ruN gbcflsh_1.1_src.orig/src/const.h gbcflsh_1.1_src/src/const.h
+--- gbcflsh_1.1_src.orig/src/const.h 2016-12-06 15:28:19.006226548 +0100
++++ gbcflsh_1.1_src/src/const.h 2016-12-06 15:28:34.782848109 +0100
+@@ -32,7 +32,7 @@
+ #endif
+
+ /* return values and errors */
+-enum error_t
++enum _error
+ { TIMEOUT = -1, FILEERROR_O = -2, FILEERROR_W = -3, FILEERROR_R =
+ -4, SEND_ERROR = -5,
+ BAD_PACKET = -6, BAD_PARAMS = -7, PORT_ERROR = -8, WRONG_SIZE = -9