pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/py-uwsgi Avoid sys/user.h on NetBSD.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b892f9711475
branches:  trunk
changeset: 364301:b892f9711475
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Jun 23 15:56:45 2017 +0000

description:
Avoid sys/user.h on NetBSD.

diffstat:

 www/py-uwsgi/distinfo                     |  4 ++--
 www/py-uwsgi/patches/patch-core_logging.c |  9 ++++++---
 2 files changed, 8 insertions(+), 5 deletions(-)

diffs (41 lines):

diff -r d5e3c31de0bf -r b892f9711475 www/py-uwsgi/distinfo
--- a/www/py-uwsgi/distinfo     Fri Jun 23 15:56:17 2017 +0000
+++ b/www/py-uwsgi/distinfo     Fri Jun 23 15:56:45 2017 +0000
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.29 2017/04/08 12:04:27 adam Exp $
+$NetBSD: distinfo,v 1.30 2017/06/23 15:56:45 joerg Exp $
 
 SHA1 (uwsgi-2.0.15.tar.gz) = 7e2606a6c61a2d6a48f0bb970408336529b7b158
 RMD160 (uwsgi-2.0.15.tar.gz) = 5a6a3e9547aff9e2e4070e90aca3148540ba78b0
 SHA512 (uwsgi-2.0.15.tar.gz) = cb3ce7dc9eb9806151b04b04dc80ac7204cb4ddadf295eea98d5ebbf3a8c02f4b0bfb9a0490997c5edf427e39d3073a2d5b4fe7bd8ec458b30c0aab8e1da9bef
 Size (uwsgi-2.0.15.tar.gz) = 795070 bytes
 SHA1 (patch-base.ini) = 1c5d7693e6c8011e6cc34f5f5d203584c985eb30
-SHA1 (patch-core_logging.c) = 8978d42354dd607ed28c00f514cbd296bcb6666d
+SHA1 (patch-core_logging.c) = caa986238142d24725df119cbecda1b9e3223d7e
 SHA1 (patch-uwsgi.h) = 64b5f6ea310bf6c65c1f546e160fcd0bd94a3808
 SHA1 (patch-uwsgiconfig.py) = aab47457f2fafb0206a53913ef3777700175d020
diff -r d5e3c31de0bf -r b892f9711475 www/py-uwsgi/patches/patch-core_logging.c
--- a/www/py-uwsgi/patches/patch-core_logging.c Fri Jun 23 15:56:17 2017 +0000
+++ b/www/py-uwsgi/patches/patch-core_logging.c Fri Jun 23 15:56:45 2017 +0000
@@ -1,15 +1,18 @@
-$NetBSD: patch-core_logging.c,v 1.2 2016/11/04 21:39:00 maya Exp $
+$NetBSD: patch-core_logging.c,v 1.3 2017/06/23 15:56:45 joerg Exp $
 
 Fix build for Bitrig.
 
---- core/logging.c.orig        2016-10-03 08:16:59.000000000 +0000
+--- core/logging.c.orig        2017-03-30 22:11:36.000000000 +0000
 +++ core/logging.c
-@@ -1,7 +1,7 @@
+@@ -1,8 +1,10 @@
  #ifndef __DragonFly__
  #include <uwsgi.h>
  #endif
 -#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__) || defined(__OpenBSD__)
 +#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__) || defined(__OpenBSD__) || defined(__Bitrig__)
++#  if !defined(__NetBSD__)
  #include <sys/user.h>
++#  endif
  #include <sys/sysctl.h>
  #include <kvm.h>
+ #elif defined(__sun__)



Home | Main Index | Thread Index | Old Index