X-Loop: help-debbugs@HIDDEN Subject: bug#29015: LONG_LONG_MAX/MIN not defined on systems using musl libc Resent-From: newbluemoon <blaumolch@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guile@HIDDEN Resent-Date: Thu, 26 Oct 2017 16:25:01 +0000 Resent-Message-ID: <handler.29015.B.150903509619908 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 29015 X-GNU-PR-Package: guile X-GNU-PR-Keywords: To: 29015 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-guile@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.150903509619908 (code B ref -1); Thu, 26 Oct 2017 16:25:01 +0000 Received: (at submit) by debbugs.gnu.org; 26 Oct 2017 16:24:56 +0000 Received: from localhost ([127.0.0.1]:35325 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1e7kxj-0005B2-TU for submit <at> debbugs.gnu.org; Thu, 26 Oct 2017 12:24:56 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57504) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <blaumolch@HIDDEN>) id 1e7kbe-0004bb-EX for submit <at> debbugs.gnu.org; Thu, 26 Oct 2017 12:02:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <blaumolch@HIDDEN>) id 1e7kbT-0008Vt-Kk for submit <at> debbugs.gnu.org; Thu, 26 Oct 2017 12:02:01 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:51089) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <blaumolch@HIDDEN>) id 1e7kbT-0008Vl-Hb for submit <at> debbugs.gnu.org; Thu, 26 Oct 2017 12:01:55 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48358) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <blaumolch@HIDDEN>) id 1e7kbJ-0000vn-Rc for bug-guile@HIDDEN; Thu, 26 Oct 2017 12:01:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <blaumolch@HIDDEN>) id 1e7kbG-0008Ok-NA for bug-guile@HIDDEN; Thu, 26 Oct 2017 12:01:45 -0400 Received: from mx2.mailbox.org ([80.241.60.215]:52587) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <blaumolch@HIDDEN>) id 1e7kbG-0008OE-Dy for bug-guile@HIDDEN; Thu, 26 Oct 2017 12:01:42 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx2.mailbox.org (Postfix) with ESMTPS id 6CA134C993 for <bug-guile@HIDDEN>; Thu, 26 Oct 2017 18:01:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mailbox.org; h= content-transfer-encoding:content-language:content-type :content-type:mime-version:date:date:message-id:subject:subject :from:from:received; s=mail20150812; t=1509033685; bh=/S5/2DnZyG qkZYxF2cBoQs8zHDYGd9MyCBS8+t2LavA=; b=fEiL0e58czs9W+iX8USaq1zgFw e7gWUpCoO4//vs727N4Jd1j5S3x32PfHqImJODxsff+j9KsZN6l2VPcs51fClW6v RkxbcHADduHcEtGe+FZ5ZKoeuPT/uj/XuJw2FmeEKtv9djXO3J+OlMztB2Ws4iSy tgwKxhhgxmvjgr9z9kIPT3tF7QUuviuNUuC+gwqw2RM8Bo9QO2xSybQNlZ8rKpZb LX0mKtn1/08t9FgAq8aBVLX0nW0OPl7oQXM6sTju6QdRfhy7ubjD9Q/zSzqRDGzZ gWV7eXK4PWgv4H2A6taR9fZwk8F/nkuIAlZkkCPWfXxhzC3KpluVkht424vQ== X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter03.heinlein-hosting.de (spamfilter03.heinlein-hosting.de [80.241.56.117]) (amavisd-new, port 10030) with ESMTP id PYIKI-rz5jG8 for <bug-guile@HIDDEN>; Thu, 26 Oct 2017 18:01:25 +0200 (CEST) From: newbluemoon <blaumolch@HIDDEN> Message-ID: <dc397db4-3956-4e7a-cbd1-56ac87a06afa@HIDDEN> Date: Thu, 26 Oct 2017 18:01:25 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: de-DE Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.4 (----) X-Mailman-Approved-At: Thu, 26 Oct 2017 12:24:55 -0400 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -4.4 (----) On systems using the musl libc LONG_LONG_MAX and LONG_LONG_MIN are not defined which leads to a compilation error in certain cases. The following patch replaces these macros with LLONG_MAX and LLONG_MIN respectively. --- a/libguile/fports.c 2017-03-01 17:32:58.000000000 +0100 +++ b/libguile/fports.c 2017-10-26 17:36:41.705006593 +0200 @@ -67,8 +67,8 @@ #define OFF_T_MAX LONG_MAX #define OFF_T_MIN LONG_MIN #elif SIZEOF_OFF_T == SIZEOF_LONG_LONG -#define OFF_T_MAX LONG_LONG_MAX -#define OFF_T_MIN LONG_LONG_MIN +#define OFF_T_MAX LLONG_MAX +#define OFF_T_MIN LLONG_MIN #else #error Oops, unknown OFF_T size #endif
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: newbluemoon <blaumolch@HIDDEN> Subject: bug#29015: Acknowledgement (LONG_LONG_MAX/MIN not defined on systems using musl libc) Message-ID: <handler.29015.B.150903509619908.ack <at> debbugs.gnu.org> References: <dc397db4-3956-4e7a-cbd1-56ac87a06afa@HIDDEN> X-Gnu-PR-Message: ack 29015 X-Gnu-PR-Package: guile Reply-To: 29015 <at> debbugs.gnu.org Date: Thu, 26 Oct 2017 16:25:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-guile@HIDDEN If you wish to submit further information on this problem, please send it to 29015 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 29015: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D29015 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.