pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print/luatex luatex: gcc-7 fix



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ec786ad1ffaf
branches:  trunk
changeset: 373345:ec786ad1ffaf
user:      markd <markd%pkgsrc.org@localhost>
date:      Sun Dec 31 00:36:04 2017 +0000

description:
luatex: gcc-7 fix

diffstat:

 print/luatex/Makefile                                          |   4 +-
 print/luatex/distinfo                                          |   4 +-
 print/luatex/patches/patch-texk_web2c_luatexdir_luaffi_ctype.c |  16 ++++++++++
 print/luatex/patches/patch-texk_web2c_luatexdir_luaffi_ffi.h   |  14 ++++++++
 4 files changed, 35 insertions(+), 3 deletions(-)

diffs (67 lines):

diff -r aa1b30d242bb -r ec786ad1ffaf print/luatex/Makefile
--- a/print/luatex/Makefile     Sat Dec 30 22:43:25 2017 +0000
+++ b/print/luatex/Makefile     Sun Dec 31 00:36:04 2017 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.62 2017/09/07 14:17:07 tnn Exp $
+# $NetBSD: Makefile,v 1.63 2017/12/31 00:36:04 markd Exp $
 
 DISTNAME=      texlive-20170524-source
 PKGNAME=       luatex-1.0.4
-PKGREVISION=   4
+PKGREVISION=   5
 CATEGORIES=    print
 MASTER_SITES=  ftp://tug.org/historic/systems/texlive/2017/
 EXTRACT_SUFX=  .tar.xz
diff -r aa1b30d242bb -r ec786ad1ffaf print/luatex/distinfo
--- a/print/luatex/distinfo     Sat Dec 30 22:43:25 2017 +0000
+++ b/print/luatex/distinfo     Sun Dec 31 00:36:04 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.26 2017/08/21 11:14:26 jperkin Exp $
+$NetBSD: distinfo,v 1.27 2017/12/31 00:36:04 markd Exp $
 
 SHA1 (texlive-20170524-source.tar.xz) = 1c1383ddb1b871c6b8ce49a4ae3c1a33d454a7b6
 RMD160 (texlive-20170524-source.tar.xz) = a8430c19fe1727cf308fe03e5838105260c0d71e
@@ -8,3 +8,5 @@
 SHA1 (patch-libs_luajit_LuaJIT-src_src_host_buildvm__asm.c) = 34fa742ed696f97df637c5086bf1faf3d718cb69
 SHA1 (patch-libs_luajit_LuaJIT-src_src_vm__x86.dasc) = 491d33adbbaab8b2b81a65a8d7ba30aee775b75f
 SHA1 (patch-texk_web2c_luatexdir_image_pdftoepdf.w) = 9f7563e5d3011c183092c9eb157560f912113d77
+SHA1 (patch-texk_web2c_luatexdir_luaffi_ctype.c) = 57d51564d5dd0200be10154216158fe801d7c630
+SHA1 (patch-texk_web2c_luatexdir_luaffi_ffi.h) = 2fbf91152fc3438d8e989d5f5f95877faaec6790
diff -r aa1b30d242bb -r ec786ad1ffaf print/luatex/patches/patch-texk_web2c_luatexdir_luaffi_ctype.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/luatex/patches/patch-texk_web2c_luatexdir_luaffi_ctype.c    Sun Dec 31 00:36:04 2017 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-texk_web2c_luatexdir_luaffi_ctype.c,v 1.1 2017/12/31 00:36:04 markd Exp $
+gcc-7 fix - Dr. Werner Fink <werner%suse.de@localhost>
+
+--- texk/web2c/luatexdir/luaffi/ctype.c.orig   2017-02-10 01:03:59.000000000 +0000
++++ texk/web2c/luatexdir/luaffi/ctype.c
+@@ -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);
+ 
diff -r aa1b30d242bb -r ec786ad1ffaf print/luatex/patches/patch-texk_web2c_luatexdir_luaffi_ffi.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/luatex/patches/patch-texk_web2c_luatexdir_luaffi_ffi.h      Sun Dec 31 00:36:04 2017 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-texk_web2c_luatexdir_luaffi_ffi.h,v 1.1 2017/12/31 00:36:04 markd Exp $
+gcc-7 fix - Dr. Werner Fink <werner%suse.de@localhost> 
+
+--- texk/web2c/luatexdir/luaffi/ffi.h.orig     2017-03-11 01:04:06.000000000 +0000
++++ texk/web2c/luatexdir/luaffi/ffi.h
+@@ -370,7 +370,7 @@ __declspec(align(16))
+ #endif
+ struct cdata {
+     const struct ctype type
+-#ifdef __GNUC__
++#if 0 /* def __GNUC__ */
+       __attribute__ ((aligned(16)))
+ #endif
+       ;



Home | Main Index | Thread Index | Old Index