aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fm/xfm
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1998-08-10 08:03:14 +0800
committersteve <steve@FreeBSD.org>1998-08-10 08:03:14 +0800
commit00b904f342d67de27565371a7c82c357fe979de0 (patch)
tree14b572f7d8c82f5ca575f52e14a957bfb395a179 /x11-fm/xfm
parentde585562e005028f82fb1314bf0224c838947c5d (diff)
downloadfreebsd-ports-gnome-00b904f342d67de27565371a7c82c357fe979de0.tar.gz
freebsd-ports-gnome-00b904f342d67de27565371a7c82c357fe979de0.tar.zst
freebsd-ports-gnome-00b904f342d67de27565371a7c82c357fe979de0.zip
strtol -> strtoul so the 'magic' file is parsed correctly.
PR: 7535 Submitted by: Sergey Shkonda <serg@bcs.zp.ua>
Diffstat (limited to 'x11-fm/xfm')
-rw-r--r--x11-fm/xfm/Makefile4
-rw-r--r--x11-fm/xfm/files/patch-ab11
-rw-r--r--x11-fm/xfm/pkg-descr1
3 files changed, 14 insertions, 2 deletions
diff --git a/x11-fm/xfm/Makefile b/x11-fm/xfm/Makefile
index 67a2ac37fc74..2197e8e39393 100644
--- a/x11-fm/xfm/Makefile
+++ b/x11-fm/xfm/Makefile
@@ -3,7 +3,7 @@
# Date created: 28 December 1994
# Whom: jc@irbs.com John Capo
#
-# $Id: Makefile,v 1.7 1996/11/18 09:56:20 asami Exp $
+# $Id: Makefile,v 1.8 1998/08/07 22:33:12 asami Exp $
#
DISTNAME= xfm-1.3.2
@@ -11,6 +11,8 @@ CATEGORIES= x11-fm
MASTER_SITES= ${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR= applications
+MAINTAINER= ports@FreeBSD.ORG
+
LIB_DEPENDS= Xpm\\.4\\.:${PORTSDIR}/graphics/xpm
USE_IMAKE= yes
diff --git a/x11-fm/xfm/files/patch-ab b/x11-fm/xfm/files/patch-ab
new file mode 100644
index 000000000000..c0fdb1311d5c
--- /dev/null
+++ b/x11-fm/xfm/files/patch-ab
@@ -0,0 +1,11 @@
+--- src/magic.c.orig Sun Aug 9 13:47:06 1998
++++ src/magic.c Sun Aug 9 13:47:18 1998
+@@ -227,7 +227,7 @@
+ default:
+ mtypes[count].flags |= M_EQ;
+ }
+- mtypes[count].value.number = strtol(cptr, &cptr, 0);
++ mtypes[count].value.number = strtoul(cptr, &cptr, 0);
+ }
+ while(isspace(*cptr))
+ cptr++;
diff --git a/x11-fm/xfm/pkg-descr b/x11-fm/xfm/pkg-descr
index 34feeceea026..fac60d90369d 100644
--- a/x11-fm/xfm/pkg-descr
+++ b/x11-fm/xfm/pkg-descr
@@ -66,4 +66,3 @@ configuration options. If you are not addicted to the shell and like to
shuffle around files with one hand in order to perform tasks such as moving,
copying, deleting, compiling, formatting, archiving, compressing, etc. etc.,
then xfm is certainly for you.
-