diff --git a/community/nodejs/6.8.0-build-fix.patch b/community/nodejs/6.8.0-build-fix.patch deleted file mode 100644 index e57f5caac..000000000 --- a/community/nodejs/6.8.0-build-fix.patch +++ /dev/null @@ -1,30 +0,0 @@ -From fc164acbbb700fd50ab9c04b47fc1b2687e9c0f4 Mon Sep 17 00:00:00 2001 -From: "Bradley T. Hughes" -Date: Thu, 13 Oct 2016 07:38:38 +0000 -Subject: [PATCH] build: add -DZLIB_CONST when building with --shared-zlib - -Commit 782620f added the define only when building with the bundled -zlib. Using a shared zlib results in build breakage: - -../src/inspector_agent.cc:179:16: error: assigning to 'Bytef *' (aka 'unsigned char *') from incompatible type - 'const uint8_t *' (aka 'const unsigned char *') - strm.next_in = PROTOCOL_JSON + 3; - ^ ~~~~~~~~~~~~~~~~~ -1 error generated. ---- - node.gyp | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/node.gyp b/node.gyp -index fa98547..d799ba1 100644 ---- a/node.gyp -+++ b/node.gyp -@@ -480,6 +480,8 @@ - }], - [ 'node_shared_zlib=="false"', { - 'dependencies': [ 'deps/zlib/zlib.gyp:zlib' ], -+ }, { -+ 'defines': [ 'ZLIB_CONST' ], - }], - - [ 'node_shared_http_parser=="false"', { diff --git a/community/nodejs/PKGBUILD b/community/nodejs/PKGBUILD index 23bacce96..3d054f8da 100644 --- a/community/nodejs/PKGBUILD +++ b/community/nodejs/PKGBUILD @@ -9,7 +9,7 @@ # Contributor: Jason Plum pkgname=nodejs -pkgver=6.8.0 +pkgver=6.8.1 pkgrel=1 pkgdesc='Evented I/O for V8 javascript' arch=('i686' 'x86_64') @@ -20,10 +20,8 @@ depends=('openssl' 'zlib' 'icu' 'libuv' 'http-parser') # 'v8') makedepends=('python2' 'procps-ng' 'git') optdepends=('npm: nodejs package manager') source=("nodejs::git+https://github.com/nodejs/node.git#tag=v$pkgver" - 6.8.0-build-fix.patch '0001-arm-fixes.patch') sha256sums=('SKIP' - 'bc9c4c1fcef55e6163daf7c4ee882d8a23973e16e28fea508ee72478cb9941fa' 'eaeb2f55bd3390c50b8bb2bfe73131eb0fea20cccee88ed66331da93c1746fb6') set_flags_for_arm() { @@ -48,9 +46,6 @@ set_flags_for_arm() { prepare() { cd nodejs - # https://github.com/nodejs/node/issues/9076 - patch -p1 -i ../6.8.0-build-fix.patch - patch -p1 -i ../0001-arm-fixes.patch msg 'Fixing for python2 name'