summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1998-08-10 00:03:14 +0000
committersteve <steve@FreeBSD.org>1998-08-10 00:03:14 +0000
commit00b904f342d67de27565371a7c82c357fe979de0 (patch)
tree14b572f7d8c82f5ca575f52e14a957bfb395a179
parentde585562e005028f82fb1314bf0224c838947c5d (diff)
downloadFreeBSD-ports-00b904f342d67de27565371a7c82c357fe979de0.zip
FreeBSD-ports-00b904f342d67de27565371a7c82c357fe979de0.tar.gz
strtol -> strtoul so the 'magic' file is parsed correctly.
PR: 7535 Submitted by: Sergey Shkonda <serg@bcs.zp.ua>
-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 67a2ac3..2197e8e 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 0000000..c0fdb13
--- /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 34feece..fac60d9 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.
-
OpenPOWER on IntegriCloud