summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-editors/dhex')
-rw-r--r--app-editors/dhex/Manifest2
-rw-r--r--app-editors/dhex/dhex-0.69.ebuild (renamed from app-editors/dhex/dhex-0.68.ebuild)20
-rw-r--r--app-editors/dhex/files/dhex-0.69-Makefile.patch (renamed from app-editors/dhex/files/dhex-0.63-Makefile.patch)7
-rw-r--r--app-editors/dhex/metadata.xml2
4 files changed, 14 insertions, 17 deletions
diff --git a/app-editors/dhex/Manifest b/app-editors/dhex/Manifest
index f5d1e558e358..db47f58f19af 100644
--- a/app-editors/dhex/Manifest
+++ b/app-editors/dhex/Manifest
@@ -1 +1 @@
-DIST dhex_0.68.tar.gz 58602 BLAKE2B c29d5af598b731bc415e2626e945253641ea61c8a744deaeee3f7a2e7b1636ccfb3f8b7696efd33d36fab59d59da408ff4f59b44a88a36a4d7afc27542326c9e SHA512 9397ec0574652022387f4108613f839b9262841c436079249fb325011b0a0e3c5bbd32d323f37b0f30e643f7060c1275337710c237ab68fb0c3f8096651a2421
+DIST dhex_0.69.tar.gz 57362 BLAKE2B 26bfeaffc65b0f3b0193ee940da3ad866ea1354d0e5bec021a68a6c515da956500bfd7561ba675d0a67526d09b1a72e8372ee7bb52ec372f2b59249313cf77c6 SHA512 76115fd6b67bf1f61af6acfbc4dac9ac54c14aeb291de6a190aa1ffa599cf8b3e40a422ed34c237cf1f5c7406b07e38e38fb1c9c9dd36ce93d05265238060ba0
diff --git a/app-editors/dhex/dhex-0.68.ebuild b/app-editors/dhex/dhex-0.69.ebuild
index bce05d75ad52..35029c783c1f 100644
--- a/app-editors/dhex/dhex-0.68.ebuild
+++ b/app-editors/dhex/dhex-0.69.ebuild
@@ -1,29 +1,27 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-
-inherit eutils toolchain-funcs
+EAPI=7
MY_P=${PN}_${PV}
+inherit toolchain-funcs
DESCRIPTION="ncurses-based hex-editor with diff mode"
-HOMEPAGE="http://www.dettus.net/dhex/"
-SRC_URI="http://www.dettus.net/${PN}/${MY_P}.tar.gz"
+HOMEPAGE="https://www.dettus.net/dhex/"
+SRC_URI="https://www.dettus.net/${PN}/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 ~arm ~mips x86"
+KEYWORDS="amd64 ~arm ~mips ~riscv x86"
IUSE=""
DEPEND="sys-libs/ncurses:="
RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
-S=${WORKDIR}/${MY_P}
+S="${WORKDIR}/${MY_P}"
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-0.63-Makefile.patch
-}
+PATCHES=( "${FILESDIR}"/${P}-Makefile.patch )
src_compile() {
emake \
diff --git a/app-editors/dhex/files/dhex-0.63-Makefile.patch b/app-editors/dhex/files/dhex-0.69-Makefile.patch
index f99c9ff1bf2d..55c281d3a677 100644
--- a/app-editors/dhex/files/dhex-0.63-Makefile.patch
+++ b/app-editors/dhex/files/dhex-0.69-Makefile.patch
@@ -1,11 +1,10 @@
-diff -ruN dhex_0.63.orig/Makefile dhex_0.63/Makefile
---- dhex_0.63.orig/Makefile 2011-01-29 00:19:37.000000000 +0100
-+++ dhex_0.63/Makefile 2011-01-30 17:13:51.000000000 +0100
+--- a/Makefile
++++ b/Makefile
@@ -1,11 +1,4 @@
-CC= gcc
-LDFLAGS= -L/usr/lib -L/usr/local/lib -L/usr/lib/ncurses -L/usr/local/lib/ncurses
-CPPFLAGS= -I/usr/include -I/usr/local/include -I/usr/include/ncurses -I/usr/local/include/ncurses
--CFLAGS= -O3 -Wall -std=c99
+-CFLAGS= -O3 -Wall #-std=c99
-#CFLAGS+= -ffunction-sections -fdata-sections
-#LDFLAGS+= --gc-sections
LIBS= -lncurses
diff --git a/app-editors/dhex/metadata.xml b/app-editors/dhex/metadata.xml
index 6f49eba8f496..85e4ed814fa2 100644
--- a/app-editors/dhex/metadata.xml
+++ b/app-editors/dhex/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
</pkgmetadata>