From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id gLmBMOMQ72TxOwAAG6o9tA:P1 (envelope-from ) for ; Wed, 30 Aug 2023 11:50:27 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id gLmBMOMQ72TxOwAAG6o9tA (envelope-from ) for ; Wed, 30 Aug 2023 11:50:27 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A254236715 for ; Wed, 30 Aug 2023 11:50:27 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1693389027; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=lURt6IFUxhZhnCafci44w/tTBopMfcwJRrgwsRYAwVM=; b=RC0c77GJuorlGko5UQEEO2xGUy/RBoaXY4GOtj1iVqJ7JBtTzlHDkNjwpwDH7EPsTTYvr1 vsws+mu7fDdKelF1GAej/wIkAq8dxImz0OtVw3z3LjV7UyYMWYfByf+oLBLsGLfEaYcCu2 zLxvNvlrjFI866vNXKWwjH1OMql1HpF7LCxDj8zMlGiexfm+lxw119p6Xn9O5FUoaZuBLa QidQi6i2KQD6/P5AtV0Ol0/vuU7dHJAGncgHYSnuP3o+6ngWa4mqjJH5hoCDWf+tu4Hlgp yFDA28J5/qshWZNdS3qqn0pM6RgmCh8l2UXa/ppL3++YjA904R5wIY4RPqMmqw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1693389027; a=rsa-sha256; cv=none; b=FxpvLkIA3L0IB1K1/sV9R2yR9XU7Qz2PByt8JeQg+U5Jm1NDL282G1mxJczwwOlrHDJjd7 NFo4F0B4t6z99JqfYKkkIyrBoQcInBA1cHwEyRBCtjvAxzVTAtYpJEMotCw07aWWpZqawp YEPFfj3GVQ9cjVOPnasV06l+UgObSvX/MQMzZuVsR+B9WhZfQnTRj0e9/QtNjfJDiVhxV0 h3VzBkhYekhvZC1Z2+upRNWy6CvlQOQLb05ZvSzCffbJ6Lyq7E27DYQPwQPoPu5Vq7aDYM R2iisHyBvPsPwrZcFso2BerX6T5o1thi0jOFB7HGpwTWczUknPShvxrYUmpgMQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qbHnx-0002DF-F8; Wed, 30 Aug 2023 05:48:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qbHno-0001uW-9r for guix-patches@gnu.org; Wed, 30 Aug 2023 05:47:58 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qbHnn-0003CF-AA for guix-patches@gnu.org; Wed, 30 Aug 2023 05:47:55 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qbHnu-0002Fe-At for guix-patches@gnu.org; Wed, 30 Aug 2023 05:48:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65357] [PATCH] gnu: scilab: Fix compilation error. Resent-From: Andreas Enge Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 30 Aug 2023 09:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65357 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Nicolas Graves Cc: Eric Bavier , 65357@debbugs.gnu.org, Efraim Flashner Received: via spool by 65357-submit@debbugs.gnu.org id=B65357.16933888748605 (code B ref 65357); Wed, 30 Aug 2023 09:48:02 +0000 Received: (at 65357) by debbugs.gnu.org; 30 Aug 2023 09:47:54 +0000 Received: from localhost ([127.0.0.1]:52162 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbHnl-0002Ei-Tb for submit@debbugs.gnu.org; Wed, 30 Aug 2023 05:47:54 -0400 Received: from hera.aquilenet.fr ([2a0c:e300::1]:37482) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbHni-0002DY-Hn for 65357@debbugs.gnu.org; Wed, 30 Aug 2023 05:47:53 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 70718483; Wed, 30 Aug 2023 11:47:36 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id N-mwDK_V7UYJ; Wed, 30 Aug 2023 11:47:36 +0200 (CEST) Received: from jurong (unknown [IPv6:2001:861:c4:f2f0::c64]) by hera.aquilenet.fr (Postfix) with ESMTPSA id DCF1814F; Wed, 30 Aug 2023 11:47:35 +0200 (CEST) Date: Wed, 30 Aug 2023 11:47:34 +0200 From: Andreas Enge Message-ID: References: <03a288df56dc60850e6a8c0fc2785949e209f33a.1692296107.git.ngraves@ngraves.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -5.50 X-Migadu-Queue-Id: A254236715 X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -5.50 X-TUID: HeXKlUXzalZb Hello, Am Fri, Aug 18, 2023 at 08:23:25PM +0200 schrieb Andreas Enge: > ../../modules/string/includes/os_string.h:107:25: error: ‘strcasecmp’ was not declared in this scope; did you mean ‘wcscasecmp’? > 107 | #define stricmp strcasecmp > | ^~~~~~~~~~ > src/cpp/funcmanager.cpp:134:9: note: in expansion of macro ‘stricmp’ > 134 | if (stricmp("utf-8", encoding) == 0) > | ^~~~~~~ > The file looks unchanged in the latest git commit of scilab, and I have not > seen a corresponding patch in the Debian package, so I have given up. "man strcasecmp" has this to say: NOTES The strcasecmp() and strncasecmp() functions first appeared in 4.4BSD, where they were declared in . Thus, for reasons of historical compatibility, the glibc header file also de‐ clares these functions, if the _DEFAULT_SOURCE (or, in glibc 2.19 and earlier, _BSD_SOURCE) feature test macro is defined. So it might be enough to just add "#define _DEFAULT_SOURCE" somewhere. Andreas