pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/xenkernel42 xenkernel42: apply upstream's bui...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ec2198f8544d
branches:  trunk
changeset: 352322:ec2198f8544d
user:      maya <maya%pkgsrc.org@localhost>
date:      Mon Sep 12 13:22:39 2016 +0000

description:
xenkernel42: apply upstream's build fix for GCC5

Requested by Andreas Gustafsson in PR pkg/51382

diffstat:

 sysutils/xenkernel42/distinfo                           |   3 ++-
 sysutils/xenkernel42/patches/patch-xen_common_symbols.c |  16 ++++++++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)

diffs (37 lines):

diff -r 070b4b447732 -r ec2198f8544d sysutils/xenkernel42/distinfo
--- a/sysutils/xenkernel42/distinfo     Mon Sep 12 13:21:31 2016 +0000
+++ b/sysutils/xenkernel42/distinfo     Mon Sep 12 13:22:39 2016 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.21 2016/09/08 15:41:01 bouyer Exp $
+$NetBSD: distinfo,v 1.22 2016/09/12 13:22:39 maya Exp $
 
 SHA1 (xen-4.2.5.tar.gz) = f42741e4ec174495ace70c4b17a6b9b0e60e798a
 RMD160 (xen-4.2.5.tar.gz) = 7d4f7f1b32ee541d341a756b1f8da02816438d19
@@ -36,6 +36,7 @@
 SHA1 (patch-xen_arch_x86_mm_shadow_common.c) = 89dce860cc6aef7d0ec31f3137616b592490e60a
 SHA1 (patch-xen_arch_x86_x86_emulate_x86_emulate.c) = 8b906e762c8f94a670398b4e033d50a2fb012f0a
 SHA1 (patch-xen_common_spinlock.c) = 06f06b5e9b098262ebaa8af0be4837005fb5b8b4
+SHA1 (patch-xen_common_symbols.c) = 30cbffe56e71fe800d5a24d8ef21f233e52c9267
 SHA1 (patch-xen_drivers_passthrough_vtd_x86_ats.c) = 5ab0bb0d1fd63abf8ef8d1f073f83a5f1f9f159a
 SHA1 (patch-xen_include_asm-arm_spinlock.h) = fe2e35a5ebec4c551df5d1680c93e6ad19348d93
 SHA1 (patch-xen_include_asm-x86_atomic.h) = d406c6071ea3823c25113a801dd77ff32146d162
diff -r 070b4b447732 -r ec2198f8544d sysutils/xenkernel42/patches/patch-xen_common_symbols.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/xenkernel42/patches/patch-xen_common_symbols.c   Mon Sep 12 13:22:39 2016 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-xen_common_symbols.c,v 1.1 2016/09/12 13:22:39 maya Exp $
+
+upstream build fix for GCC5
+https://lists.xenproject.org/archives/html/xen-devel/2015-03/msg01687.html
+
+--- xen/common/symbols.c.orig  2014-09-02 06:22:57.000000000 +0000
++++ xen/common/symbols.c
+@@ -19,7 +19,7 @@
+ #include <xen/spinlock.h>
+ 
+ #ifdef SYMBOLS_ORIGIN
+-extern const unsigned int symbols_offsets[1];
++extern const unsigned int symbols_offsets[];
+ #define symbols_address(n) (SYMBOLS_ORIGIN + symbols_offsets[n])
+ #else
+ extern const unsigned long symbols_addresses[];



Home | Main Index | Thread Index | Old Index