From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by hurricane.the-brannons.com (Postfix) with ESMTPS id DBB9078835 for ; Sat, 7 Dec 2019 09:15:59 -0800 (PST) Received: by mail-wm1-x334.google.com with SMTP id p9so11139024wmg.0 for ; Sat, 07 Dec 2019 09:15:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mime-version:content-disposition :user-agent; bh=l2G2gpwyNljhlBS5x4kfb5ZUiu7kQsoy4Ui7VyPCfZs=; b=UZLk5wL8Isy+cBNdj3cezDtm7s9vfSNG0GnMeArfGAgvJ7vt5v2PUTJYan+p5+hdaY kSLnOPWVsa3X8MzIPPvK15k2kbZ7xASYbYeYN1xDK+olJ1+aBpBQAVFiykJ8lU5ddSci +5wPL/6sbieWbVfchN0tJNSQ8d2qikgnQ6Z7EVX5kmHopUVricBYI2rSdGghrM6bmIDB VhHFszWSniL+ZYe1OzLb0yTltWKI5jH9TOnkC09zm4nt1d1FmI+/S1yPNW4vknyzzZhv 4g4tmCTUr+qK6+P6PtsmpK8wrzSgmMqySCvB4jTTKw/WnKpwfzkzpeulptHja4pzEzot b/iA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-disposition:user-agent; bh=l2G2gpwyNljhlBS5x4kfb5ZUiu7kQsoy4Ui7VyPCfZs=; b=RmS+PZoLrOCOcL5ppkFCKazhIdjvOnHF/MqiVPVb3TLQ6Gz2eHttYCiQo0XSseXnhS /ljWWpL5TJkw0W7mk/9tphqv2S9prece16C/qpM/QR/9V8OhoRjGQ03aKZ4chzieW60O 0gMlk1Bt/DZhlD2xzkWOSiOG6Cv8Sxd1Dtnhx8ex3I0G4YbMbZnZrcq9hdejj2taj5Dt Jc3Eu1W/5a048jHVb0ar/c6lhxslo5EPotWzJAcMX/9IBIaBF2oSwlrfZrGgeC2gmC/a vOnAldZguWj/M2sJkSSrsfs6U8ek6Ac5QFufx5gkUfPFwzj3PvP1ZjqSdStQGpL67DxC Bhsw== X-Gm-Message-State: APjAAAWFs3jpeagGBKhRf1lfRW+3m4ahZ6Hy03n+FSQIzDnAABdTd8lF 1FY7wfBxyd0g1ouQ9EO5Ywt2sYbpSk8= X-Google-Smtp-Source: APXvYqwnEMN0j5mmtixquBqZvSXsUJVzmloeIc5e5dHnLnLxpYGL9T94PLcxPGEeWCXN8ErSybn4wQ== X-Received: by 2002:a1c:f213:: with SMTP id s19mr17371812wmc.42.1575738957978; Sat, 07 Dec 2019 09:15:57 -0800 (PST) Received: from toaster (a.5.9.3.b.f.e.f.f.f.4.4.2.d.a.2.2.4.0.9.2.4.1.1.0.b.8.0.1.0.0.2.ip6.arpa. [2001:8b0:1142:9042:2ad2:44ff:fefb:395a]) by smtp.gmail.com with ESMTPSA id z8sm20313434wrq.22.2019.12.07.09.15.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Dec 2019 09:15:57 -0800 (PST) Date: Sat, 7 Dec 2019 17:15:34 +0000 From: Adam Thompson To: edbrowse-dev@edbrowse.org Subject: [edbrowse-dev] tidySetOptBool vs tidySetOptInt on debian Message-ID: <20191207171534.GA194728@toaster> X-BeenThere: edbrowse-dev@edbrowse.org List-Id: Edbrowse Development List MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.12.2 (2019-09-21) Hi all, Just recompiled the latest edbrowse against the versions of tidy-html5 and duktape available in Debian sid. In order to get it to run I had to change the call on html-tidy.c:129 from: tidyOptSetBool(tdoc, TidyStyleTags, no); to: tidyOptSetInt(tdoc, TidyStyleTags, no); As otherwise the browser aborts at runtime with an assertion error that the option isn't a bool. I'm not sure if this is a new change in the tidy lib or a Debian-specific patch and, more importantly, how to fix this so it "just works" for everyone. I guess an ifdef is needed but I'm not sure against what? Cheers, Adam.