diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-13 21:50:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-13 21:50:07 +0300 |
commit | eefb212caca31d46f1d36ce272d4bc6842c039f0 (patch) | |
tree | a7736bff39c0920e0522ce00813602bde4710c22 /packaging/nacl/ports/zlib/nacl.patch | |
parent | 9406e61b5ee96e25b10fbf915725f69d6f6ceeb8 (diff) | |
download | plus-eefb212caca31d46f1d36ce272d4bc6842c039f0.tar.gz plus-eefb212caca31d46f1d36ce272d4bc6842c039f0.tar.bz2 plus-eefb212caca31d46f1d36ce272d4bc6842c039f0.tar.xz plus-eefb212caca31d46f1d36ce272d4bc6842c039f0.zip |
Add chrome ports patches for build manaplus on nacl.
Diffstat (limited to 'packaging/nacl/ports/zlib/nacl.patch')
-rw-r--r-- | packaging/nacl/ports/zlib/nacl.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/packaging/nacl/ports/zlib/nacl.patch b/packaging/nacl/ports/zlib/nacl.patch new file mode 100644 index 000000000..176552330 --- /dev/null +++ b/packaging/nacl/ports/zlib/nacl.patch @@ -0,0 +1,17 @@ +diff --git a/configure b/configure +index b77a8a8..e52609f 100755 +--- a/configure ++++ b/configure +@@ -188,6 +188,12 @@ if test "$gcc" -eq 1 && ($cc -c $test.c) >> configure.log 2>&1; then + *BSD | *bsd* | DragonFly) + LDSHARED=${LDSHARED-"$cc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map"} + LDCONFIG="ldconfig -m" ;; ++ pnacl) ++ LDSHARED=${LDSHARED-"$cc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map"} ++ EXE='.pexe' ;; ++ nacl) ++ LDSHARED=${LDSHARED-"$cc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map"} ++ EXE='.nexe' ;; + CYGWIN* | Cygwin* | cygwin* | OS/2*) + EXE='.exe' ;; + MINGW* | mingw*) |