diff options
author | Isaac David <isacdaavid@isacdaavid.info> | 2017-08-12 00:31:51 -0500 |
---|---|---|
committer | Isaac David <isacdaavid@isacdaavid.info> | 2017-08-12 00:31:51 -0500 |
commit | 212c688afb2d9a9c8ac2348b1b5aa50c6afc33e8 (patch) | |
tree | 7cc46c0ef90bfa8668bfd6ea307f2f9fff134bd1 /libre/texlive-bin/luatex-gcc7.patch | |
parent | c410a7ec83f367672ba7900bdb633ebca3090415 (diff) | |
download | abslibre-212c688afb2d9a9c8ac2348b1b5aa50c6afc33e8.tar.gz abslibre-212c688afb2d9a9c8ac2348b1b5aa50c6afc33e8.tar.bz2 abslibre-212c688afb2d9a9c8ac2348b1b5aa50c6afc33e8.zip |
texlive-{bin,core,fontsextra,latexextra}: update to 2017.44... versions
Diffstat (limited to 'libre/texlive-bin/luatex-gcc7.patch')
-rw-r--r-- | libre/texlive-bin/luatex-gcc7.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/libre/texlive-bin/luatex-gcc7.patch b/libre/texlive-bin/luatex-gcc7.patch new file mode 100644 index 000000000..7bbf55732 --- /dev/null +++ b/libre/texlive-bin/luatex-gcc7.patch @@ -0,0 +1,32 @@ +Author: Dr. Werner Fink <werner@suse.de> + +--- + texk/web2c/luatexdir/luaffi/ctype.c | 4 ++++ + texk/web2c/luatexdir/luaffi/ffi.h | 2 +- + 2 files changed, 5 insertions(+), 1 deletion(-) + +--- texk/web2c/luatexdir/luaffi/ctype.c ++++ texk/web2c/luatexdir/luaffi/ctype.c 2017-05-31 13:08:25.421741873 +0000 +@@ -245,6 +245,10 @@ void* to_cdata(lua_State* L, int idx, st + + lua_pop(L, 1); /* mt */ + cd = (struct cdata*) lua_touserdata(L, idx); ++ if (!cd) { ++ lua_pushnil(L); ++ return NULL; ++ } + *ct = cd->type; + lua_getuservalue(L, idx); + +--- texk/web2c/luatexdir/luaffi/ffi.h ++++ texk/web2c/luatexdir/luaffi/ffi.h 2017-06-01 09:12:45.128442092 +0000 +@@ -370,7 +370,7 @@ __declspec(align(16)) + #endif + struct cdata { + const struct ctype type +-#ifdef __GNUC__ ++#if 0 /* def __GNUC__ */ + __attribute__ ((aligned(16))) + #endif + ; + |