aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/termcap/termcap-2.0.8/013_all_libtermcap-compat_bcopy_fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/termcap/termcap-2.0.8/013_all_libtermcap-compat_bcopy_fix.patch')
-rw-r--r--recipes/termcap/termcap-2.0.8/013_all_libtermcap-compat_bcopy_fix.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/recipes/termcap/termcap-2.0.8/013_all_libtermcap-compat_bcopy_fix.patch b/recipes/termcap/termcap-2.0.8/013_all_libtermcap-compat_bcopy_fix.patch
new file mode 100644
index 0000000000..ca8b55960d
--- /dev/null
+++ b/recipes/termcap/termcap-2.0.8/013_all_libtermcap-compat_bcopy_fix.patch
@@ -0,0 +1,14 @@
+--- tparam.c.orig
++++ tparam.c
+@@ -24,9 +24,11 @@
+ #undef STDC_HEADERS
+ #define STDC_HEADERS
+ #define HAVE_UNISTD_H
++/*
+ #if defined(HAVE_STRING_H) || defined(STDC_HEADERS)
+ #define bcopy(s, d, n) memcpy ((d), (s), (n))
+ #endif
++ */
+ #endif
+
+ #ifdef STDC_HEADERS