summaryrefslogtreecommitdiff
path: root/testing/vice/fix__u_char.patch
diff options
context:
space:
mode:
authorJean-Louis Fuchs <ganwell@fangorn.ch>2017-01-24 21:54:55 +0100
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-01-25 09:03:07 +0000
commite22073c1c7f7b8ce3fb8e8fa956153fad93501d4 (patch)
treeb5d9dc79abe595d8c02bf67a50cc45e0cab613d0 /testing/vice/fix__u_char.patch
parenta13f26f5c5892f3ec379ebb4f478bd0e2101c711 (diff)
downloadaports-e22073c1c7f7b8ce3fb8e8fa956153fad93501d4.zip
testing/vice: new aport
Diffstat (limited to 'testing/vice/fix__u_char.patch')
-rw-r--r--testing/vice/fix__u_char.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/vice/fix__u_char.patch b/testing/vice/fix__u_char.patch
new file mode 100644
index 00000000000..046ae82a05f
--- /dev/null
+++ b/testing/vice/fix__u_char.patch
@@ -0,0 +1,13 @@
+diff -ru a/src/opencbm.h b/src/opencbm.h
+--- a/src/opencbm.h 2016-11-14 00:23:10.000000000 +0100
++++ b/src/opencbm.h 2017-01-20 19:54:12.098939871 +0100
+@@ -131,6 +131,9 @@
+
+ #endif
+
++/* There is no __u_char on alpine linux */
++#define __u_char unsigned char /*!< __u_char as unsigned char */
++
+ /* specifiers for the IEC bus lines */
+ #define IEC_DATA 0x01 /*!< Specify the DATA line */
+ #define IEC_CLOCK 0x02 /*!< Specify the CLOCK line */