upgrade to hexedit 1.2.10
Based on a diff from Ben Hooper <ben at networkinsanity dot com>
This commit is contained in:
parent
104c67ad72
commit
1f1aa9a5f9
@ -1,8 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.19 2004/11/24 11:08:03 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.20 2005/07/03 01:22:22 brad Exp $
|
||||
|
||||
COMMENT= "view and edit files in hexadecimal or ASCII"
|
||||
|
||||
DISTNAME= hexedit-1.2.2
|
||||
DISTNAME= hexedit-1.2.10
|
||||
CATEGORIES= editors
|
||||
MASTER_SITES= http://www.chez.com/prigaux/ \
|
||||
http://merd.net/pixel/
|
||||
@ -12,6 +12,7 @@ HOMEPAGE= http://www.chez.com/prigaux/hexedit.html
|
||||
|
||||
MAINTAINER= Brad Smith <brad@openbsd.org>
|
||||
|
||||
# GPL
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
@ -21,12 +22,6 @@ WANTLIB= c curses
|
||||
CONFIGURE_STYLE= gnu dest
|
||||
NO_REGRESS= Yes
|
||||
|
||||
DOCS= COPYING TODO Changes
|
||||
|
||||
WRKDIST= ${WRKDIR}/hexedit
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/hexedit
|
||||
cd ${WRKSRC}; ${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/hexedit
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,4 +1,4 @@
|
||||
MD5 (hexedit-1.2.2.src.tgz) = 99fcf36bf539a34e47c496b667b1f795
|
||||
RMD160 (hexedit-1.2.2.src.tgz) = fe450e927cd1c56e35d737f922f54319b4f7cc23
|
||||
SHA1 (hexedit-1.2.2.src.tgz) = 6f145f07717680fb088fb56f9813ba429bfae6b3
|
||||
SIZE (hexedit-1.2.2.src.tgz) = 56247
|
||||
MD5 (hexedit-1.2.10.src.tgz) = 5d925ab9f0746ccd1d05c80fef628938
|
||||
RMD160 (hexedit-1.2.10.src.tgz) = e46f19b0d91de3c833d02083db9e12b8f3a4eaac
|
||||
SHA1 (hexedit-1.2.10.src.tgz) = 91ddc20587da85f5d4c33e97bae73453d19ed788
|
||||
SIZE (hexedit-1.2.10.src.tgz) = 61566
|
||||
|
24
editors/hexedit/patches/patch-hexedit_h
Normal file
24
editors/hexedit/patches/patch-hexedit_h
Normal file
@ -0,0 +1,24 @@
|
||||
$OpenBSD: patch-hexedit_h,v 1.1 2005/07/03 01:24:09 brad Exp $
|
||||
--- hexedit.h.orig Sat Jul 2 21:14:58 2005
|
||||
+++ hexedit.h Sat Jul 2 21:15:31 2005
|
||||
@@ -5,6 +5,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
+#include <sys/param.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#if HAVE_FCNTL_H
|
||||
@@ -42,8 +43,12 @@
|
||||
#define ALT(c) ((c) | 0xa0)
|
||||
#define DIE(M) { fprintf(stderr, M, progName); exit(1); }
|
||||
#define FREE(p) if (p) free(p)
|
||||
+#ifndef MIN
|
||||
#define MIN(a, b) ((a) < (b) ? (a) : (b))
|
||||
+#endif
|
||||
+#ifndef MAX
|
||||
#define MAX(a, b) ((a) > (b) ? (a) : (b))
|
||||
+#endif
|
||||
#define NORMAL A_NORMAL
|
||||
#define MARKED A_REVERSE
|
||||
#define MODIFIED A_BOLD
|
@ -1,7 +1,3 @@
|
||||
@comment $OpenBSD: PLIST,v 1.5 2004/09/15 18:01:06 espie Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.6 2005/07/03 01:22:23 brad Exp $
|
||||
bin/hexedit
|
||||
@man man/man1/hexedit.1
|
||||
share/doc/hexedit/
|
||||
share/doc/hexedit/COPYING
|
||||
share/doc/hexedit/Changes
|
||||
share/doc/hexedit/TODO
|
||||
|
Loading…
Reference in New Issue
Block a user