pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/archivers/engrampa engrampa: Set _XOPEN_SOURCE correctly.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bbbf80e3744b
branches:  trunk
changeset: 375225:bbbf80e3744b
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Tue Feb 06 09:59:38 2018 +0000

description:
engrampa: Set _XOPEN_SOURCE correctly.

diffstat:

 archivers/engrampa/distinfo                                  |   3 +-
 archivers/engrampa/patches/patch-src_fr-command-unarchiver.c |  16 ++++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r d244e863b8e5 -r bbbf80e3744b archivers/engrampa/distinfo
--- a/archivers/engrampa/distinfo       Tue Feb 06 08:09:44 2018 +0000
+++ b/archivers/engrampa/distinfo       Tue Feb 06 09:59:38 2018 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.3 2017/06/23 17:09:36 youri Exp $
+$NetBSD: distinfo,v 1.4 2018/02/06 09:59:38 jperkin Exp $
 
 SHA1 (engrampa-1.18.2.tar.xz) = 14b6f334bb6dde2bf9441b42438fc1e0aa76dee9
 RMD160 (engrampa-1.18.2.tar.xz) = fd07cbf44d94ba827fa3bf00c431187405dff719
 SHA512 (engrampa-1.18.2.tar.xz) = 98769a4388cb6cf524e6d34c4ac13596231cdb7a9795b59c9722ceeead3b090c5b69040318718eacd9debbe3a19d70da04221623aaec04faf1a0f56c4bb059d5
 Size (engrampa-1.18.2.tar.xz) = 1424404 bytes
 SHA1 (patch-src_fr-command-lrzip.c) = 0409d41ab993ca67c71c6896083f848919fc8be8
+SHA1 (patch-src_fr-command-unarchiver.c) = 12ef9b4ec8a6ee0205aff0e47cf7cdfb735fe63e
diff -r d244e863b8e5 -r bbbf80e3744b archivers/engrampa/patches/patch-src_fr-command-unarchiver.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/engrampa/patches/patch-src_fr-command-unarchiver.c      Tue Feb 06 09:59:38 2018 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_fr-command-unarchiver.c,v 1.1 2018/02/06 09:59:38 jperkin Exp $
+
+Set _XOPEN_SOURCE correctly.
+
+--- src/fr-command-unarchiver.c.orig   2016-04-07 11:37:58.000000000 +0000
++++ src/fr-command-unarchiver.c
+@@ -19,7 +19,9 @@
+  *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
+  */
+ 
++#if !defined(__sun) || (__STDC_VERSION__-0 < 199901L)
+ #define _XOPEN_SOURCE       /* See feature_test_macros(7) */
++#endif
+ #include <time.h>
+ #include <stdio.h>
+ #include <stdlib.h>



Home | Main Index | Thread Index | Old Index