diff options
author | Alex Xu <alex_y_xu@yahoo.ca> | 2014-02-27 20:28:04 -0500 |
---|---|---|
committer | Alex Xu <alex_y_xu@yahoo.ca> | 2014-02-27 20:28:04 -0500 |
commit | a7bb25a69eac939a4e197d82aa0dd0f324bed966 (patch) | |
tree | dea424687310ce7c71380e681c380a190fee8e1d | |
parent | 306490e7ede10e550e9fa9e24247c6f9ffeaddb0 (diff) | |
download | html5ks-a7bb25a69eac939a4e197d82aa0dd0f324bed966.tar.xz html5ks-a7bb25a69eac939a4e197d82aa0dd0f324bed966.zip |
.travis.sh
-rwxr-xr-x | .travis.sh | 25 |
1 files changed, 13 insertions, 12 deletions
@@ -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 .. |