diff options
author | Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de> | 2018-08-05 11:50:24 +0000 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de> | 2018-08-05 11:50:24 +0000 |
commit | e3166d73c6ae7652efe2c365ae4790f1e43984b4 (patch) | |
tree | fb5ee0e57c3e82cc88f3238b5c38dfd847126a6b /patches/libtheora/fix-sizeof.patch | |
parent | 6bc683c576b8216cf1672f2d884b704737d09af8 (diff) | |
download | midipix_build-e3166d73c6ae7652efe2c365ae4790f1e43984b4.tar.bz2 midipix_build-e3166d73c6ae7652efe2c365ae4790f1e43984b4.tar.xz |
vars/build.vars:native_packages_deps: adds lib{xslt,theora} v{1.1.32,1.1.1} (via Redfoxmoon.)
vars/build.vars:native_packages_inet: adds microsocks (HEAD) (via Redfoxmoon.)
patches/lib{theora,xslt}*: via Redfoxmoon.
Diffstat (limited to 'patches/libtheora/fix-sizeof.patch')
-rw-r--r-- | patches/libtheora/fix-sizeof.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/patches/libtheora/fix-sizeof.patch b/patches/libtheora/fix-sizeof.patch new file mode 100644 index 00000000..e84685a1 --- /dev/null +++ b/patches/libtheora/fix-sizeof.patch @@ -0,0 +1,15 @@ +diff -ru libtheora-1.1.1.orig/examples/png2theora.c libtheora-1.1.1/examples/png2theora.c +--- libtheora-1.1.1.orig/examples/png2theora.c 2009-08-22 20:14:04.000000000 +0200 ++++ libtheora-1.1.1/examples/png2theora.c 2018-08-04 18:02:49.568313482 +0200 +@@ -462,9 +462,9 @@ + png_set_strip_alpha(png_ptr); + + row_data = (png_bytep)png_malloc(png_ptr, +- 3*height*width*png_sizeof(*row_data)); ++ 3*height*width*sizeof(*row_data)); + row_pointers = (png_bytep *)png_malloc(png_ptr, +- height*png_sizeof(*row_pointers)); ++ height*sizeof(*row_pointers)); + for(y = 0; y < height; y++) { + row_pointers[y] = row_data + y*(3*width); + } |