mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
cad/magic: update 8.3.515 → 8.3.522
PR: 285489
This commit is contained in:
parent
12daa7791f
commit
24ec8b0ead
6 changed files with 40 additions and 31 deletions
|
@ -1,5 +1,5 @@
|
||||||
PORTNAME= magic
|
PORTNAME= magic
|
||||||
DISTVERSION= 8.3.515
|
DISTVERSION= 8.3.522
|
||||||
CATEGORIES= cad
|
CATEGORIES= cad
|
||||||
MASTER_SITES= http://opencircuitdesign.com/magic/archive/
|
MASTER_SITES= http://opencircuitdesign.com/magic/archive/
|
||||||
|
|
||||||
|
@ -10,15 +10,14 @@ WWW= http://opencircuitdesign.com/magic/
|
||||||
LICENSE= MIT
|
LICENSE= MIT
|
||||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||||
|
|
||||||
LIB_DEPENDS= libBLT25.so:x11-toolkits/blt \
|
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
|
||||||
libfontconfig.so:x11-fonts/fontconfig \
|
|
||||||
libfreetype.so:print/freetype2
|
libfreetype.so:print/freetype2
|
||||||
RUN_DEPENDS= bash:shells/bash
|
RUN_DEPENDS= bash:shells/bash
|
||||||
|
|
||||||
USES= gmake gnome gl localbase:ldflags python:build shebangfix tar:tgz tk:tea xorg
|
USES= gmake gnome gl localbase:ldflags python:build shebangfix tar:tgz tk:tea xorg
|
||||||
USE_GL= gl glu
|
USE_GL= gl glu
|
||||||
USE_GNOME= cairo
|
USE_GNOME= cairo
|
||||||
USE_XORG= ice x11 xext xi xmu
|
USE_XORG= ice sm x11 xext xi xmu
|
||||||
|
|
||||||
SHEBANG_FILES= scripts/preproc.py tcltk/magic.sh.in tcltk/ext2sim.sh.in tcltk/ext2spice.sh.in
|
SHEBANG_FILES= scripts/preproc.py tcltk/magic.sh.in tcltk/ext2sim.sh.in tcltk/ext2spice.sh.in
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
TIMESTAMP = 1737917566
|
TIMESTAMP = 1742227457
|
||||||
SHA256 (magic-8.3.515.tgz) = dfd930d07f81dcd39c6ed066c42c19c5df5d3f2d68b84ea2b1edc17e046a499a
|
SHA256 (magic-8.3.522.tgz) = 85a5e60959cf3c0af2e27f44a55592e547252ba3c203c27d385970e233cc1b0e
|
||||||
SIZE (magic-8.3.515.tgz) = 4242911
|
SIZE (magic-8.3.522.tgz) = 4246903
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
--- scripts/configure.orig 2023-08-30 06:00:02 UTC
|
--- scripts/configure.orig 2025-01-11 07:00:02 UTC
|
||||||
+++ scripts/configure
|
+++ scripts/configure
|
||||||
@@ -8182,7 +8182,7 @@ fi
|
@@ -8208,7 +8208,7 @@ fi
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
if test "$with_gnu_ld" = "yes" ; then
|
if test "$with_gnu_ld" = "yes" ; then
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
--- textio/textioInt.h.orig 2023-07-12 06:00:01 UTC
|
--- textio/textioInt.h.orig 2025-02-24 07:00:02 UTC
|
||||||
+++ textio/textioInt.h
|
+++ textio/textioInt.h
|
||||||
@@ -41,7 +41,7 @@ typedef struct {
|
@@ -43,7 +43,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 */
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
--- textio/txInput.c.orig 2023-07-12 06:00:01 UTC
|
--- textio/txInput.c.orig 2025-02-24 07:00:02 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"
|
||||||
@@ -1208,14 +1209,14 @@ TxGetLine(dest, maxChars)
|
@@ -1221,13 +1222,13 @@ TxGetLine(
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -16,26 +16,25 @@
|
||||||
+#if defined(SYSV) || defined(CYGWIN) || defined(__FreeBSD__)
|
+#if defined(SYSV) || defined(CYGWIN) || defined(__FreeBSD__)
|
||||||
|
|
||||||
void
|
void
|
||||||
txGetTermState(buf)
|
txGetTermState(
|
||||||
- struct termio *buf;
|
- struct termio *buf)
|
||||||
+ struct termios *buf;
|
+ struct termios *buf)
|
||||||
|
|
||||||
{
|
{
|
||||||
- ioctl( fileno( stdin ), TCGETA, buf);
|
- ioctl( fileno( stdin ), TCGETA, buf);
|
||||||
+ ioctl( fileno( stdin ), TIOCGETA, buf);
|
+ ioctl( fileno( stdin ), TIOCGETA, buf);
|
||||||
}
|
}
|
||||||
|
|
||||||
#elif defined (__OpenBSD__) || defined(EMSCRIPTEN)
|
#elif defined (__OpenBSD__) || defined(EMSCRIPTEN)
|
||||||
@@ -1257,7 +1258,7 @@ txSetTermState(buf)
|
@@ -1269,7 +1270,7 @@ txSetTermState(
|
||||||
|
|
||||||
void
|
void
|
||||||
txSetTermState(buf)
|
txSetTermState(
|
||||||
-#if defined(SYSV) || defined(CYGWIN)
|
-#if defined(SYSV) || defined(CYGWIN)
|
||||||
+#if defined(SYSV) || defined(CYGWIN) || defined(__FreeBSD__)
|
+#if defined(SYSV) || defined(CYGWIN) || defined(__FreeBSD__)
|
||||||
struct termio *buf;
|
struct termio *buf
|
||||||
#elif defined (__OpenBSD__) || defined(EMSCRIPTEN)
|
#elif defined (__OpenBSD__) || defined(EMSCRIPTEN)
|
||||||
struct termios *buf;
|
struct termios *buf
|
||||||
@@ -1267,7 +1268,7 @@ txSetTermState(buf)
|
@@ -1280,7 +1281,7 @@ txSetTermState(
|
||||||
{
|
{
|
||||||
#if defined(SYSV) || defined(CYGWIN)
|
#if defined(SYSV) || defined(CYGWIN)
|
||||||
ioctl( fileno(stdin), TCSETAF, buf );
|
ioctl( fileno(stdin), TCSETAF, buf );
|
||||||
|
@ -44,23 +43,24 @@
|
||||||
(void) tcsetattr( fileno(stdin), TCSANOW, buf );
|
(void) tcsetattr( fileno(stdin), TCSANOW, buf );
|
||||||
#else
|
#else
|
||||||
/* set the current terminal characteristics */
|
/* set the current terminal characteristics */
|
||||||
@@ -1298,13 +1299,13 @@ txInitTermRec(buf)
|
@@ -1311,14 +1312,14 @@ txInitTermRec(
|
||||||
txInitTermRec(buf)
|
txInitTermRec(
|
||||||
#if defined(SYSV) || defined(CYGWIN)
|
#if defined(SYSV) || defined(CYGWIN)
|
||||||
struct termio *buf;
|
struct termio *buf
|
||||||
-#elif defined (__OpenBSD__) || defined(EMSCRIPTEN)
|
-#elif defined (__OpenBSD__) || defined(EMSCRIPTEN)
|
||||||
+#elif defined(__FreeBSD__) || defined (__OpenBSD__) || defined(EMSCRIPTEN)
|
+#elif defined(__FreeBSD__) || defined (__OpenBSD__) || defined(EMSCRIPTEN)
|
||||||
struct termios *buf;
|
struct termios *buf
|
||||||
#else
|
#else
|
||||||
txTermState *buf;
|
txTermState *buf
|
||||||
#endif /* SYSV */
|
#endif /* SYSV */
|
||||||
|
)
|
||||||
{
|
{
|
||||||
-#if defined(SYSV) || defined(CYGWIN) || defined(__OpenBSD__) || defined(EMSCRIPTEN)
|
-#if defined(SYSV) || defined(CYGWIN) || defined(__OpenBSD__) || defined(EMSCRIPTEN)
|
||||||
+#if defined(SYSV) || defined(CYGWIN) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(EMSCRIPTEN)
|
+#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;
|
||||||
@@ -1321,7 +1322,7 @@ struct termio closeTermState;
|
@@ -1335,7 +1336,7 @@ struct termio closeTermState;
|
||||||
|
|
||||||
#if defined(SYSV) || defined(CYGWIN)
|
#if defined(SYSV) || defined(CYGWIN)
|
||||||
struct termio closeTermState;
|
struct termio closeTermState;
|
||||||
|
@ -69,8 +69,8 @@
|
||||||
struct termios closeTermState;
|
struct termios closeTermState;
|
||||||
#else
|
#else
|
||||||
static txTermState closeTermState;
|
static txTermState closeTermState;
|
||||||
@@ -1349,13 +1350,13 @@ txSaveTerm()
|
@@ -1363,13 +1364,13 @@ txSaveTerm(void)
|
||||||
txSaveTerm()
|
txSaveTerm(void)
|
||||||
{
|
{
|
||||||
#if defined(SYSV) || defined(CYGWIN)
|
#if defined(SYSV) || defined(CYGWIN)
|
||||||
- ioctl( fileno( stdin ), TCGETA, &closeTermState);
|
- ioctl( fileno( stdin ), TCGETA, &closeTermState);
|
||||||
|
@ -85,7 +85,7 @@
|
||||||
(void) tcgetattr( fileno( stdin ), &closeTermState);
|
(void) tcgetattr( fileno( stdin ), &closeTermState);
|
||||||
txEraseChar = closeTermState.c_cc[VERASE];
|
txEraseChar = closeTermState.c_cc[VERASE];
|
||||||
txKillChar = closeTermState.c_cc[VKILL];
|
txKillChar = closeTermState.c_cc[VKILL];
|
||||||
@@ -1398,7 +1399,7 @@ TxSetTerminal()
|
@@ -1412,7 +1413,7 @@ TxSetTerminal(void)
|
||||||
{
|
{
|
||||||
#if defined(SYSV) || defined(CYGWIN)
|
#if defined(SYSV) || defined(CYGWIN)
|
||||||
struct termio buf;
|
struct termio buf;
|
||||||
|
|
10
cad/magic/files/patch-utils_path.c
Normal file
10
cad/magic/files/patch-utils_path.c
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
--- utils/path.c.orig 2025-03-17 19:16:36 UTC
|
||||||
|
+++ utils/path.c
|
||||||
|
@@ -29,6 +29,7 @@ static char rcsid[] __attribute__ ((unused)) = "$Heade
|
||||||
|
#include <sys/param.h>
|
||||||
|
#include <sys/stat.h>
|
||||||
|
#include <fcntl.h>
|
||||||
|
+#include <unistd.h>
|
||||||
|
|
||||||
|
#ifdef HAVE_ZLIB
|
||||||
|
#include <zlib.h>
|
Loading…
Add table
Reference in a new issue