<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/cfbf212da89fb01c629b60859f1f76c93a76786a">https://github.com/macports/macports-ports/commit/cfbf212da89fb01c629b60859f1f76c93a76786a</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit cfbf212da89fb01c629b60859f1f76c93a76786a
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Sun Mar 13 22:22:42 2022 -0500

<span style='display:block; white-space:pre;color:#404040;'>    tiemu3: Don't redefine abort
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Closes: https://trac.macports.org/ticket/57310
</span>---
 math/tiemu3/Portfile          | 21 +++++++++++----------
 math/tiemu3/files/abort.patch | 19 +++++++++++++++++++
 2 files changed, 30 insertions(+), 10 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/tiemu3/Portfile b/math/tiemu3/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 903ba30dc76..53b298df806 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/tiemu3/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/tiemu3/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,7 +1,14 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> PortSystem          1.0
 
 name                tiemu3
 version             3.03
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision            1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums           rmd160  88bc445977f5301bb6c57b19df3e982b5f703068 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    sha256  92d2830842278a8df29ab0717f5b89e06b34e88a50c073fe10ff9e6855b8a592 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    size    2749976
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> license             GPL-2
 categories          math
 maintainers         nomaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -10,16 +17,11 @@ long_description    TiEmu is a full-featured TI89, Titanium, TI-92, TI-92+, Voya
</span>                     emulator with an html manual. It offers: popup menu, screenshots, ASM/C \
                     debugger, link port, saving state and some other stuffs.
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage            http://lpg.ticalc.org/prj_tilp/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms           darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage            http://lpg.ticalc.org/prj_tiemu/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites        sourceforge:project/gtktiemu/tiemu-linux/TIEmu%20${version}
</span> 
 distname            tiemu-${version}-nogdb
 worksrcdir          tiemu-${version}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites        sourceforge:project/gtktiemu/tiemu-linux/TIEmu%20${version}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums           md5     2736440d717a0ee97cdb35189814fc93 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    sha1    a682026f49d85829f7db07edc8bfa372c6617ce1 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    rmd160  88bc445977f5301bb6c57b19df3e982b5f703068
</span> 
 depends_build       port:pkgconfig \
                     bin:groff:groff
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -47,9 +49,8 @@ patchfiles          patch-calc.diff \
</span>                     patch-dbg_stack.diff \
                     patch-dbg_wnds.diff \
                     patch-gtk_disable_deprecated.diff \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                    patch-screen.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    patch-screen.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    abort.patch
</span> 
 configure.args-append       --without-kde --disable-debugger --disable-gdb \
                             --disable-sdltest
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-pre-destroot        { system "chmod +x ${worksrcpath}/install-sh " }
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/tiemu3/files/abort.patch b/math/tiemu3/files/abort.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..36d52a99869
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/tiemu3/files/abort.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,19 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Do not redefine abort.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+https://sourceforge.net/p/gtktiemu/bugs/100/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/core/uae/sysdeps.h.orig    2020-08-27 15:30:37.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/core/uae/sysdeps.h 2022-03-13 21:42:44.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -137,12 +137,14 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define ENUMDECL typedef enum
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define ENUMNAME(name) name
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if !defined(__APPLE__)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* While we're here, make abort more useful.  */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define abort() \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   do { \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     fprintf (stderr, "UAE: Internal error; file %s, line %d\n", __FILE__, __LINE__); \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     (abort) (); \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } while (0)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define ENUMDECL enum
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define ENUMNAME(name) ; typedef int name
</span></pre><pre style='margin:0'>

</pre>