Package Details: tinyfugue 5.0b8-3

Git Clone URL: https://aur.archlinux.org/tinyfugue.git (read-only)
Package Base: tinyfugue
Description: flexible, screen-oriented MUD client, for use with any type of MUD
Upstream URL: http://tinyfugue.sourceforge.net/
Keywords: mud
Licenses: GPL
Submitter: None
Maintainer: Longlius
Last Packager: Longlius
Votes: 13
Popularity: 0.004988
First Submitted: 2008-07-29 23:11
Last Updated: 2015-06-30 06:19

Latest Comments

Eachna commented on 2014-12-11 10:26

Package needs this patch for 64 bit systems.

http://sourceforge.net/tracker/index.php?func=detail&aid=1650992&group_id=186112&atid=915972

diff -U5 -r tf-50b8.orig/src/tfio.c tf-50b8/src/tfio.c
--- tf-50b8.orig/src/tfio.c 2007-01-13 18:12:39.000000000 -0500
+++ tf-50b8/src/tfio.c 2007-02-02 16:50:12.000000000 -0500
@@ -495,10 +495,11 @@
const char *q, *sval;
char *specptr, quote;
const conString *Sval;
int len, min, max, leftjust, stars;
attr_t attrs = buf->attrs;
+ va_list aq;

if (!(flags & SP_APPEND) && buf->data) Stringtrunc(buf, 0);
while (*fmt) {
if (*fmt != '%' || *++fmt == '%') {
for (q = fmt + 1; *q && *q != '%'; q++);
@@ -520,11 +521,13 @@
switch (*fmt) {
case 'd': case 'i':
case 'x': case 'X': case 'u': case 'o':
case 'f': case 'e': case 'E': case 'g': case 'G':
case 'p':
- vsprintf(tempbuf, spec, ap);
+ va_copy(aq, ap);
+ vsprintf(tempbuf, spec, aq);
+ va_end(aq);
Stringcat(buf, tempbuf);
/* eat the arguments used by vsprintf() */
while (stars--) (void)va_arg(ap, int);
switch (*fmt) {
case 'd': case 'i':

alexdantas commented on 2014-05-26 19:06

I really think you should add 'tinyfugue' on the description;
specially since this is a most recent AUR alternative to 'tinyfugue'.

Also, it would be nice to place on the description (and mark on
the PKGBUILD) that it replaces 'tinyfugue', 'tinyfugue-patched'
and 'tinyfugue-pcre-ansi'.

wolfgang42 commented on 2014-01-19 21:34

Suggestion: add mention of 'tinyfugue' somewhere in the description, so this package shows in an AUR search for that name.

Longlius commented on 2014-01-05 13:10

I've written a new PKGBUILD for TinyFugue (from scratch) and put it up on the AUR:

https://aur.archlinux.org/packages/tf/

It's mostly just a cosmetic rewrite to follow newer packaging guidelines, but the PCRE patch is included and tf(1)'s man page is now installed by default in the PKGBUILD (Ken Keys apparently never updates his makefiles...)

Anonymous comment on 2012-03-08 11:23

Here is the patch for PCRE-8.30+, from the Fedora git repository. It works perfectly as a modification for the PKGBUILD:

http://bit.ly/w3887f

dkasak commented on 2012-02-17 02:49

The patch is apparently somehow malformed, but when applied manually, it works perfectly.

Anonymous comment on 2012-02-13 08:38

Quick and dirty patch for pcre_info. Not really tested all that much.

diff --recursive -u tf-50b8.orig/src/macro.c tf-50b8/src/macro.c
--- tf-50b8.orig/src/macro.c 2007-01-14 00:12:39.000000000 +0100
+++ tf-50b8/src/macro.c 2012-02-13 09:22:06.000000000 +0100
@@ -893,7 +893,8 @@
}
spec->attr &= ~F_NONE;
if (spec->nsubattr) {
- int n = pcre_info(spec->trig.ri->re, NULL, NULL);
+ int n;
+ pcre_fullinfo( spec->trig.ri->re, NULL, PCRE_INFO_CAPTURECOUNT, &n );
for (i = 0; i < spec->nsubattr; i++) {
spec->subattr[i].attr &= ~F_NONE;
if (spec->subattr[i].subexp > n) {
diff --recursive -u tf-50b8.orig/src/pattern.c tf-50b8/src/pattern.c
--- tf-50b8.orig/src/pattern.c 2007-01-14 00:12:39.000000000 +0100
+++ tf-50b8/src/pattern.c 2012-02-13 09:22:25.000000000 +0100
@@ -151,7 +151,7 @@
emsg ? emsg : "unknown error");
goto tf_reg_compile_error;
}
- n = pcre_info(ri->re, NULL, NULL);
+ pcre_fullinfo( ri->re, NULL, PCRE_INFO_CAPTURECOUNT, &n );
if (n < 0) goto tf_reg_compile_error;
ri->ovecsize = 3 * (n + 1);
ri->ovector = dmalloc(NULL, sizeof(int) * ri->ovecsize, file, line);
diff --recursive -u tf-50b8.orig/src/pattern.h tf-50b8/src/pattern.h
--- tf-50b8.orig/src/pattern.h 2007-01-14 00:12:39.000000000 +0100
+++ tf-50b8/src/pattern.h 2012-02-13 09:22:06.000000000 +0100
@@ -10,7 +10,7 @@
#ifndef PATTERN_H
#define PATTERN_H

-#include "pcre-2.08/pcre.h"
+#include <pcre.h>

typedef struct RegInfo {
pcre *re;