Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-calculators/hcalc/, sci-calculators/hcalc/files/
Date: Mon, 02 Jan 2017 22:09:40
Message-Id: 1483394949.787abf1ee13ef54d05f3cde84b07036967802d93.jlec@gentoo
1 commit: 787abf1ee13ef54d05f3cde84b07036967802d93
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 2 22:05:56 2017 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 2 22:09:09 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=787abf1e
7
8 sci-calculators/hcalc: Drop old
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
12
13 sci-calculators/hcalc/Manifest | 1 -
14 sci-calculators/hcalc/files/1.0-gentoo.patch | 57 ----------------------------
15 sci-calculators/hcalc/hcalc-1.0-r1.ebuild | 36 ------------------
16 3 files changed, 94 deletions(-)
17
18 diff --git a/sci-calculators/hcalc/Manifest b/sci-calculators/hcalc/Manifest
19 index cce0563..03b0e9a 100644
20 --- a/sci-calculators/hcalc/Manifest
21 +++ b/sci-calculators/hcalc/Manifest
22 @@ -1,2 +1 @@
23 DIST hcalc-1.2.tar.xz 15456 SHA256 4e453e6ed9f83689c63f913492725e5243d9511eb8892520ba2ea202c1feb5bc SHA512 c21dac80d31f7adc5a1e7a02e5a755ac8d68547a9f25622d55e6d87c924a2535ac496ecfebcae52b1995aa414362a9005be4e2b390d0e01dab22bd692b16bf49 WHIRLPOOL b6232b4535f87db41ed040acb53067de927e30c280b09300807e77dd0c367929ec48c22e80417540f0df49330d41d687edd47752fa729f0641579214a9ccbc6e
24 -DIST hcalc.tar.gz 6014 SHA256 03f6fcdeb9cfafc54d4d9a138ae3489c90b529b3576434847bcc753359bdccf8 SHA512 24962ad7fc321435646b69a269780ca2c4466c3911a91e77cc13ec18c9e6ad9ce353ae58accb2f337309f1e962d59b3ab98a9a66ba119859a529106ba4f249e8 WHIRLPOOL 092369945603bcc9702526e76dcbb2244d3871a3ef20ae73c6d990c27cc1ba3980c086394fb7cddb103b7678c7d96fcfeeb1939f3d357b3f80f42d69882982d0
25
26 diff --git a/sci-calculators/hcalc/files/1.0-gentoo.patch b/sci-calculators/hcalc/files/1.0-gentoo.patch
27 deleted file mode 100644
28 index a2b2403..00000000
29 --- a/sci-calculators/hcalc/files/1.0-gentoo.patch
30 +++ /dev/null
31 @@ -1,57 +0,0 @@
32 -diff --git a/Makefile b/Makefile
33 -index 5386821..eb5db3e 100644
34 ---- a/Makefile
35 -+++ b/Makefile
36 -@@ -1,5 +1,5 @@
37 --CC = gcc
38 --CFLAGS = -g -O2 -MMD
39 -+CC ?= gcc
40 -+CFLAGS += -MMD
41 -
42 - OBJS = \
43 - hcalc.o \
44 -@@ -10,7 +10,7 @@ OBJS = \
45 - $E
46 -
47 - hcalc : $(OBJS)
48 -- gcc -o $@ $^ -L/usr/X11R6/lib -lXpm -lX11
49 -+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ -lXpm -lX11
50 -
51 - clean :
52 - -rm -f *.o *.d *~ \#* hcalc core
53 -diff --git a/draw.c b/draw.c
54 -index 5bde83d..c3bdeb2 100644
55 ---- a/draw.c
56 -+++ b/draw.c
57 -@@ -3,6 +3,7 @@
58 - http://www.delorie.com/store/hcalc/
59 - */
60 - #include "hcalc.h"
61 -+#include <string.h>
62 -
63 - static char shown_offsets[15];
64 - static int shown_bitmask;
65 -diff --git a/input.c b/input.c
66 -index d7de47c..f1d45f5 100644
67 ---- a/input.c
68 -+++ b/input.c
69 -@@ -5,6 +5,7 @@
70 - #include "hcalc.h"
71 - #include <ctype.h>
72 - #include <string.h>
73 -+#include <stdlib.h>
74 -
75 - char pending_op = 0;
76 - int making_number = 0;
77 -diff --git a/setupx.c b/setupx.c
78 -index 238c1e2..74e574b 100644
79 ---- a/setupx.c
80 -+++ b/setupx.c
81 -@@ -3,6 +3,7 @@
82 - http://www.delorie.com/store/hcalc/
83 - */
84 - #include "hcalc.h"
85 -+#include <stdlib.h>
86 -
87 - Display *display=0;
88 - int screen=0;
89
90 diff --git a/sci-calculators/hcalc/hcalc-1.0-r1.ebuild b/sci-calculators/hcalc/hcalc-1.0-r1.ebuild
91 deleted file mode 100644
92 index a920e55..00000000
93 --- a/sci-calculators/hcalc/hcalc-1.0-r1.ebuild
94 +++ /dev/null
95 @@ -1,36 +0,0 @@
96 -# Copyright 1999-2012 Gentoo Foundation
97 -# Distributed under the terms of the GNU General Public License v2
98 -# $Id$
99 -
100 -EAPI=4
101 -
102 -inherit eutils toolchain-funcs
103 -
104 -DESCRIPTION="DJ's Hex Calculator"
105 -HOMEPAGE="http://www.delorie.com/store/hcalc/"
106 -SRC_URI="http://www.delorie.com/store/hcalc/${PN}.tar.gz"
107 -
108 -LICENSE="GPL-2"
109 -SLOT="0"
110 -KEYWORDS="amd64 ppc x86"
111 -IUSE=""
112 -
113 -RDEPEND="
114 - x11-libs/libX11
115 - x11-libs/libXpm"
116 -DEPEND="${RDEPEND}"
117 -
118 -S="${WORKDIR}"
119 -
120 -src_prepare() {
121 - epatch "${FILESDIR}"/${PV}-gentoo.patch
122 - tc-export CC
123 -}
124 -
125 -src_install() {
126 - dobin ${PN}
127 -}
128 -
129 -pkg_postinst() {
130 - einfo "Enter hcalc to run and use kill or ctrl-c to exit."
131 -}