pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/nspluginwrapper Fix build on -current



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8ef43a44b31a
branches:  trunk
changeset: 349082:8ef43a44b31a
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Mon Jun 27 11:03:29 2016 +0000

description:
Fix build on -current

diffstat:

 www/nspluginwrapper/distinfo                                |   3 +-
 www/nspluginwrapper/patches/patch-src_npw-config-template.h |  15 +++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (34 lines):

diff -r 5d486e0e3117 -r 8ef43a44b31a www/nspluginwrapper/distinfo
--- a/www/nspluginwrapper/distinfo      Mon Jun 27 09:04:10 2016 +0000
+++ b/www/nspluginwrapper/distinfo      Mon Jun 27 11:03:29 2016 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.12 2015/10/24 06:30:40 tsutsui Exp $
+$NetBSD: distinfo,v 1.13 2016/06/27 11:03:29 tnn Exp $
 
 SHA1 (nspluginwrapper-1.4.4-suse121-generic.i386.tar.gz) = cc093d1c6d6729434ec90e216afeae1601e0b3b4
 RMD160 (nspluginwrapper-1.4.4-suse121-generic.i386.tar.gz) = a9d79dcd31efc4b1a9b71e29694eff9c8555b10d
@@ -15,4 +15,5 @@
 SHA1 (patch-aa) = 28f9e18e519337852cb47d04ed0c1cea76b3416d
 SHA1 (patch-ab) = 20dc1b6ff4036a0946dd469860eb9b6c129fdb7a
 SHA1 (patch-ac) = 87cb838f6b203947d9efc4350313e410d06d486e
+SHA1 (patch-src_npw-config-template.h) = 01af56f639ce88f7896fb733107bb4436cd299a5
 SHA1 (patch-src_npw-viewer.c) = eb8855ae6d1015eb7627ada5c39af5e0d80f0e75
diff -r 5d486e0e3117 -r 8ef43a44b31a www/nspluginwrapper/patches/patch-src_npw-config-template.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/nspluginwrapper/patches/patch-src_npw-config-template.h       Mon Jun 27 11:03:29 2016 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_npw-config-template.h,v 1.1 2016/06/27 11:03:29 tnn Exp $
+
+Make sure FUNC macro is defined. (exec_elf.h v1.155)
+
+--- src/npw-config-template.h.orig     2011-07-01 03:18:57.000000000 +0000
++++ src/npw-config-template.h
+@@ -19,7 +19,7 @@
+  */
+ 
+ #ifdef ELF_CLASS
+-#ifndef ElfW
++#if !defined(ElfW) || defined(__NetBSD__)
+ # if ELF_CLASS == ELFCLASS32
+ #  define ElfW(x)             Elf32_ ## x
+ #  define ELFW(x)             ELF32_ ## x



Home | Main Index | Thread Index | Old Index