pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/53501: devel/astyle needs extra patch for PATH_MAX [included]



>Number:         53501
>Category:       pkg
>Synopsis:       devel/astyle needs extra patch for PATH_MAX
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Aug 05 13:35:00 +0000 2018
>Originator:     Rhialto
>Release:        NetBSD 8.0
>Organization:
	<organization of PR author (multiple lines)>
>Environment:
System: NetBSD murthe.falu.nl 8.0 NetBSD 8.0 (GENERIC) #0: Tue Jul 17 14:59=
:51 UTC 2018 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GEN=
ERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
	devel/astyle fails to build under 8.0.
>How-To-Repeat:
	cd /usr/pkgsrc/devel/astyle && make
>Fix:

new file patches/patch-astyle_main.cpp:

$NetBSD$

PATH_MAX is no longer defined in whatever header files were already include=
d.

--- src/astyle_main.cpp.orig	2018-01-11 17:18:19.000000000 +0000
+++ src/astyle_main.cpp
@@ -50,6 +50,7 @@
 	#include <dirent.h>
 	#include <unistd.h>
 	#include <sys/stat.h>
+	#include <limits.h>	// for PATH_MAX
 	#ifdef __VMS
 		#include <unixlib.h>
 		#include <rms.h>

-Olaf.
--=20
___ Olaf 'Rhialto' Seibert  -- Wayland: Those who don't understand X
\X/ rhialto/at/falu.nl      -- are condemned to reinvent it. Poorly.

--45Z9DzgjV8m4Oswq
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEcBAEBAgAGBQJbZvzoAAoJEJmJxkVhw/vTQE8H/2MfHOiU5rJGpp3DFrhVPIOK
otPXrJGjOB3AAZsx2OkWRGWOFNlP+7r2IrXtyZDhbM3GflqDCzPeiDYiTVDFZSaW
skLt6NT98eqR3yX2nzIcNysJ/bXD5G/lejDf0/cy64wIXPkLpcvB+UDPVmNOWfCm
Ky1QBS9MUo997QBciBgPWMHT/zxDX/5JqXIgQqeG8XwhrTynBL6DJwnigQbR36tI
jZnyyiDAj3JOB0A2lL8iVIVwwTy/gpkwL3FkYCil89ATatxVWt/1MlQvp2p37FZ7
xZ2JcW5a30rjLz4SxYqNa+s0q9Q3AhRdgSvNR58J1ubykgmvs4I5E9rdU6vkv8g=
=6JIl
-----END PGP SIGNATURE-----

--45Z9DzgjV8m4Oswq--

>Unformatted:
 --45Z9DzgjV8m4Oswq
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 


Home | Main Index | Thread Index | Old Index