pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/leptonica



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Mon Feb  5 10:53:36 UTC 2018

Modified Files:
        pkgsrc/graphics/leptonica: distinfo
Added Files:
        pkgsrc/graphics/leptonica/patches: patch-src_sarray1.c

Log Message:
leptonica: Avoid fstatat(2) until it can be properly tested for.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/graphics/leptonica/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/leptonica/patches/patch-src_sarray1.c

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

Modified files:

Index: pkgsrc/graphics/leptonica/distinfo
diff -u pkgsrc/graphics/leptonica/distinfo:1.8 pkgsrc/graphics/leptonica/distinfo:1.9
--- pkgsrc/graphics/leptonica/distinfo:1.8      Fri Feb  2 12:09:18 2018
+++ pkgsrc/graphics/leptonica/distinfo  Mon Feb  5 10:53:36 2018
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.8 2018/02/02 12:09:18 adam Exp $
+$NetBSD: distinfo,v 1.9 2018/02/05 10:53:36 jperkin Exp $
 
 SHA1 (leptonica-1.75.1.tar.gz) = 2b02e0694ed5841279d21af7bda2c3b7c1d38bd0
 RMD160 (leptonica-1.75.1.tar.gz) = 200467483af7a7052f9461e08ca7271b28914229
 SHA512 (leptonica-1.75.1.tar.gz) = f4a00d17a23e9f3397dba8d896a550110ed3918e7697e7226c46721f66a5b8161b64bd8890c82253b338e1937e9d4b4365ca99d8f236c51bab27bc0f3ec575ee
 Size (leptonica-1.75.1.tar.gz) = 12392535 bytes
 SHA1 (patch-configure) = 775f6cdcb7442f08847cef481c2dfdcba9641e9d
+SHA1 (patch-src_sarray1.c) = 2e465517a82453d80d5c40654aa13e6d23f620a9

Added files:

Index: pkgsrc/graphics/leptonica/patches/patch-src_sarray1.c
diff -u /dev/null pkgsrc/graphics/leptonica/patches/patch-src_sarray1.c:1.1
--- /dev/null   Mon Feb  5 10:53:36 2018
+++ pkgsrc/graphics/leptonica/patches/patch-src_sarray1.c       Mon Feb  5 10:53:36 2018
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_sarray1.c,v 1.1 2018/02/05 10:53:36 jperkin Exp $
+
+Use stat(2) until they have proper autoconf tests for fstatat(2).
+
+--- src/sarray1.c.orig 2018-01-31 15:57:06.000000000 +0000
++++ src/sarray1.c
+@@ -1873,7 +1873,7 @@ struct stat     st;
+     while ((pdirentry = readdir(pdir))) {
+ 
+         /* It's nice to ignore directories.  */
+-      if ((0 == fstatat(dfd, pdirentry->d_name, &st, 0))
++      if ((0 == stat(pdirentry->d_name, &st))
+           && S_ISDIR(st.st_mode)) {
+             continue;
+       }



Home | Main Index | Thread Index | Old Index