mirror of
https://git.freebsd.org/ports.git
synced 2025-06-05 21:00:30 -04:00
cad/magic: update 8.3.315 → 8.3.459
This commit is contained in:
parent
65fdc2b6d3
commit
ce9b2ed6b1
5 changed files with 53 additions and 52 deletions
|
@ -1,6 +1,5 @@
|
||||||
PORTNAME= magic
|
PORTNAME= magic
|
||||||
DISTVERSION= 8.3.315
|
DISTVERSION= 8.3.459
|
||||||
PORTREVISION= 1
|
|
||||||
CATEGORIES= cad
|
CATEGORIES= cad
|
||||||
MASTER_SITES= http://opencircuitdesign.com/magic/archive/
|
MASTER_SITES= http://opencircuitdesign.com/magic/archive/
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
TIMESTAMP = 1659123533
|
TIMESTAMP = 1706064662
|
||||||
SHA256 (magic-8.3.315.tgz) = c9b5b86287bb286b5db391c31b7a55bf4212458b073942383ff947162d758e1e
|
SHA256 (magic-8.3.459.tgz) = 12b34564766227e0b0f1039044463da6ce7ff16a196045308fc688bb8d9d4fd4
|
||||||
SIZE (magic-8.3.315.tgz) = 4175094
|
SIZE (magic-8.3.459.tgz) = 4237442
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
--- textio/textioInt.h.orig 2020-05-24 07:00:08 UTC
|
--- textio/textioInt.h.orig 2023-07-12 06:00:01 UTC
|
||||||
+++ textio/textioInt.h
|
+++ textio/textioInt.h
|
||||||
@@ -41,7 +41,7 @@ typedef struct {
|
@@ -41,7 +41,7 @@ typedef struct {
|
||||||
#define TX_CMD_PROMPT ":"
|
#define TX_CMD_PROMPT ":"
|
||||||
|
|
||||||
/* all of the state associated with a tty terminal */
|
/* all of the state associated with a tty terminal */
|
||||||
-#if !defined(SYSV) && !defined(CYGWIN)
|
-#if !defined(SYSV) && !defined(CYGWIN) && !defined(__OpenBSD__) && !defined(EMSCRIPTEN)
|
||||||
+#if !defined(SYSV) && !defined(CYGWIN) && !defined(__FreeBSD__)
|
+#if !defined(SYSV) && !defined(CYGWIN) && !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(EMSCRIPTEN)
|
||||||
typedef struct {
|
typedef struct {
|
||||||
struct sgttyb tx_i_sgtty;
|
struct sgttyb tx_i_sgtty;
|
||||||
struct tchars tx_i_tchars;
|
struct tchars tx_i_tchars;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
--- textio/txInput.c.orig 2020-05-24 07:00:08 UTC
|
--- textio/txInput.c.orig 2023-07-12 06:00:01 UTC
|
||||||
+++ textio/txInput.c
|
+++ textio/txInput.c
|
||||||
@@ -28,6 +28,7 @@ static char rcsid[] __attribute__ ((unused)) = "$Heade
|
@@ -28,6 +28,7 @@ static char rcsid[] __attribute__ ((unused)) = "$Heade
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
|
|
||||||
#include "utils/magsgtty.h"
|
#include "utils/magsgtty.h"
|
||||||
@@ -1205,14 +1206,14 @@ TxGetLine(dest, maxChars)
|
@@ -1208,14 +1209,14 @@ TxGetLine(dest, maxChars)
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -25,73 +25,72 @@
|
||||||
+ ioctl( fileno( stdin ), TIOCGETA, buf);
|
+ ioctl( fileno( stdin ), TIOCGETA, buf);
|
||||||
}
|
}
|
||||||
|
|
||||||
#else
|
#elif defined (__OpenBSD__) || defined(EMSCRIPTEN)
|
||||||
@@ -1245,14 +1246,14 @@ txGetTermState(buf)
|
@@ -1257,7 +1258,7 @@ txSetTermState(buf)
|
||||||
|
|
||||||
void
|
void
|
||||||
txSetTermState(buf)
|
txSetTermState(buf)
|
||||||
-#if defined(SYSV) || defined(CYGWIN)
|
-#if defined(SYSV) || defined(CYGWIN)
|
||||||
- struct termio *buf;
|
|
||||||
+#if defined(SYSV) || defined(CYGWIN) || defined(__FreeBSD__)
|
+#if defined(SYSV) || defined(CYGWIN) || defined(__FreeBSD__)
|
||||||
+ struct termios *buf;
|
struct termio *buf;
|
||||||
#else
|
#elif defined (__OpenBSD__) || defined(EMSCRIPTEN)
|
||||||
txTermState *buf;
|
struct termios *buf;
|
||||||
#endif /* SYSV */
|
@@ -1267,7 +1268,7 @@ txSetTermState(buf)
|
||||||
{
|
{
|
||||||
-#if defined(SYSV) || defined(CYGWIN)
|
#if defined(SYSV) || defined(CYGWIN)
|
||||||
- ioctl( fileno(stdin), TCSETAF, buf );
|
ioctl( fileno(stdin), TCSETAF, buf );
|
||||||
+#if defined(SYSV) || defined(CYGWIN) || defined(__FreeBSD__)
|
-#elif defined (__OpenBSD__) || defined(EMSCRIPTEN)
|
||||||
+ ioctl( fileno(stdin), TIOCSETAF, buf );
|
+#elif defined(__FreeBSD__) || defined (__OpenBSD__) || defined(EMSCRIPTEN)
|
||||||
|
(void) tcsetattr( fileno(stdin), TCSANOW, buf );
|
||||||
#else
|
#else
|
||||||
/* set the current terminal characteristics */
|
/* set the current terminal characteristics */
|
||||||
(void) ioctl(fileno(stdin), TIOCSETN, (char *) &(buf->tx_i_sgtty) );
|
@@ -1298,13 +1299,13 @@ txInitTermRec(buf)
|
||||||
@@ -1280,13 +1281,13 @@ txSetTermState(buf)
|
|
||||||
|
|
||||||
void
|
|
||||||
txInitTermRec(buf)
|
txInitTermRec(buf)
|
||||||
-#if defined(SYSV) || defined(CYGWIN)
|
#if defined(SYSV) || defined(CYGWIN)
|
||||||
- struct termio *buf;
|
struct termio *buf;
|
||||||
+#if defined(SYSV) || defined(CYGWIN) || defined(__FreeBSD__)
|
-#elif defined (__OpenBSD__) || defined(EMSCRIPTEN)
|
||||||
+ struct termios *buf;
|
+#elif defined(__FreeBSD__) || defined (__OpenBSD__) || defined(EMSCRIPTEN)
|
||||||
|
struct termios *buf;
|
||||||
#else
|
#else
|
||||||
txTermState *buf;
|
txTermState *buf;
|
||||||
#endif /* SYSV */
|
#endif /* SYSV */
|
||||||
{
|
{
|
||||||
-#if defined(SYSV) || defined(CYGWIN)
|
-#if defined(SYSV) || defined(CYGWIN) || defined(__OpenBSD__) || defined(EMSCRIPTEN)
|
||||||
+#if defined(SYSV) || defined(CYGWIN) || defined(__FreeBSD__)
|
+#if defined(SYSV) || defined(CYGWIN) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(EMSCRIPTEN)
|
||||||
buf->c_lflag = ISIG; /* raw: no echo and no processing, allow signals */
|
buf->c_lflag = ISIG; /* raw: no echo and no processing, allow signals */
|
||||||
buf->c_cc[ VMIN ] = 1;
|
buf->c_cc[ VMIN ] = 1;
|
||||||
buf->c_cc[ VTIME ] = 0;
|
buf->c_cc[ VTIME ] = 0;
|
||||||
@@ -1301,8 +1302,8 @@ txInitTermRec(buf)
|
@@ -1321,7 +1322,7 @@ struct termio closeTermState;
|
||||||
|
|
||||||
|
#if defined(SYSV) || defined(CYGWIN)
|
||||||
|
struct termio closeTermState;
|
||||||
-#if defined(SYSV) || defined(CYGWIN)
|
-#elif defined (__OpenBSD__) || defined(EMSCRIPTEN)
|
||||||
-struct termio closeTermState;
|
+#elif defined(__FreeBSD__) || defined (__OpenBSD__) || defined(EMSCRIPTEN)
|
||||||
+#if defined(SYSV) || defined(CYGWIN) || defined(__FreeBSD__)
|
struct termios closeTermState;
|
||||||
+struct termios closeTermState;
|
|
||||||
#else
|
#else
|
||||||
static txTermState closeTermState;
|
static txTermState closeTermState;
|
||||||
#endif /* SYSV */
|
@@ -1349,13 +1350,13 @@ txSaveTerm()
|
||||||
@@ -1328,8 +1329,8 @@ static bool haveCloseState = FALSE;
|
|
||||||
void
|
|
||||||
txSaveTerm()
|
txSaveTerm()
|
||||||
{
|
{
|
||||||
-#if defined(SYSV) || defined(CYGWIN)
|
#if defined(SYSV) || defined(CYGWIN)
|
||||||
- ioctl( fileno( stdin ), TCGETA, &closeTermState);
|
- ioctl( fileno( stdin ), TCGETA, &closeTermState);
|
||||||
+#if defined(SYSV) || defined(CYGWIN) || defined(__FreeBSD__)
|
|
||||||
+ ioctl( fileno( stdin ), TIOCGETA, &closeTermState);
|
+ ioctl( fileno( stdin ), TIOCGETA, &closeTermState);
|
||||||
txEraseChar = closeTermState.c_cc[VERASE];
|
txEraseChar = closeTermState.c_cc[VERASE];
|
||||||
txKillChar = closeTermState.c_cc[VKILL];
|
txKillChar = closeTermState.c_cc[VKILL];
|
||||||
TxEOFChar = closeTermState.c_cc[VEOF];
|
TxEOFChar = closeTermState.c_cc[VEOF];
|
||||||
@@ -1369,8 +1370,8 @@ txSaveTerm()
|
TxInterruptChar = closeTermState.c_cc[VINTR];
|
||||||
void
|
haveCloseState = TRUE;
|
||||||
TxSetTerminal()
|
-#elif defined (__OpenBSD__) || defined(EMSCRIPTEN)
|
||||||
|
+#elif defined(__FreeBSD__) || defined (__OpenBSD__) || defined(EMSCRIPTEN)
|
||||||
|
(void) tcgetattr( fileno( stdin ), &closeTermState);
|
||||||
|
txEraseChar = closeTermState.c_cc[VERASE];
|
||||||
|
txKillChar = closeTermState.c_cc[VKILL];
|
||||||
|
@@ -1398,7 +1399,7 @@ TxSetTerminal()
|
||||||
{
|
{
|
||||||
-#if defined(SYSV) || defined(CYGWIN)
|
#if defined(SYSV) || defined(CYGWIN)
|
||||||
- struct termio buf;
|
struct termio buf;
|
||||||
+#if defined(SYSV) || defined(CYGWIN) || defined(__FreeBSD__)
|
-#elif defined (__OpenBSD__) || defined(EMSCRIPTEN)
|
||||||
+ struct termios buf;
|
+#elif defined(__FreeBSD__) || defined (__OpenBSD__) || defined(EMSCRIPTEN)
|
||||||
|
struct termios buf;
|
||||||
#else
|
#else
|
||||||
txTermState buf;
|
txTermState buf;
|
||||||
#endif /* SYSV */
|
|
||||||
|
|
|
@ -76,7 +76,8 @@ lib/magic/doc/html/graphics/corner2.gif
|
||||||
lib/magic/doc/html/graphics/email_address.png
|
lib/magic/doc/html/graphics/email_address.png
|
||||||
lib/magic/doc/html/graphics/line1.gif
|
lib/magic/doc/html/graphics/line1.gif
|
||||||
lib/magic/doc/html/graphics/magic_OGL_sm.gif
|
lib/magic/doc/html/graphics/magic_OGL_sm.gif
|
||||||
lib/magic/doc/html/graphics/magic_title2.gif
|
lib/magic/doc/html/graphics/magic_title8_3.gif
|
||||||
|
lib/magic/doc/html/graphics/magic_title8_3.png
|
||||||
lib/magic/doc/html/graphics/techmgr.gif
|
lib/magic/doc/html/graphics/techmgr.gif
|
||||||
lib/magic/doc/html/graphics/toolbar.gif
|
lib/magic/doc/html/graphics/toolbar.gif
|
||||||
lib/magic/doc/html/graphics/writeall.gif
|
lib/magic/doc/html/graphics/writeall.gif
|
||||||
|
@ -289,6 +290,7 @@ lib/magic/tcl/magicdnull
|
||||||
lib/magic/tcl/magicexec
|
lib/magic/tcl/magicexec
|
||||||
lib/magic/tcl/mazeroute.tcl
|
lib/magic/tcl/mazeroute.tcl
|
||||||
lib/magic/tcl/readspice.tcl
|
lib/magic/tcl/readspice.tcl
|
||||||
|
lib/magic/tcl/reorderLayers.tcl
|
||||||
lib/magic/tcl/socketcmd.tcl
|
lib/magic/tcl/socketcmd.tcl
|
||||||
lib/magic/tcl/strip_reflibs.tcl
|
lib/magic/tcl/strip_reflibs.tcl
|
||||||
lib/magic/tcl/tclmagic.so
|
lib/magic/tcl/tclmagic.so
|
||||||
|
@ -296,6 +298,7 @@ lib/magic/tcl/techbuilder.tcl
|
||||||
lib/magic/tcl/texthelper.tcl
|
lib/magic/tcl/texthelper.tcl
|
||||||
lib/magic/tcl/tkcon.tcl
|
lib/magic/tcl/tkcon.tcl
|
||||||
lib/magic/tcl/tkshell.tcl
|
lib/magic/tcl/tkshell.tcl
|
||||||
|
lib/magic/tcl/toolbar.tcl
|
||||||
lib/magic/tcl/toolkit.tcl
|
lib/magic/tcl/toolkit.tcl
|
||||||
lib/magic/tcl/toolkit_rev0.tcl
|
lib/magic/tcl/toolkit_rev0.tcl
|
||||||
lib/magic/tcl/tools.tcl
|
lib/magic/tcl/tools.tcl
|
||||||
|
|
Loading…
Add table
Reference in a new issue