<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/f9df3a3f464d3dba464252864359784b67bcb06e">https://github.com/macports/macports-ports/commit/f9df3a3f464d3dba464252864359784b67bcb06e</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new f9df3a3 tightvnc: build fixes
</span>f9df3a3 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit f9df3a3f464d3dba464252864359784b67bcb06e
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Sat Jul 21 17:15:49 2018 +1000
<span style='display:block; white-space:pre;color:#404040;'> tightvnc: build fixes
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Thanks to mcalhoun for the first part of the patch.
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes: https://trac.macports.org/ticket/40862
</span>---
x11/tightvnc/Portfile | 17 ++-
x11/tightvnc/files/patch-Xvnc.diff | 2 +-
x11/tightvnc/files/return-types.patch | 234 ++++++++++++++++++++++++++++++++++
3 files changed, 249 insertions(+), 4 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/x11/tightvnc/Portfile b/x11/tightvnc/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index abe3c1f..0106926 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/x11/tightvnc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/x11/tightvnc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -35,13 +35,21 @@ depends_lib port:xorg-libXaw \
</span>
depends_run path:bin/perl:perl5
<span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.platform} eq "darwin" && ${os.major} >= 12} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append port:tradcpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set cppcmd ${prefix}/bin/tradcpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set cppcmd /usr/bin/cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> worksrcdir vnc_unixsrc
patchfiles patch-Xvnc.diff \
patch-vncviewer.diff \
patch-vncserver.diff \
patch-vncconnect_vncconnect.c.diff \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-include_vncauth.h.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-include_vncauth.h.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return-types.patch
</span>
post-patch {
reinplace "s|@PREFIX@|${prefix}|g" \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -54,15 +62,18 @@ post-patch {
</span> # The Vncviewer sample configuration file conflicts with the vncviewer binary
# on case-insensitive filesystems like Mac OS X's default Mac OS Extended.
move ${worksrcpath}/vncviewer/Vncviewer ${worksrcpath}/vncviewer/Vncviewer.sample
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|::CPPCMD::|${cppcmd}|" ${worksrcpath}/Xvnc/config/imake/imakemdep.h
</span> }
use_xmkmf yes
build.target World
<span style='display:block; white-space:pre;background:#e0ffe0;'>+build.args CC=${configure.cc}
</span>
post-build {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- system "cd '${worksrcpath}/Xvnc' && ./configure"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system "cd '${worksrcpath}/Xvnc' && make World"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${worksrcpath}/Xvnc "./configure"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${worksrcpath}/Xvnc "make World CC=${configure.cc}"
</span> }
destroot.cmd ./vncinstall
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/x11/tightvnc/files/patch-Xvnc.diff b/x11/tightvnc/files/patch-Xvnc.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index ef14133..4d8d87e 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/x11/tightvnc/files/patch-Xvnc.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/x11/tightvnc/files/patch-Xvnc.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -21,7 +21,7 @@ diff -Naur ../vnc_unixsrc/Xvnc/config/imake/imakemdep.h Xvnc/config/imake/imakem
</span> -#define DEFAULT_CPP "/usr/bin/cpp"
-#endif
+# ifdef __APPLE__
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+# define DEFAULT_CPP "cpp"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# define DEFAULT_CPP "::CPPCMD::"
</span> +# else
+# define DEFAULT_CPP "/usr/bin/cpp"
+# endif /* __APPLE__ */
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/x11/tightvnc/files/return-types.patch b/x11/tightvnc/files/return-types.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..49f49e8
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/x11/tightvnc/files/return-types.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,234 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Xvnc/lib/Xau/AuUnlock.c.orig 2000-06-11 22:00:51.000000000 +1000
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Xvnc/lib/Xau/AuUnlock.c 2018-07-21 16:31:00.000000000 +1000
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -44,7 +44,7 @@ char *file_name;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ char link_name[1025];
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (strlen (file_name) > 1022)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return 0;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifndef WIN32
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ (void) strcpy (creat_name, file_name);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ (void) strcat (creat_name, "-c");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -58,4 +58,5 @@ char *file_name;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ (void) unlink (creat_name);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ (void) unlink (link_name);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return 1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Xvnc/lib/font/bitmap/fontink.c.orig 2000-06-11 22:00:51.000000000 +1000
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Xvnc/lib/font/bitmap/fontink.c 2018-07-21 16:39:06.000000000 +1000
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -44,7 +44,7 @@ static unsigned char ink_mask_lsb[8] = {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ };
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-FontCharInkMetrics(pFont, pCI, pInk)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++void FontCharInkMetrics(pFont, pCI, pInk)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ FontPtr pFont;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CharInfoPtr pCI;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xCharInfo *pInk;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -157,7 +157,7 @@ found_right:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define Min(a,b) ((a)<(b)?(a):(b))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define Max(a,b) ((a)>(b)?(a):(b))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-FontCharReshape(pFont, pSrc, pDst)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++void FontCharReshape(pFont, pSrc, pDst)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ FontPtr pFont;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CharInfoPtr pSrc,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pDst;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Xvnc/lib/font/Type1/regions.c.orig 2000-06-11 22:00:51.000000000 +1000
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Xvnc/lib/font/Type1/regions.c 2018-07-21 16:47:17.000000000 +1000
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -59,7 +59,7 @@ static int touches();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ static int crosses();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ static void edgemin();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ static void edgemax();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static discard();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++static void discard();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ static edgecheck();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ static struct edgelist *NewEdge();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ static struct edgelist *swathxsort(); /* 'SortSwath' function */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1345,7 +1345,7 @@ So, to mark a 'edgelist' structure as di
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ of the list and set ymin=ymax.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static discard(left, right)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++static void discard(left, right)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ register struct edgelist *left,*right; /* all edges between here exclusive */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* should be discarded */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Xvnc/lib/font/Type1/t1malloc.c.orig 2018-07-21 16:48:24.000000000 +1000
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Xvnc/lib/font/Type1/t1malloc.c 2018-07-21 16:53:23.000000000 +1000
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -47,7 +47,7 @@ and Darwin.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "objects.h" /* get #define for abort() */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static combine();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++static void combine();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ static freeuncombinable();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ static unhook();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ static dumpchain();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -270,7 +270,7 @@ In any event, that block will be moved t
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 'firstcombined').
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static combine()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++static void combine()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ register struct freeblock *p; /* block we will try to combine */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ register long *addr; /* identical to 'p' for 'long' access */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -657,7 +657,7 @@ static dumpchain()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ :h3.reportarea() - Display a Contiguous Set of Memory Blocks
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static reportarea(area)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++static void reportarea(area)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ register long *area; /* start of blocks (from addmemory) */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ register long size; /* size of current block */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Xvnc/lib/font/Type1/type1.c.orig 2000-06-11 22:00:51.000000000 +1000
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Xvnc/lib/font/Type1/type1.c 2018-07-21 17:11:44.000000000 +1000
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -160,21 +160,21 @@ static int *ModeP;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /************************/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ static double Div();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ static double PSFakePop();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static DoCommand();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static Escape();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static HStem();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static VStem();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++static void DoCommand();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++static void Escape();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++static void HStem();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++static void VStem();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ static RLineTo();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ static RRCurveTo();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ static DoClosePath();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static CallSubr();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++static void CallSubr();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ static Return();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ static EndChar();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ static RMoveTo();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ static DotSection();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static Seac();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++static void Seac();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ static Sbw();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static CallOtherSubr();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++static void CallOtherSubr();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ static SetCurrentPoint();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /*****************************************/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -297,7 +297,7 @@ static FinitStems() /* Terminate the ST
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* Compute the dislocation that a stemhint should cause for points */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* inside the stem. */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /*******************************************************************/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static ComputeStem(stemno)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++static void ComputeStem(stemno)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ int stemno;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ int verticalondevice, idealwidth;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -697,7 +697,7 @@ static ClearStack()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Top = -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static Push(Num)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++static void Push(Num)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ double Num;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (++Top < MAXSTACK) Stack[Top] = Num;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -709,7 +709,7 @@ static ClearCallStack()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CallTop = -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static PushCall(CurrStrP, CurrIndex, CurrKey)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++static void PushCall(CurrStrP, CurrIndex, CurrKey)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ psobj *CurrStrP;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ int CurrIndex;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ unsigned short CurrKey;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -722,7 +722,7 @@ static PushCall(CurrStrP, CurrIndex, Cur
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else Error0("PushCall: Stack full\n");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static PopCall(CurrStrPP, CurrIndexP, CurrKeyP)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++static void PopCall(CurrStrPP, CurrIndexP, CurrKeyP)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ psobj **CurrStrPP;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ int *CurrIndexP;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ unsigned short *CurrKeyP;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -741,7 +741,7 @@ static ClearPSFakeStack()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* PSFakePush: Pushes a number onto the fake PostScript stack */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static PSFakePush(Num)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++static void PSFakePush(Num)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ double Num;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (++PSFakeTop < MAXPSFAKESTACK) PSFakeStack[PSFakeTop] = Num;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -862,7 +862,7 @@ static void StartDecrypt()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Error0("StartDecrypt: Premature end of CharString\n");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static Decode(Code)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++static void Decode(Code)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ int Code;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ int Code1, Code2, Code3, Code4;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -892,7 +892,7 @@ ended: Error0("Decode: Premature end of
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* Interpret a command code */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static DoCommand(Code)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++static void DoCommand(Code)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ int Code;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ switch(Code) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1010,7 +1010,7 @@ static DoCommand(Code)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static Escape(Code)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++static void Escape(Code)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ int Code;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ int i, Num;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1105,7 +1105,7 @@ static Escape(Code)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* Declares the vertical range of a horizontal stem zone */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* between coordinates y and y + dy */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* y is relative to the left sidebearing point */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static HStem(y, dy)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++static void HStem(y, dy)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ double y, dy;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ IfTrace2((FontDebug), "Hstem %f %f\n", &y, &dy);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1126,7 +1126,7 @@ static HStem(y, dy)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* Declares the horizontal range of a vertical stem zone */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* between coordinates x and x + dx */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* x is relative to the left sidebearing point */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static VStem(x, dx)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++static void VStem(x, dx)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ double x, dx;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ IfTrace2((FontDebug), "Vstem %f %f\n", &x, &dx);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1214,7 +1214,7 @@ static DoClosePath()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* subr# CALLSUBR - */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* Calls a CharString subroutine with index */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* subr# from the Subrs array */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static CallSubr(subrno)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++static void CallSubr(subrno)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ int subrno;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ IfTrace1((FontDebug), "CallSubr %d\n", subrno);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1289,7 +1289,7 @@ static DotSection()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* |- asb adx ady bchar achar SEAC |- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* Standard Encoding Accented Character. */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static Seac(asb, adx, ady, bchar, achar)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++static void Seac(asb, adx, ady, bchar, achar)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ double asb, adx, ady;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ unsigned char bchar, achar;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1666,7 +1666,7 @@ static void HintReplace()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* arg1 ... argn n othersubr# CALLOTHERSUBR - */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* Make calls on the PostScript interpreter (or call equivalent C code) */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* NOTE: The n arguments have been pushed on the fake PostScript stack */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static CallOtherSubr(othersubrno)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++static void CallOtherSubr(othersubrno)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ int othersubrno;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ IfTrace1((FontDebug), "CallOtherSubr %d\n", othersubrno);
</span></pre><pre style='margin:0'>
</pre>