# Masked for removal in 30 days. Bug #520890.
x11-misc/xrmap
-# Michael Palimaka <kensington@gentoo.org> (22 Feb 2017)
-# Doesn't work. Dead upstream. Unmaintained.
-# Masked for removal on 30 days. Bug #609754.
-x11-misc/bbappconf
-
# Andreas K. Hüttel <dilfridge@gentoo.org> (19 Feb 2017)
# Dead upstream for >3 years. Closed source. Bundles outdated
# libraries that certainly have known security issues (e.g.,
+++ /dev/null
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-
-inherit autotools eutils
-
-DESCRIPTION="utility that allows you to specify window properties in blackbox"
-HOMEPAGE="https://sourceforge.net/projects/bbtools"
-SRC_URI="mirror://sourceforge/bbtools/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ppc sparc x86 ~x86-fbsd"
-IUSE="debug"
-
-DOCS=( AUTHORS BUGS ChangeLog NEWS README TODO data/README.bbappconf )
-
-RDEPEND="x11-libs/libX11"
-DEPEND="${RDEPEND}"
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-fix-sigsegv.diff \
- "${FILESDIR}"/${P}-asneeded.patch \
- "${FILESDIR}"/${P}-docs.patch
- eautoreconf
-}
-
-src_configure() {
- econf $(use_enable debug)
-}
+++ /dev/null
-Fixing build with --as-needed
-
-https://bugs.gentoo.org/show_bug.cgi?id=248548
-
---- configure.in
-+++ configure.in
-@@ -5,38 +5,25 @@
-
- AC_PREFIX_DEFAULT(/usr/local)
-
--
--
- AC_CHECK_PROGS(regex_cmd, sed)
- if test x$regex_cmd = "x"; then
- AC_MSG_ERROR([error. sed is required to build the default bbtoolsrc file.])
- fi
-
--
--dnl get the debug values right
--AC_DEFUN(AC_SET_DEBUG,
--[
-- test "$CFLAGS" = "" && CFLAGS="-g -Wall -DDEBUG"
-- test "$CXXFLAGS" = "" && CXXFLAGS="-g -Wall -DDEBUG"
-- test "$LDFLAGS" = "" && LDFLAGS=""
--])
--
--AC_DEFUN(AC_SET_NODEBUG,
--[
-- test "$CFLAGS" = "" && CFLAGS="-O2 -Wall"
-- test "$CXXFLAGS" = "" && CXXFLAGS="-O2 -Wall"
-- test "$LDFLAGS" = "" && LDFLAGS="-s"
--])
--
--
-+dnl Check for debug
-+DEBUG=""
-+AC_MSG_CHECKING([whether to enable debug code])
- AC_ARG_ENABLE(debug,[ --enable-debug create debugging code [default=no]],
--[
--if test $enableval = "no";
-- then AC_SET_NODEBUG
-- else AC_SET_DEBUG
--fi
--],
--AC_SET_NODEBUG)
-+ if test x$enableval = "xyes"; then
-+ AC_MSG_RESULT([yes])
-+ DEBUG="-DDEBUG"
-+ else
-+ AC_MSG_RESULT([no])
-+ fi,
-+ AC_MSG_RESULT([no])
-+ DEBUG=""
-+)
-+AC_SUBST(DEBUG)
-
- dnl Check for Interlacing
- INTERLACE=""
-@@ -69,15 +56,8 @@
- AC_PATH_X
- AC_PATH_XTRA
-
--CFLAGS="$CFLAGS $X_CFLAGS"
--CXXFLAGS="$CXXFLAGS $X_CFLAGS"
--LDFLAGS="$LDFLAGS $X_LIBS $X_PRE_LIBS"
--
- dnl Checks for X libraries.
--AC_CHECK_LIB(X11, XOpenDisplay, LDFLAGS="$LDFLAGS -lX11",
-- AC_MSG_ERROR(XOpenDisplay not found in -lX11))
--
--LDFLAGS="$LDFLAGS $X_EXTRA_LIBS"
-+AC_CHECK_LIB(X11, XOpenDisplay,,AC_MSG_ERROR(XOpenDisplay not found in -lX11))
-
- dnl Checks for header files.
- AC_HEADER_STDC
---- Makefile.am
-+++ Makefile.am
-@@ -1,4 +1,4 @@
--CPPFLAGS = @CPPFLAGS@ @INTERLACE@ \
-+AM_CPPFLAGS = @DEBUG@ @INTERLACE@ \
- -DGLOBAL_BB=\"$(datadir)/bbtools/bbappconf.bb\" \
- -DGLOBAL_NOBB=\"$(datadir)/bbtools/bbappconf.nobb\"
-
-@@ -18,4 +18,4 @@
- NETInterface.cc NETInterface.hh \
- blackboxstyle.hh
- EXTRA_DIST = BUGS TODO
--bbappconf_LDADD = @X_LIBS@
-+bbappconf_LDADD = @X_PRE_LIBS@ @X_LIBS@ @X_EXTRA_LIBS@
+++ /dev/null
-Files bbappconf-0.0.2.orig/.BaseDisplay.cc.swp and bbappconf-0.0.2/.BaseDisplay.cc.swp differ
-Files bbappconf-0.0.2.orig/.resource.cc.swp and bbappconf-0.0.2/.resource.cc.swp differ
-diff -urN bbappconf-0.0.2.orig/resource.cc bbappconf-0.0.2/resource.cc
---- bbappconf-0.0.2.orig/resource.cc 2005-01-19 09:49:19.000000000 -0500
-+++ bbappconf-0.0.2/resource.cc 2005-01-19 10:09:42.530236696 -0500
-@@ -19,10 +19,12 @@
- // (See the included file COPYING / GPL-2.0)
- //
-
-+#include <cstdlib>
- #include "resource.hh"
- #include "blackboxstyle.hh"
-
- Resource::Resource(ToolWindow *toolwindow): BaseResource(toolwindow) {
-+ frame.font = NULL;
- Load();
- }
-