Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/dosemu/, app-emulation/dosemu/files/
Date: Sat, 29 Oct 2016 10:34:55
Message-Id: 1477737280.7e2bd3a587a5adee7d7482310ff93ce0fdc7a0b2.slyfox@gentoo
1 commit: 7e2bd3a587a5adee7d7482310ff93ce0fdc7a0b2
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 29 10:30:51 2016 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 29 10:34:40 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e2bd3a5
7
8 app-emulation/dosemu: drop old
9
10 Package-Manager: portage-2.3.2
11
12 app-emulation/dosemu/Manifest | 1 -
13 .../dosemu/dosemu-1.4.1_pre20091009.ebuild | 65 ----------------------
14 .../files/dosemu-1.4.1_pre20091009-fix-glibc.patch | 35 ------------
15 .../files/dosemu-1.4.1_pre20091009-flex.patch | 45 ---------------
16 4 files changed, 146 deletions(-)
17
18 diff --git a/app-emulation/dosemu/Manifest b/app-emulation/dosemu/Manifest
19 index 166c308..b23f68f 100644
20 --- a/app-emulation/dosemu/Manifest
21 +++ b/app-emulation/dosemu/Manifest
22 @@ -1,3 +1,2 @@
23 -DIST dosemu-1.4.1_pre20091009.tar.bz2 1965194 SHA256 bf57f3a567008892fcaf0a58f69aae37a4b251f08855968958fa8fc6c06b1d4b SHA512 45aa0fff97f11270a50f9d5f10ec0be137e585c33a163e2b3318e924fe60f6aff90433fa52e90a5f8f9f1557b69720c4750ea685f3f72b644345021a01efc6ae WHIRLPOOL 607a1f92a60f31540d9e7e4033ef913d115a1e2f0a578e4083f8b55c2d0144352fe9f04273dfe953f80ad7bf38dab901dc6b7a4fce2ea3b0676329837b2719cb
24 DIST dosemu-1.4.1_pre20130107.zip 2767256 SHA256 072e1d8ea9c574b02e556d926a287c9c55b82384ed652bb8dd6f3488801901aa SHA512 eb8dcb914a74b235f2b37ff4dd5c1c84b4916ff195c7bf76cdbe6a4d5e6247c57297eef0c579f219ff7f475e727d66fa5a0f314da46d79cc97a0d794e9ad5864 WHIRLPOOL d2835f82515e40d3c85c1ee53c7add5ba055637864ee63997ec912f53862006e33b4139a253b98cb76ca3cdbd7bdca6614609d9e8e716b074283e77cd8105e3c
25 DIST dosemu-freedos-1.0-bin.tgz 1205628 SHA256 080c306a1b611e1861fd64466062f268eb44d2bf38082b8a57efadb5a9c0ebc7 SHA512 d0c4235ceac55de63ce5f72e51b7d57a82b8104f4bf2df6f4dc25c9889d3337b40d75665c2dfc98492ec7123e0959a725f5c7579e145895024bd80a07036e3bd WHIRLPOOL 9e6acf38dc8fafe95a49baaaac2a97fdd02c508b7c30c60823f8af7f44aa62b8d82c92661640b4cef05fcdbea401fafea752ec4a0e439a8eff361dd41aa392d3
26
27 diff --git a/app-emulation/dosemu/dosemu-1.4.1_pre20091009.ebuild b/app-emulation/dosemu/dosemu-1.4.1_pre20091009.ebuild
28 deleted file mode 100644
29 index 39b9815..00000000
30 --- a/app-emulation/dosemu/dosemu-1.4.1_pre20091009.ebuild
31 +++ /dev/null
32 @@ -1,65 +0,0 @@
33 -# Copyright 1999-2016 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -# $Id$
36 -
37 -inherit autotools eutils flag-o-matic
38 -
39 -P_FD="dosemu-freedos-1.0-bin"
40 -DESCRIPTION="DOS Emulator"
41 -HOMEPAGE="http://www.dosemu.org/"
42 -SRC_URI="mirror://sourceforge/dosemu/${P_FD}.tgz
43 - mirror://gentoo/${P}.tar.bz2"
44 -
45 -LICENSE="GPL-2"
46 -SLOT="0"
47 -KEYWORDS="-* amd64 x86"
48 -IUSE="X svga gpm debug alsa sndfile"
49 -
50 -RDEPEND="X? ( x11-libs/libXxf86vm
51 - x11-libs/libXau
52 - x11-libs/libXdmcp
53 - x11-apps/xset
54 - x11-apps/xlsfonts
55 - x11-apps/bdftopcf
56 - x11-apps/mkfontdir )
57 - svga? ( media-libs/svgalib )
58 - gpm? ( sys-libs/gpm )
59 - alsa? ( media-libs/alsa-lib )
60 - sndfile? ( media-libs/libsndfile )
61 - >=sys-libs/slang-1.4"
62 -
63 -DEPEND="${RDEPEND}
64 - X? ( x11-proto/xf86dgaproto )
65 - >=sys-devel/autoconf-2.57"
66 -S="${WORKDIR}/${PN}"
67 -
68 -src_compile() {
69 - epatch "${FILESDIR}"/${P}-flex.patch #437074
70 - epatch "${FILESDIR}"/${P}-dash.patch
71 - epatch "${FILESDIR}"/${P}-fix-glibc.patch #597880
72 -
73 - eautoreconf
74 -
75 - # Has problems with -O3 on some systems
76 - replace-flags -O[3-9] -O2
77 -
78 - unset KERNEL
79 -
80 - econf `use_with X x` \
81 - `use_enable svga svgalib` \
82 - `use_enable debug` \
83 - `use_with gpm` \
84 - `use_with alsa` \
85 - `use_with sndfile` \
86 - --with-fdtarball="${DISTDIR}"/${P_FD}.tgz \
87 - --sysconfdir=/etc/dosemu/ \
88 - --with-docdir=/usr/share/doc/${PF} || die
89 -
90 - emake || die
91 -}
92 -
93 -src_install() {
94 - emake DESTDIR="${D}" install || die
95 - # Don't remove COPYING, see bug #137286
96 - dodoc BUGS ChangeLog COPYING NEWS README THANKS || die #nowarn
97 -}
98
99 diff --git a/app-emulation/dosemu/files/dosemu-1.4.1_pre20091009-fix-glibc.patch b/app-emulation/dosemu/files/dosemu-1.4.1_pre20091009-fix-glibc.patch
100 deleted file mode 100644
101 index 62a4319..00000000
102 --- a/app-emulation/dosemu/files/dosemu-1.4.1_pre20091009-fix-glibc.patch
103 +++ /dev/null
104 @@ -1,35 +0,0 @@
105 -The patch is a subset of
106 -
107 - commit b028d3fd33b004ac61583927884a64577e2d64c3
108 - Author: Bart Oldeman <bartoldeman@×××××××××××××××××.net>
109 - Date: Sun Dec 23 22:08:11 2012 -0500
110 -
111 -to fix glibc detection for
112 -Bug: https://bugs.gentoo.org/597880
113 -diff --git a/configure.ac b/configure.ac
114 -index 70bc154..b8da5e2 100644
115 ---- a/configure.ac
116 -+++ b/configure.ac
117 -@@ -644,19 +640,9 @@ if test "$GCC" = "yes" ; then
118 - fi
119 -
120 - AC_MSG_CHECKING(for glibc...)
121 -- set `printf '%b\n' '#include <features.h>\nXXAaZZ __GLIBC__ XXBbZZ __GLIBC_MINOR__'|${CC-cc} -E -|awk '/XXAaZZ/ {print $2 " " $4}'`
122 -- major=$1; minor=$2
123 -- if test "$major" = "__GLIBC__"; then
124 -- AC_MSG_ERROR([Sorry, you need glibc-2.1.3 or newer.])
125 -- else
126 -- if test "$minor" = "__GLIBC_MINOR__"; then
127 -- minor=0;
128 -- fi
129 -- GLIBC_VERSION_CODE=$((($major * 1000) + $minor))
130 -- AC_MSG_RESULT([yes, version code $GLIBC_VERSION_CODE])
131 -- if test $GLIBC_VERSION_CODE -lt 2001; then
132 -- AC_MSG_ERROR([Sorry, you need glibc-2.1.3 or newer.])
133 -- fi
134 -+ set `printf '%b\n' '#include <features.h>\nXXAaZZ __GLIBC__'|${CC-cc} -E -|awk '/XXAaZZ/ {print $2}'`
135 -+ if test "$1" = "__GLIBC__"; then
136 -+ AC_MSG_ERROR([Sorry, you need glibc.])
137 - fi
138 - fi
139 -
140
141 diff --git a/app-emulation/dosemu/files/dosemu-1.4.1_pre20091009-flex.patch b/app-emulation/dosemu/files/dosemu-1.4.1_pre20091009-flex.patch
142 deleted file mode 100644
143 index 7e8e291..00000000
144 --- a/app-emulation/dosemu/files/dosemu-1.4.1_pre20091009-flex.patch
145 +++ /dev/null
146 @@ -1,45 +0,0 @@
147 -Gentoo-bug: http://bugs.gentoo.org/437074
148 -
149 -commit 81232816b90e85488d7f11f96b8fcdc5f4988c93
150 -Author: Stas Sergeev <stsp@×××××××××××××××××.net>
151 -Date: Sun Oct 14 19:51:09 2012 +0400
152 -
153 - remove prototypes for lex-generated functions
154 -
155 -diff --git a/src/base/init/lexer.h b/src/base/init/lexer.h
156 -index 65b3ab8..082f08c 100644
157 ---- a/src/base/init/lexer.h
158 -+++ b/src/base/init/lexer.h
159 -@@ -1,4 +1,4 @@
160 --/*
161 -+/*
162 - * (C) Copyright 1992, ..., 2007 the "DOSEMU-Development-Team".
163 - *
164 - * for details see file COPYING.DOSEMU in the DOSEMU distribution
165 -@@ -6,7 +6,9 @@
166 -
167 - /*
168 - * We are intercepting the yylex() function calls from the parser
169 -- */
170 -+ */
171 -+#ifndef LEXER_H
172 -+#define LEXER_H
173 - #define OUR_YY_DECL int yylex (YYSTYPE* yylval)
174 - OUR_YY_DECL;
175 -
176 -@@ -27,14 +29,4 @@ extern int include_lines[];
177 - extern int line_count;
178 - extern int last_include;
179 -
180 --extern int yyget_lineno(void);
181 --extern void yyset_lineno(int line_number);
182 --extern void yyset_out(FILE * out_str);
183 --extern void yyset_in(FILE * out_str);
184 --extern void yyset_debug(int bdebug );
185 --extern int yyget_debug(void);
186 --extern int yylex_destroy(void);
187 --extern FILE* yyget_in(void);
188 --extern FILE* yyget_out(void);
189 --extern int yyget_leng(void);
190 --extern char *yyget_text(void);
191 -+#endif