pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/py-uwsgi Fix build for OpenBSD and Bitrig (from se...
details: https://anonhg.NetBSD.org/pkgsrc/rev/d3f2945a0e48
branches: trunk
changeset: 649619:d3f2945a0e48
user: rodent <rodent%pkgsrc.org@localhost>
date: Mon Apr 06 02:35:54 2015 +0000
description:
Fix build for OpenBSD and Bitrig (from sevan@'s report).
diffstat:
www/py-uwsgi/distinfo | 9 +++++----
www/py-uwsgi/patches/patch-base.ini | 4 ++--
www/py-uwsgi/patches/patch-core_logging.c | 15 +++++++++++++++
www/py-uwsgi/patches/patch-uwsgi.h | 6 +++---
www/py-uwsgi/patches/patch-uwsgiconfig.py | 10 +++++-----
5 files changed, 30 insertions(+), 14 deletions(-)
diffs (102 lines):
diff -r 400dff958497 -r d3f2945a0e48 www/py-uwsgi/distinfo
--- a/www/py-uwsgi/distinfo Mon Apr 06 02:34:09 2015 +0000
+++ b/www/py-uwsgi/distinfo Mon Apr 06 02:35:54 2015 +0000
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.24 2015/04/03 15:21:59 rodent Exp $
+$NetBSD: distinfo,v 1.25 2015/04/06 02:35:54 rodent Exp $
SHA1 (uwsgi-2.0.10.tar.gz) = 31bae2dac113af8d95dbc9b982df139ff61ce209
RMD160 (uwsgi-2.0.10.tar.gz) = 24d9f7528ed3d5f20b962a60512ab9ab1a43ef35
Size (uwsgi-2.0.10.tar.gz) = 779820 bytes
-SHA1 (patch-base.ini) = f1b61f8323a7be92ebae5c87b8a32b3109145036
-SHA1 (patch-uwsgi.h) = 911aa69e7973b92c726fa293748ae6a875b45353
-SHA1 (patch-uwsgiconfig.py) = 9d84206e86168465d83eec640bd4b575fc428d43
+SHA1 (patch-base.ini) = 1c5d7693e6c8011e6cc34f5f5d203584c985eb30
+SHA1 (patch-core_logging.c) = bce3b6fe0e54d25ad631671363b0872f9084e0f2
+SHA1 (patch-uwsgi.h) = 64b5f6ea310bf6c65c1f546e160fcd0bd94a3808
+SHA1 (patch-uwsgiconfig.py) = aab47457f2fafb0206a53913ef3777700175d020
diff -r 400dff958497 -r d3f2945a0e48 www/py-uwsgi/patches/patch-base.ini
--- a/www/py-uwsgi/patches/patch-base.ini Mon Apr 06 02:34:09 2015 +0000
+++ b/www/py-uwsgi/patches/patch-base.ini Mon Apr 06 02:35:54 2015 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-base.ini,v 1.3 2014/01/23 14:47:05 wiz Exp $
+$NetBSD: patch-base.ini,v 1.4 2015/04/06 02:35:54 rodent Exp $
Build CGI plugin too. Add directive for uuid detection.
---- buildconf/base.ini.orig 2013-12-30 08:44:59.000000000 +0000
+--- buildconf/base.ini.orig 2015-03-17 07:34:34.000000000 +0000
+++ buildconf/base.ini
@@ -4,6 +4,7 @@ yaml = true
json = auto
diff -r 400dff958497 -r d3f2945a0e48 www/py-uwsgi/patches/patch-core_logging.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-uwsgi/patches/patch-core_logging.c Mon Apr 06 02:35:54 2015 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-core_logging.c,v 1.1 2015/04/06 02:35:54 rodent Exp $
+
+Fix build for OpenBSD and Bitrig.
+
+--- core/logging.c.orig 2015-03-17 07:34:34.000000000 +0000
++++ core/logging.c
+@@ -13,7 +13,7 @@
+ #define _FILE_OFFSET_BITS 64
+ #endif
+
+-#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__)
++#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__OpenBSD__) || defined(__Bitrig__)
+ #include <sys/sysctl.h>
+ #endif
+
diff -r 400dff958497 -r d3f2945a0e48 www/py-uwsgi/patches/patch-uwsgi.h
--- a/www/py-uwsgi/patches/patch-uwsgi.h Mon Apr 06 02:34:09 2015 +0000
+++ b/www/py-uwsgi/patches/patch-uwsgi.h Mon Apr 06 02:35:54 2015 +0000
@@ -1,10 +1,10 @@
-$NetBSD: patch-uwsgi.h,v 1.5 2014/01/23 14:47:05 wiz Exp $
+$NetBSD: patch-uwsgi.h,v 1.6 2015/04/06 02:35:54 rodent Exp $
Avoid clash with sys/user.h inclusion in logging.c on DragonFly BSD.
---- uwsgi.h.orig 2013-12-30 08:44:59.000000000 +0000
+--- uwsgi.h.orig 2015-03-17 07:34:34.000000000 +0000
+++ uwsgi.h
-@@ -323,6 +323,10 @@ extern int pivot_root(const char *new_ro
+@@ -327,6 +327,10 @@ extern int pivot_root(const char *new_ro
#elif defined(__CYGWIN__)
#elif defined(__HURD__)
#else
diff -r 400dff958497 -r d3f2945a0e48 www/py-uwsgi/patches/patch-uwsgiconfig.py
--- a/www/py-uwsgi/patches/patch-uwsgiconfig.py Mon Apr 06 02:34:09 2015 +0000
+++ b/www/py-uwsgi/patches/patch-uwsgiconfig.py Mon Apr 06 02:35:54 2015 +0000
@@ -1,10 +1,10 @@
-$NetBSD: patch-uwsgiconfig.py,v 1.9 2014/02/17 01:01:12 rodent Exp $
+$NetBSD: patch-uwsgiconfig.py,v 1.10 2015/04/06 02:35:54 rodent Exp $
Disable inclusion of certain packages by default. Use options framework instead.
---- uwsgiconfig.py.orig 2013-12-30 08:44:59.000000000 +0000
+--- uwsgiconfig.py.orig 2015-03-17 07:34:34.000000000 +0000
+++ uwsgiconfig.py
-@@ -68,6 +68,7 @@ report = {
+@@ -73,6 +73,7 @@ report = {
'timer': False,
'filemonitor': False,
'pcre': False,
@@ -12,7 +12,7 @@
'routing': False,
'capabilities': False,
'yaml': False,
-@@ -816,6 +817,8 @@ class uConf(object):
+@@ -851,6 +852,8 @@ class uConf(object):
if locking_mode == 'auto':
if uwsgi_os == 'Linux' or uwsgi_os == 'SunOS':
locking_mode = 'pthread_mutex'
@@ -21,7 +21,7 @@
# FreeBSD umtx is still not ready for process shared locking
# starting from FreeBSD 9 posix semaphores can be shared between processes
elif uwsgi_os in ('FreeBSD', 'GNU/kFreeBSD'):
-@@ -1019,10 +1022,11 @@ class uConf(object):
+@@ -1054,10 +1057,11 @@ class uConf(object):
self.libs.append('-lcap')
report['capabilities'] = True
Home |
Main Index |
Thread Index |
Old Index