pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/archivers/engrampa engrampa: More _XOPEN_SOURCE fixes.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/71e26643d27f
branches:  trunk
changeset: 439674:71e26643d27f
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Fri Sep 25 09:02:58 2020 +0000

description:
engrampa: More _XOPEN_SOURCE fixes.

diffstat:

 archivers/engrampa/distinfo                            |   4 +++-
 archivers/engrampa/patches/patch-src_fr-command-ar.c   |  16 ++++++++++++++++
 archivers/engrampa/patches/patch-src_fr-command-dpkg.c |  16 ++++++++++++++++
 3 files changed, 35 insertions(+), 1 deletions(-)

diffs (55 lines):

diff -r b1dfa8b7b87a -r 71e26643d27f archivers/engrampa/distinfo
--- a/archivers/engrampa/distinfo       Fri Sep 25 08:51:41 2020 +0000
+++ b/archivers/engrampa/distinfo       Fri Sep 25 09:02:58 2020 +0000
@@ -1,8 +1,10 @@
-$NetBSD: distinfo,v 1.11 2020/04/05 16:05:40 bsiegert Exp $
+$NetBSD: distinfo,v 1.12 2020/09/25 09:02:58 jperkin Exp $
 
 SHA1 (engrampa-1.24.0.tar.xz) = 280ea32001e31b16d968ddc84d26f7cf26ec7880
 RMD160 (engrampa-1.24.0.tar.xz) = 4ba972d22705bf30ed074dcbe2dd41d833c14938
 SHA512 (engrampa-1.24.0.tar.xz) = b6996e224ef52d8fd7102e4498193faa62056e8c22aa260ab5c6361533744f78755d500536ec0e03fd8b42b71da56d3f58d9d760809d20b572bee02fdee07cce
 Size (engrampa-1.24.0.tar.xz) = 1678920 bytes
+SHA1 (patch-src_fr-command-ar.c) = 88fdf1f73e3e2d2dd4c0f4224cf3fe3be9fe6123
+SHA1 (patch-src_fr-command-dpkg.c) = 5f4a200f7311ac84d78a5837540f0914734b6843
 SHA1 (patch-src_fr-command-lrzip.c) = 6617c7481a798a67a71158ab74870400b3e36273
 SHA1 (patch-src_fr-command-unarchiver.c) = 12ef9b4ec8a6ee0205aff0e47cf7cdfb735fe63e
diff -r b1dfa8b7b87a -r 71e26643d27f archivers/engrampa/patches/patch-src_fr-command-ar.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/engrampa/patches/patch-src_fr-command-ar.c      Fri Sep 25 09:02:58 2020 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_fr-command-ar.c,v 1.1 2020/09/25 09:02:58 jperkin Exp $
+
+Set _XOPEN_SOURCE correctly.
+
+--- src/fr-command-ar.c.orig   2020-02-10 11:05:03.000000000 +0000
++++ src/fr-command-ar.c
+@@ -20,7 +20,9 @@
+  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+  */
+ 
++#if !defined(__sun) || (__STDC_VERSION__-0 < 199901L)
+ #define _XOPEN_SOURCE /* strptime */
++#endif
+ 
+ #include <stdlib.h>
+ #include <string.h>
diff -r b1dfa8b7b87a -r 71e26643d27f archivers/engrampa/patches/patch-src_fr-command-dpkg.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/engrampa/patches/patch-src_fr-command-dpkg.c    Fri Sep 25 09:02:58 2020 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_fr-command-dpkg.c,v 1.1 2020/09/25 09:02:58 jperkin Exp $
+
+Set _XOPEN_SOURCE correctly.
+
+--- src/fr-command-dpkg.c.orig 2020-02-10 11:05:03.000000000 +0000
++++ src/fr-command-dpkg.c
+@@ -20,7 +20,9 @@
+  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+  */
+ 
++#if !defined(__sun) || (__STDC_VERSION__-0 < 199901L)
+ #define _XOPEN_SOURCE /* strptime */
++#endif
+ 
+ #include <config.h>
+ #include <stdlib.h>



Home | Main Index | Thread Index | Old Index