pkgsrc-Changes archive

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

CVS commit: pkgsrc/print/luatex



Module Name:    pkgsrc
Committed By:   tnn
Date:           Sun Feb 17 11:17:37 UTC 2019

Modified Files:
        pkgsrc/print/luatex: distinfo
        pkgsrc/print/luatex/patches:
            patch-texk_web2c_luatexdir_image_pdftoepdf.w
            patch-texk_web2c_luatexdir_lua_lepdflib.cc

Log Message:
luatex: fix poppler-0.74.0 "Guint" type removal fallout


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 pkgsrc/print/luatex/distinfo
cvs rdiff -u -r1.7 -r1.8 \
    pkgsrc/print/luatex/patches/patch-texk_web2c_luatexdir_image_pdftoepdf.w \
    pkgsrc/print/luatex/patches/patch-texk_web2c_luatexdir_lua_lepdflib.cc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/print/luatex/distinfo
diff -u pkgsrc/print/luatex/distinfo:1.33 pkgsrc/print/luatex/distinfo:1.34
--- pkgsrc/print/luatex/distinfo:1.33   Tue Dec 11 13:35:11 2018
+++ pkgsrc/print/luatex/distinfo        Sun Feb 17 11:17:37 2019
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.33 2018/12/11 13:35:11 ryoon Exp $
+$NetBSD: distinfo,v 1.34 2019/02/17 11:17:37 tnn Exp $
 
 SHA1 (texlive-20180414-source.tar.xz) = 81bdd9999b6ab860d1d3c388cf27062aba960255
 RMD160 (texlive-20180414-source.tar.xz) = 0ff63bbd7f8a0fb6417089f5d1ae1e4124a1dd95
@@ -8,5 +8,5 @@ SHA1 (patch-ac) = 1ee83833a03eace2eada89
 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_font_writet1.w) = c5d9b0bf411ff67028cbeee629bebc95f05c94e3
-SHA1 (patch-texk_web2c_luatexdir_image_pdftoepdf.w) = e0c03f51151389e89c4a9a2cc8bf7d25051df2b7
-SHA1 (patch-texk_web2c_luatexdir_lua_lepdflib.cc) = 5af405d312f7042cf3620bd92039ae3b92ce4d83
+SHA1 (patch-texk_web2c_luatexdir_image_pdftoepdf.w) = d3e5d16e75acefbb5a2bad56074d86928dd23061
+SHA1 (patch-texk_web2c_luatexdir_lua_lepdflib.cc) = e1dafa2bdc0a92e485839b86006bd4b1a8076ee8

Index: pkgsrc/print/luatex/patches/patch-texk_web2c_luatexdir_image_pdftoepdf.w
diff -u pkgsrc/print/luatex/patches/patch-texk_web2c_luatexdir_image_pdftoepdf.w:1.7 pkgsrc/print/luatex/patches/patch-texk_web2c_luatexdir_image_pdftoepdf.w:1.8
--- pkgsrc/print/luatex/patches/patch-texk_web2c_luatexdir_image_pdftoepdf.w:1.7        Tue Dec 11 13:35:12 2018
+++ pkgsrc/print/luatex/patches/patch-texk_web2c_luatexdir_image_pdftoepdf.w    Sun Feb 17 11:17:37 2019
@@ -1,10 +1,13 @@
-$NetBSD: patch-texk_web2c_luatexdir_image_pdftoepdf.w,v 1.7 2018/12/11 13:35:12 ryoon Exp $
+$NetBSD: patch-texk_web2c_luatexdir_image_pdftoepdf.w,v 1.8 2019/02/17 11:17:37 tnn Exp $
 
 --- texk/web2c/luatexdir/image/pdftoepdf.w.orig        2018-01-17 18:00:12.000000000 +0000
 +++ texk/web2c/luatexdir/image/pdftoepdf.w
-@@ -35,7 +35,7 @@
+@@ -33,9 +33,9 @@
  
- extern void md5(Guchar *msg, int msgLen, Guchar *digest);
+ */
+ 
+-extern void md5(Guchar *msg, int msgLen, Guchar *digest);
++extern void md5(unsigned char *msg, int msgLen, unsigned char *digest);
  
 -static GBool isInit = gFalse;
 +static bool isInit = false;
Index: pkgsrc/print/luatex/patches/patch-texk_web2c_luatexdir_lua_lepdflib.cc
diff -u pkgsrc/print/luatex/patches/patch-texk_web2c_luatexdir_lua_lepdflib.cc:1.7 pkgsrc/print/luatex/patches/patch-texk_web2c_luatexdir_lua_lepdflib.cc:1.8
--- pkgsrc/print/luatex/patches/patch-texk_web2c_luatexdir_lua_lepdflib.cc:1.7  Tue Dec 11 13:35:12 2018
+++ pkgsrc/print/luatex/patches/patch-texk_web2c_luatexdir_lua_lepdflib.cc      Sun Feb 17 11:17:37 2019
@@ -1,4 +1,4 @@
-$NetBSD: patch-texk_web2c_luatexdir_lua_lepdflib.cc,v 1.7 2018/12/11 13:35:12 ryoon Exp $
+$NetBSD: patch-texk_web2c_luatexdir_lua_lepdflib.cc,v 1.8 2019/02/17 11:17:37 tnn Exp $
 
 --- texk/web2c/luatexdir/lua/lepdflib.cc.orig  2018-02-14 14:44:38.000000000 +0000
 +++ texk/web2c/luatexdir/lua/lepdflib.cc
@@ -191,6 +191,21 @@ $NetBSD: patch-texk_web2c_luatexdir_lua_
          uout->pc = uin->pc;
          uout->pd = uin->pd;
      } else
+@@ -3024,12 +3026,12 @@ m_poppler_get_GUINT(Attribute,getRevisio
+ 
+ static int m_Attribute_setRevision(lua_State * L)
+ {
+-    Guint i;
++    unsigned int i;
+     udstruct *uin;
+     uin = (udstruct *) luaL_checkudata(L, 1, M_Attribute);
+     if (uin->pd != NULL && uin->pd->pc != uin->pc)
+         pdfdoc_changed_error(L);
+-    i = (Guint) luaL_checkint(L, 2);
++    i = (unsigned int) luaL_checkint(L, 2);
+     ((Attribute *) uin->d)->setRevision(i);
+     return 0;
+ }
 @@ -3038,12 +3040,12 @@ m_poppler_get_BOOL(Attribute, isHidden);
  
  static int m_Attribute_setHidden(lua_State * L)
@@ -215,7 +230,21 @@ $NetBSD: patch-texk_web2c_luatexdir_lua_
      Ref *r;
      udstruct *uin, *uout;
      uin = (udstruct *) luaL_checkudata(L, 1, M_StructElement);
-@@ -3226,16 +3228,16 @@ static int m_StructElement_setRevision(l
+@@ -3214,28 +3216,28 @@ static int m_StructElement_getTypeName(l
+ 
+ static int m_StructElement_setRevision(lua_State * L)
+ {
+-    Guint i;
++    unsigned int i;
+     udstruct *uin;
+     uin = (udstruct *) luaL_checkudata(L, 1, M_StructElement);
+     if (uin->pd != NULL && uin->pd->pc != uin->pc)
+         pdfdoc_changed_error(L);
+-    i = (Guint) luaL_checkint(L, 2);
++    i = (unsigned int) luaL_checkint(L, 2);
+     ((StructElement *) uin->d)->setRevision(i);
+     return 0;
+ }
  
  static int m_StructElement_getText(lua_State * L)
  {



Home | Main Index | Thread Index | Old Index