git: 411bffe040e0 - 2024Q3 - devel/binutils: add /usr/lib32 to search path

From: Brooks Davis <brooks_at_FreeBSD.org>
Date: Thu, 25 Jul 2024 22:54:29 UTC
The branch 2024Q3 has been updated by brooks:

URL: https://cgit.FreeBSD.org/ports/commit/?id=411bffe040e0d51e5504b35c7dd0215d842b9dab

commit 411bffe040e0d51e5504b35c7dd0215d842b9dab
Author:     Brooks Davis <brooks@FreeBSD.org>
AuthorDate: 2024-07-25 18:40:07 +0000
Commit:     Brooks Davis <brooks@FreeBSD.org>
CommitDate: 2024-07-25 22:28:26 +0000

    devel/binutils: add /usr/lib32 to search path
    
    Merge upstream commit f026d7063ece:
    
        Add /usr/lib32 to the native search paths for FreeBSD systems.
    
    PR:             280447
    Approved by:    cy (maintainer)
    Upstream PR:    https://sourceware.org/bugzilla/show_bug.cgi?id=31395
    MFH:            2024Q3
    Sponsored by:   DARPA, AFRL
    
    (cherry picked from commit e85c5176a901d354a38a5bc77bd0dff280aa3bf1)
---
 devel/binutils/Makefile             |  2 +-
 devel/binutils/files/patch-ld-lib32 | 11 +++++++++++
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/devel/binutils/Makefile b/devel/binutils/Makefile
index bde967280610..366797b8a361 100644
--- a/devel/binutils/Makefile
+++ b/devel/binutils/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	binutils
 DISTVERSION=	2.40
-PORTREVISION=	5
+PORTREVISION=	6
 PORTEPOCH?=	1
 CATEGORIES?=	devel
 MASTER_SITES=	GNU \
diff --git a/devel/binutils/files/patch-ld-lib32 b/devel/binutils/files/patch-ld-lib32
new file mode 100644
index 000000000000..2edf5a18066e
--- /dev/null
+++ b/devel/binutils/files/patch-ld-lib32
@@ -0,0 +1,11 @@
+--- ld/configure.tgt.orig	2024-07-18 19:15:53.355228000 +0100
++++ ld/configure.tgt	2024-07-18 19:17:43.053568000 +0100
+@@ -1102,7 +1106,7 @@
+   ;;
+ 
+ *-*-freebsd*)
+-  NATIVE_LIB_DIRS='/lib /usr/lib /usr/local/lib'
++  NATIVE_LIB_DIRS='/lib /usr/lib /usr/local/lib /usr/lib32'
+   ;;
+ 
+ hppa*64*-*-hpux11*)