pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/astyle



Module Name:    pkgsrc
Committed By:   bsiegert
Date:           Sat Sep  1 20:35:22 UTC 2018

Modified Files:
        pkgsrc/devel/astyle: distinfo
Added Files:
        pkgsrc/devel/astyle/patches: patch-src_astyle__main.cpp

Log Message:
Fix astyle build on NetBSD-8.

Add an include for limits.h, covering PATH_MAX. From Rhialto in PR pkg/53501.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 pkgsrc/devel/astyle/distinfo
cvs rdiff -u -r0 -r1.4 pkgsrc/devel/astyle/patches/patch-src_astyle__main.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/astyle/distinfo
diff -u pkgsrc/devel/astyle/distinfo:1.17 pkgsrc/devel/astyle/distinfo:1.18
--- pkgsrc/devel/astyle/distinfo:1.17   Sat Mar 17 17:16:59 2018
+++ pkgsrc/devel/astyle/distinfo        Sat Sep  1 20:35:22 2018
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.17 2018/03/17 17:16:59 schmonz Exp $
+$NetBSD: distinfo,v 1.18 2018/09/01 20:35:22 bsiegert Exp $
 
 SHA1 (astyle_3.1_linux.tar.gz) = 84814b8bb4e52489687f2bce3c2d57ce7d3dcebe
 RMD160 (astyle_3.1_linux.tar.gz) = a8225fc99f11d681eeef55e1d812fe9a88d13685
 SHA512 (astyle_3.1_linux.tar.gz) = 2e8f13d291abda66bbba30174c364c81a81a490e0a21376f7da7cf471644c22caa37b9eefb100d093bf26d1a8bfa9d2f14b4c2a9b75b3cb84428b4514e277ff2
 Size (astyle_3.1_linux.tar.gz) = 185589 bytes
 SHA1 (patch-build_mac_Makefile) = ac8b4f69ec2b2f2cb3c87db140c2783b24009e2c
+SHA1 (patch-src_astyle__main.cpp) = 443deb0b27e88f0c3002929aa8a6c5ae23c4ad79

Added files:

Index: pkgsrc/devel/astyle/patches/patch-src_astyle__main.cpp
diff -u /dev/null pkgsrc/devel/astyle/patches/patch-src_astyle__main.cpp:1.4
--- /dev/null   Sat Sep  1 20:35:22 2018
+++ pkgsrc/devel/astyle/patches/patch-src_astyle__main.cpp      Sat Sep  1 20:35:22 2018
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_astyle__main.cpp,v 1.4 2018/09/01 20:35:22 bsiegert Exp $
+
+PATH_MAX is no longer defined in whatever header files were already included.
+
+--- 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>



Home | Main Index | Thread Index | Old Index