pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/57929: bsdtar-3.7.2 fails to build on Solaris 10
The following reply was made to PR pkg/57929; it has been noted by GNATS.
From: "David H. Gutteridge" <david%gutteridge.ca@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: pkg/57929: bsdtar-3.7.2 fails to build on Solaris 10
Date: Thu, 15 Feb 2024 00:05:26 -0500
Oh, yes, sorry, I was confirming before those two macro definitions are
equivalent for your OS. Since they are, we could do something like this
patch (untested, but should work for you).
Index: Makefile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvsroot/pkgsrc/archivers/bsdtar/Makefile,v
retrieving revision 1.30
diff -u -r1.30 Makefile
--- Makefile 15 Feb 2024 04:34:21 -0000 1.30
+++ Makefile 15 Feb 2024 04:53:06 -0000
@@ -53,6 +53,10 @@
.if ${OS_VARIANT} =3D=3D "SCOOSR5"
# SCO OpenServer 5.0.7/3.2 has windows.h, and configure expects it for
MS Windows.
CONFIGURE_ENV+=3D ac_cv_header_windows_h=3Dno
+.elif ${OS_VARIANT} =3D=3D "Solaris"
+# Older Solaris variants don't have FNM_CASEFOLD, but FNM_IGNORECASE as
0x08
+# is equivalent.
+CFLAGS+=3D -DFNM_CASEFOLD=3D0x08
.endif
=20
do-extract:
=20
(Patches to upstream would be done differently than that, but that
should get you around the issue within pkgsrc for now.)
Regards,
Dave
Home |
Main Index |
Thread Index |
Old Index