diff options
author | tnn <tnn> | 2016-06-27 11:03:29 +0000 |
---|---|---|
committer | tnn <tnn> | 2016-06-27 11:03:29 +0000 |
commit | 847e1df85c4dc4785c320b4c2abb57195b15c92c (patch) | |
tree | 3e10eda8fe2e8c664722caa06f5c3b9aa0b27229 | |
parent | 44bc283bcb6ff40fce9c4920cfdbe98377b099dc (diff) | |
download | pkgsrc-847e1df85c4dc4785c320b4c2abb57195b15c92c.tar.gz |
Fix build on -current
-rw-r--r-- | www/nspluginwrapper/distinfo | 3 | ||||
-rw-r--r-- | www/nspluginwrapper/patches/patch-src_npw-config-template.h | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/www/nspluginwrapper/distinfo b/www/nspluginwrapper/distinfo index dfe351d96d2..268baf4d6c9 100644 --- a/www/nspluginwrapper/distinfo +++ b/www/nspluginwrapper/distinfo @@ -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 @@ Size (nspluginwrapper-1.4.4.tar.gz) = 412513 bytes 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 --git a/www/nspluginwrapper/patches/patch-src_npw-config-template.h b/www/nspluginwrapper/patches/patch-src_npw-config-template.h new file mode 100644 index 00000000000..bf4a1ffe6c7 --- /dev/null +++ b/www/nspluginwrapper/patches/patch-src_npw-config-template.h @@ -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 |