diff options
-rw-r--r-- | sysutils/ah-tty/Makefile | 2 | ||||
-rw-r--r-- | sysutils/ah-tty/files/patch-include::LDL.h | 20 | ||||
-rw-r--r-- | sysutils/ah-tty/pkg-plist | 2 |
3 files changed, 23 insertions, 1 deletions
diff --git a/sysutils/ah-tty/Makefile b/sysutils/ah-tty/Makefile index 32de8d1..c804b98 100644 --- a/sysutils/ah-tty/Makefile +++ b/sysutils/ah-tty/Makefile @@ -21,5 +21,7 @@ MAN1= ah-tty.1 post-patch: @${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' \ ${WRKSRC}/dillib/vty/vtlabel.c + @${REINPLACE_CMD} -e 's|##x|x|' \ + ${WRKSRC}/include/platform.h .include <bsd.port.mk> diff --git a/sysutils/ah-tty/files/patch-include::LDL.h b/sysutils/ah-tty/files/patch-include::LDL.h new file mode 100644 index 0000000..f66c552 --- /dev/null +++ b/sysutils/ah-tty/files/patch-include::LDL.h @@ -0,0 +1,20 @@ +--- include/LDL.h.orig Fri Dec 13 11:54:46 2002 ++++ include/LDL.h Fri Dec 13 11:55:01 2002 +@@ -20,8 +20,6 @@ + # endif + # include <string.h> + +-#if !defined(HAVE_INSQUE) && !defined(HAVE_REMQUE) +-/* the insque, remque are not defined, we need to define the type for them */ + typedef struct qelem + { + struct qelem* q_forw,* q_back; +@@ -49,8 +47,6 @@ + if (elem->q_forw) elem->q_forw->q_back = elem->q_back; + if (elem->q_back) elem->q_back->q_forw = elem->q_forw; + } +-#endif +- + #endif + + diff --git a/sysutils/ah-tty/pkg-plist b/sysutils/ah-tty/pkg-plist index 87b3b48..30ccc6e 100644 --- a/sysutils/ah-tty/pkg-plist +++ b/sysutils/ah-tty/pkg-plist @@ -1,6 +1,6 @@ bin/ah-tty bin/ah-tty.static share/ah-tty.conf -info/ah-tty.info @unexec install-info --delete %D/info/ah-tty.info %D/info/dir +info/ah-tty.info @exec install-info %D/info/ah-tty.info %D/info/dir |