pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/leahneukirchen-redo



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Mon Jul 20 19:46:18 UTC 2020

Modified Files:
        pkgsrc/devel/leahneukirchen-redo: Makefile distinfo
        pkgsrc/devel/leahneukirchen-redo/patches: patch-redo.c

Log Message:
Define PATH_MAX on Illumos. Respect CFLAGS.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/leahneukirchen-redo/Makefile \
    pkgsrc/devel/leahneukirchen-redo/distinfo
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/devel/leahneukirchen-redo/patches/patch-redo.c

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

Modified files:

Index: pkgsrc/devel/leahneukirchen-redo/Makefile
diff -u pkgsrc/devel/leahneukirchen-redo/Makefile:1.2 pkgsrc/devel/leahneukirchen-redo/Makefile:1.3
--- pkgsrc/devel/leahneukirchen-redo/Makefile:1.2       Mon Jul  6 16:48:50 2020
+++ pkgsrc/devel/leahneukirchen-redo/Makefile   Mon Jul 20 19:46:18 2020
@@ -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 @@ INSTALLATION_DIRS=    bin share/doc/${PKGBA
 
 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
Index: pkgsrc/devel/leahneukirchen-redo/distinfo
diff -u pkgsrc/devel/leahneukirchen-redo/distinfo:1.2 pkgsrc/devel/leahneukirchen-redo/distinfo:1.3
--- pkgsrc/devel/leahneukirchen-redo/distinfo:1.2       Mon Jul  6 16:48:50 2020
+++ pkgsrc/devel/leahneukirchen-redo/distinfo   Mon Jul 20 19:46:18 2020
@@ -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

Index: pkgsrc/devel/leahneukirchen-redo/patches/patch-redo.c
diff -u pkgsrc/devel/leahneukirchen-redo/patches/patch-redo.c:1.1 pkgsrc/devel/leahneukirchen-redo/patches/patch-redo.c:1.2
--- pkgsrc/devel/leahneukirchen-redo/patches/patch-redo.c:1.1   Mon Jul  6 15:27:19 2020
+++ pkgsrc/devel/leahneukirchen-redo/patches/patch-redo.c       Mon Jul 20 19:46:18 2020
@@ -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