From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15608 invoked by alias); 2 Dec 2008 13:37:59 -0000 Received: (qmail 15600 invoked by uid 22791); 2 Dec 2008 13:37:58 -0000 X-Spam-Check-By: sourceware.org Received: from ti-out-0910.google.com (HELO ti-out-0910.google.com) (209.85.142.186) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 02 Dec 2008 13:37:23 +0000 Received: by ti-out-0910.google.com with SMTP id d10so2016207tib.12 for ; Tue, 02 Dec 2008 05:37:20 -0800 (PST) Received: by 10.110.53.19 with SMTP id b19mr4450420tia.38.1228225040665; Tue, 02 Dec 2008 05:37:20 -0800 (PST) Received: by 10.110.43.10 with HTTP; Tue, 2 Dec 2008 05:37:20 -0800 (PST) Message-ID: Date: Tue, 02 Dec 2008 13:37:00 -0000 From: teawater To: "gdb-patches@sourceware.org" Subject: [RFA] Fix osdata.c compile error without libexpat MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_54098_26626129.1228225040660" X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-12/txt/msg00033.txt.bz2 ------=_Part_54098_26626129.1228225040660 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Content-length: 347 Hi, I got GDB-cvs build error if there is not libexpat. I found that osdata.c file doesn't define function "osdata_parse" if !defined(HAVE_LIBEXPAT). But in below, it is need. So I make a patch for it. 2008-12-02 Hui Zhu * osdata.c (osdata_item_clear): New empty funtion just for compile without libexpat. Thanks, Hui ------=_Part_54098_26626129.1228225040660 Content-Type: text/plain; name=fix-osdata-without-libexpat.txt Content-Transfer-Encoding: base64 X-Attachment-Id: f_fo8lf6370 Content-Disposition: attachment; filename=fix-osdata-without-libexpat.txt Content-length: 358 LS0tCiBvc2RhdGEuYyB8ICAgIDUgKysrKysKIDEgZmlsZSBjaGFuZ2VkLCA1 IGluc2VydGlvbnMoKykKCi0tLSBnZGIub3JpZy9vc2RhdGEuYworKysgZ2Ri L29zZGF0YS5jCkBAIC00Myw2ICs0MywxMSBAQAogICByZXR1cm4gTlVMTDsK IH0KIAorc3RhdGljIHZvaWQKK29zZGF0YV9pdGVtX2NsZWFyIChzdHJ1Y3Qg b3NkYXRhX2l0ZW0gKml0ZW0pCit7Cit9CisKICNlbHNlIC8qIEhBVkVfTElC RVhQQVQgKi8KIAogI2luY2x1ZGUgInhtbC1zdXBwb3J0LmgiCg== ------=_Part_54098_26626129.1228225040660--