summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Xu <alex_y_xu@yahoo.ca>2014-02-27 20:28:04 -0500
committerAlex Xu <alex_y_xu@yahoo.ca>2014-02-27 20:28:04 -0500
commita7bb25a69eac939a4e197d82aa0dd0f324bed966 (patch)
treedea424687310ce7c71380e681c380a190fee8e1d
parent306490e7ede10e550e9fa9e24247c6f9ffeaddb0 (diff)
downloadhtml5ks-a7bb25a69eac939a4e197d82aa0dd0f324bed966.tar.xz
html5ks-a7bb25a69eac939a4e197d82aa0dd0f324bed966.zip
.travis.sh
-rwxr-xr-x.travis.sh25
1 files changed, 13 insertions, 12 deletions
diff --git a/.travis.sh b/.travis.sh
index df76757..55af0eb 100755
--- a/.travis.sh
+++ b/.travis.sh
@@ -21,6 +21,7 @@ case "$1" in
mv *.rpyc unrpyc
npm config set tmp /tmp
+
;;
install)
MAKEOPTS="-s ${MAKEOPTS}"
@@ -63,18 +64,18 @@ case "$1" in
cd ..
cd apngasm-2.8
- patch -p1 <<-EOF
- --- apngasm.c
- +++ apngasm.c
- @@ -29,6 +29,7 @@
- */^M
- #include <stdio.h>^M
- #include <stdlib.h>^M
- +#include <string.h>^M
- #include "png.h" /* original (unpatched) libpng is ok */^M
- #include "zlib.h"^M
- ^M
- EOF
+ patch -p1 <<EOF
+--- apngasm.c
++++ apngasm.c
+@@ -29,6 +29,7 @@
+ */
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <string.h>
+ #include "png.h" /* original (unpatched) libpng is ok */
+ #include "zlib.h"
+
+EOF
make LDLIBS="$(pkg-config --libs libpng --libs zlib)" apngasm
install -c -m755 apngasm /usr/local/bin
cd ..