--- /dev/null
+Three of these are not like the others
+
+--- a/include/dconf_vars.h
++++ b/include/dconf_vars.h
+@@ -42,9 +42,9 @@
+ E char* DNSBLZoneMsg;
+
+ /* PT */
+-char *PT_Nick;
+-char *PT_Mask;
+-char *PT_Info;
++E char *PT_Nick;
++E char *PT_Mask;
++E char *PT_Info;
+ #undef E
+
+ #endif /* conf_vars_h_ */
--- /dev/null
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit user
+
+MY_P="PTlink.OPM${PV}"
+
+DESCRIPTION="PTlink Open Proxy Monitor"
+HOMEPAGE="http://www.ptlink.net/"
+SRC_URI="ftp://ftp.sunsite.dk/projects/ptlink/ptopm/${MY_P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~ppc ~x86"
+
+DEPEND=">=sys-apps/sed-4"
+
+S=${WORKDIR}/${MY_P}
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.3.1-fno-common.patch
+)
+
+src_configure() {
+ econf \
+ --sysconfdir=/etc/ptlink-opm \
+ --localstatedir=/var/lib/ptlink-opm
+}
+
+src_install() {
+ newbin src/ptopm ptlink-opm
+
+ insinto /etc/ptlink-opm
+ newins samples/ptopm.dconf.sample ptopm.dconf
+ doins samples/scan_rules.dconf
+
+ keepdir /var/{lib,log}/ptlink-opm
+ dosym ../../log/ptlink-opm /var/lib/ptlink-opm/log
+
+ dodoc CHANGES README
+
+ newinitd "${FILESDIR}"/ptlink-opm.init.d ptlink-opm
+ newconfd "${FILESDIR}"/ptlink-opm.conf.d ptlink-opm
+}
+
+pkg_postinst() {
+ enewuser ptlink-opm
+ chown ptlink-opm "${ROOT}"/var/{log,lib}/ptlink-opm
+}