Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/leahneukirchen-redo Define PATH_MAX on Illumos. ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/0ec3b29ebf38
branches: trunk
changeset: 435930:0ec3b29ebf38
user: schmonz <schmonz%pkgsrc.org@localhost>
date: Mon Jul 20 19:46:18 2020 +0000
description:
Define PATH_MAX on Illumos. Respect CFLAGS.
diffstat:
devel/leahneukirchen-redo/Makefile | 4 ++--
devel/leahneukirchen-redo/distinfo | 4 ++--
devel/leahneukirchen-redo/patches/patch-redo.c | 15 ++++++++++++---
3 files changed, 16 insertions(+), 7 deletions(-)
diffs (57 lines):
diff -r d51551fa4f64 -r 0ec3b29ebf38 devel/leahneukirchen-redo/Makefile
--- a/devel/leahneukirchen-redo/Makefile Mon Jul 20 19:46:06 2020 +0000
+++ b/devel/leahneukirchen-redo/Makefile Mon Jul 20 19:46:18 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2020/07/06 16:48:50 schmonz Exp $
+# $NetBSD: Makefile,v 1.3 2020/07/20 19:46:18 schmonz Exp $
DISTNAME= leahneukirchen-redo-0.2
CATEGORIES= devel
@@ -17,7 +17,7 @@
do-build:
cd ${WRKSRC}; \
- cc -Wall -Wextra -Wwrite-strings -o redo redo.c
+ cc ${CFLAGS} -Wall -Wextra -Wwrite-strings -o redo redo.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/redo ${DESTDIR}${PREFIX}/bin
diff -r d51551fa4f64 -r 0ec3b29ebf38 devel/leahneukirchen-redo/distinfo
--- a/devel/leahneukirchen-redo/distinfo Mon Jul 20 19:46:06 2020 +0000
+++ b/devel/leahneukirchen-redo/distinfo Mon Jul 20 19:46:18 2020 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.2 2020/07/06 16:48:50 schmonz Exp $
+$NetBSD: distinfo,v 1.3 2020/07/20 19:46:18 schmonz Exp $
SHA1 (leahneukirchen-redo-0.2.tar.gz) = 1c7ea152b8839abde63b32b39aaa76aeb16aa7d3
RMD160 (leahneukirchen-redo-0.2.tar.gz) = 40f2ef804d31fdba636eaf3e2ce55b81561d8d76
SHA512 (leahneukirchen-redo-0.2.tar.gz) = 7547625d3536bf875b34f05acdbed825d3a6915e62f4d504360c4bfcfd41506f197712f7bbc90fa7d5d50e87eddb6cb37bf27e39e105238406abe617600e0c4f
Size (leahneukirchen-redo-0.2.tar.gz) = 7673 bytes
-SHA1 (patch-redo.c) = 96e794071dc06bfc6efae27fc955b00c1b39326f
+SHA1 (patch-redo.c) = 19e57d151fe72907a894f27792ac504ffb5be8fc
diff -r d51551fa4f64 -r 0ec3b29ebf38 devel/leahneukirchen-redo/patches/patch-redo.c
--- a/devel/leahneukirchen-redo/patches/patch-redo.c Mon Jul 20 19:46:06 2020 +0000
+++ b/devel/leahneukirchen-redo/patches/patch-redo.c Mon Jul 20 19:46:18 2020 +0000
@@ -1,10 +1,19 @@
-$NetBSD: patch-redo.c,v 1.1 2020/07/06 15:27:19 schmonz Exp $
+$NetBSD: patch-redo.c,v 1.2 2020/07/20 19:46:18 schmonz Exp $
Avoid CONFLICTS with other redo implementations.
+Define PATH_MAX on Illumos.
---- redo.c.orig 2018-07-08 21:49:57.000000000 +0000
+--- redo.c.orig 2020-06-26 21:46:40.000000000 +0000
+++ redo.c
-@@ -974,20 +974,25 @@ main(int argc, char *argv[])
+@@ -34,6 +34,7 @@ todo:
+ #include <errno.h>
+ #include <fcntl.h>
+ #include <inttypes.h>
++#include <limits.h>
+ #include <stdarg.h>
+ #include <stdint.h>
+ #include <stdio.h>
+@@ -968,20 +969,25 @@ main(int argc, char *argv[])
dir_fd = keepdir();
Home |
Main Index |
Thread Index |
Old Index