From patchwork Sun Jun 21 13:10:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Bilas X-Patchwork-Id: 1313934 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=grinn-global.com Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49qXwc18gTz9sT6 for ; Sun, 21 Jun 2020 23:10:55 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 8247A884EB; Sun, 21 Jun 2020 13:10:52 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id u6reDoOVkZN3; Sun, 21 Jun 2020 13:10:51 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 2057A8811E; Sun, 21 Jun 2020 13:10:51 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id E68FE1BF4DD for ; Sun, 21 Jun 2020 13:10:47 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id E239986F49 for ; Sun, 21 Jun 2020 13:10:47 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id p7uRWoHKaqz9 for ; Sun, 21 Jun 2020 13:10:47 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from smtp.megiteam.pl (smtp.megiteam.pl [31.186.83.105]) by fraxinus.osuosl.org (Postfix) with ESMTPS id DC5D086DF0 for ; Sun, 21 Jun 2020 13:10:46 +0000 (UTC) Received: from host-81-161-202-55.oxylion.net.pl ([81.161.202.55] helo=bartekk-pc.lan) by smtp.megiteam.pl with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86.2_XX) (envelope-from ) id 1jmzkB-0007vA-BI; Sun, 21 Jun 2020 15:10:43 +0200 From: Bartosz Bilas To: buildroot@buildroot.org Date: Sun, 21 Jun 2020 15:10:38 +0200 Message-Id: <20200621131038.1031282-2-b.bilas@grinn-global.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200621131038.1031282-1-b.bilas@grinn-global.com> References: <20200621131038.1031282-1-b.bilas@grinn-global.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 2/2] package/irrlicht: add patch to fix linking warning X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Bartosz Bilas Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" irrlicht uses the old path to X11R6 that's not available in Buildroot in addition causes warning: library search path "/usr/X11R6/lib" is unsafe for cross-compilation. Signed-off-by: Bartosz Bilas --- ...obsolete-X11R6-lib-include-directori.patch | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 package/irrlicht/0004-makefile-remove-obsolete-X11R6-lib-include-directori.patch diff --git a/package/irrlicht/0004-makefile-remove-obsolete-X11R6-lib-include-directori.patch b/package/irrlicht/0004-makefile-remove-obsolete-X11R6-lib-include-directori.patch new file mode 100644 index 0000000000..e2d3d4be77 --- /dev/null +++ b/package/irrlicht/0004-makefile-remove-obsolete-X11R6-lib-include-directori.patch @@ -0,0 +1,32 @@ +From 60c23c894ddf219b25b3437284c9a572f128b0fe Mon Sep 17 00:00:00 2001 +From: Bartosz Bilas +Date: Sun, 21 Jun 2020 14:34:50 +0200 +Subject: [PATCH] makefile: remove obsolete X11R6 lib/include directories + +Remove this obsolete path that's not used in buildroot and causes +the following warning: + +/home/bartekk/buildroot/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-gnueabihf/9.2.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: warning: library search path "/usr/X11R6/lib" is unsafe for cross-compilation + +Signed-off-by: Bartosz Bilas +--- + source/Irrlicht/Makefile | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/source/Irrlicht/Makefile b/source/Irrlicht/Makefile +index fed6c7e..b323237 100644 +--- a/source/Irrlicht/Makefile ++++ b/source/Irrlicht/Makefile +@@ -88,8 +88,7 @@ STATIC_LIB = libIrrlicht.a + LIB_PATH = ../../lib/$(SYSTEM) + INSTALL_DIR = /usr/local/lib + sharedlib install: SHARED_LIB = libIrrlicht.so +-sharedlib: override LDFLAGS += -L/usr/X11R6/lib$(LIBSELECT) -lGL -lXxf86vm +-staticlib sharedlib: CXXINCS += -I/usr/X11R6/include ++sharedlib: override LDFLAGS += -lGL -lXxf86vm + + #OSX specific options + staticlib_osx sharedlib_osx install_osx: SYSTEM = MacOSX +-- +2.27.0 +