Skip to contentSkip to conversation

socat: forcibly disable use of libbsd

PATCH New Ross Burton 1 participant 1 message Jan 9, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 socat: forcibly disable use of libbsd

Socat will look for openpty() in BSD headers before Linux headers, so if libbsd is present at configure time then that will be used. We don't need to depend on libbsd though, and leaving it floating can cause build errors, so tell configure that the libbsd header isn't present.

---
 meta/recipes-connectivity/socat/socat_1.7.2.4.bb |    1 +
 1 file changed, 1 insertion(+)
meta/recipes-connectivity/socat/socat_1.7.2.4.bb +1 -0
index f4461de..9e43e16 100644
@@ -27,6 +27,7 @@ EXTRA_AUTORECONF += "--exclude=autoheader"
 EXTRA_OECONF += "ac_cv_have_z_modifier=yes sc_cv_sys_crdly_shift=9 \
         sc_cv_sys_tabdly_shift=11 sc_cv_sys_csize_shift=4 \
         ac_cv_ispeed_offset=13 \
+        ac_cv_header_bsd_libutil_h=no \
 "
 
 PACKAGECONFIG ??= "tcp-wrappers"
Signature · 1 line
1.7.10.4