summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/minicom/minicom-2.3/rename-conflicting-functions.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/minicom/minicom-2.3/rename-conflicting-functions.patch')
-rw-r--r--meta/recipes-extended/minicom/minicom-2.3/rename-conflicting-functions.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/meta/recipes-extended/minicom/minicom-2.3/rename-conflicting-functions.patch b/meta/recipes-extended/minicom/minicom-2.3/rename-conflicting-functions.patch
new file mode 100644
index 0000000000..c344203267
--- /dev/null
+++ b/meta/recipes-extended/minicom/minicom-2.3/rename-conflicting-functions.patch
@@ -0,0 +1,13 @@
+--- minicom-2.3/src/minicom.c-orig 2009-06-08 14:49:07.000000000 +0200
++++ minicom-2.3/src/minicom.c 2009-06-08 14:50:23.000000000 +0200
+@@ -63,6 +63,10 @@
+ }
+ #endif /*DEBUG*/
+
++#ifdef __USE_GNU
++#define getline minicom_getline
++#endif
++
+ /*
+ * Sub - menu's.
+ */