diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-04-12 03:41:30 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-04-12 03:41:30 +0100 |
commit | 623ee73d661e5ed8475cb264511f683407d87365 (patch) | |
tree | 993eb27c93ec7a2d2d19550300d888fc1fed9e69 /x11-misc/xscreensaver | |
parent | ceeeb463cc1eef97fd62eaee8bf2196ba04bc384 (diff) |
gentoo Easter resync : 12.04.2020
Diffstat (limited to 'x11-misc/xscreensaver')
-rw-r--r-- | x11-misc/xscreensaver/Manifest | 12 | ||||
-rw-r--r-- | x11-misc/xscreensaver/files/xscreensaver-5.41-comments.patch | 14 | ||||
-rw-r--r-- | x11-misc/xscreensaver/files/xscreensaver-5.44-blurb-hndl-test-passwd.patch | 10 | ||||
-rw-r--r-- | x11-misc/xscreensaver/files/xscreensaver-5.44-gentoo.patch | 47 | ||||
-rw-r--r-- | x11-misc/xscreensaver/xscreensaver-5.38.ebuild | 2 | ||||
-rw-r--r-- | x11-misc/xscreensaver/xscreensaver-5.42.ebuild | 142 | ||||
-rw-r--r-- | x11-misc/xscreensaver/xscreensaver-5.43-r2.ebuild | 2 | ||||
-rw-r--r-- | x11-misc/xscreensaver/xscreensaver-5.44-r1.ebuild (renamed from x11-misc/xscreensaver/xscreensaver-5.43-r1.ebuild) | 22 |
8 files changed, 80 insertions, 171 deletions
diff --git a/x11-misc/xscreensaver/Manifest b/x11-misc/xscreensaver/Manifest index 71a94da5f292..9ee478003b22 100644 --- a/x11-misc/xscreensaver/Manifest +++ b/x11-misc/xscreensaver/Manifest @@ -6,14 +6,14 @@ AUX xscreensaver-5.28-comment-style.patch 698 BLAKE2B da9a224ae0b657c8868fef24ad AUX xscreensaver-5.31-pragma.patch 442 BLAKE2B 375199197c7e3eaf5028099f0fc8b754b7e5dca4911a76de46372751c82a060ae9c0ee5ed35d1efb33f02d6ffbfbd5903ba5f823e1db5ba9d2762a8841cefacf SHA512 9aecda422bc0f22bab5eb0de22f1c861b9ed1a2ff4fff2327bec134fafc5e3116156d80a70e81b67e9ce7ce05eb6f842614b2e939cb91a618dd0b10e1d443557 AUX xscreensaver-5.35-gentoo.patch 1328 BLAKE2B 406f9c9d318ad3de6d5b098f54b2586971240f513b6d5dba12bb2862693a548dc550d9c812fa570a68aaa652d6287bb48818512ededfc621edbb4be384312d60 SHA512 ac7b953a353f75821cb15a81b6dec224fe16601df9a9a00f90831d55ac8a69074ec86fa16967ac40e0583bdabc3b7aa2576acf3879942f274296a36997918b2f AUX xscreensaver-5.35-offensive.patch 1678 BLAKE2B 6479ad1d5f081d3ae0ab7e9f08edf2656ac63bb77ec1c21885e0dc8f213580669d8021ff2de76556e7be00bfee78f9c6adf410b50e57d404637fff83c42437bc SHA512 fbc7a4f8e296e1249c2e0454978e48ea82a7b99f2467e2f46ff65e3294f5d8b4a5e366c3b6c9bc37b7f0aca92fa6d59d7492b6310d48c0b3240953f77821408a -AUX xscreensaver-5.41-comments.patch 462 BLAKE2B 6df2d5573bd3a1c44582116f3653c7c0f2ea3738e94695dd3a680a5e0333c490c9a308554ae370e6565d766768e87a49a28d0c7cefbf7e69c8e32a4a1f4dba82 SHA512 672ee1c9d455883215bbf09bc5ebb7c38efa132419a27352d0b6b570e94f193e374524e6a4e5a75f8bb178cccd1d72442b7adf5866a0c2dc389704f123f8f931 AUX xscreensaver-5.43-gentoo.patch 1340 BLAKE2B 177631b961b97d339149fd969d68ebbab5bd6444aea4f1379c199efbcbe5924106890578a5210bae5c55249ea1883af437e7edebb32fbccd35022acc3d7c29de SHA512 53ec2d02e20139389f832750ecee92e634ec8ecea5bfd5ef27a58ab0e6f3cbde299263bd92006581a4076f4b0721c036c1ac28cac50b1a2bf47c24df08347d04 AUX xscreensaver-5.43-offensive.patch 1799 BLAKE2B f85d26a07ba2712855567a0779eaff7dba7e9a7350f320f78db5b1280890925cd82694ec3fa9c47c173ada2a1979a21b707dacb05c46c8721516687d52fcc8b7 SHA512 041105a4c96a197506c596d4793f7200f52e496f13d41209daa7eb05d5433280ede45411ee3f60679a1030c1edc4009383d6d50a97dff1af7e65a63a217b25d3 +AUX xscreensaver-5.44-blurb-hndl-test-passwd.patch 247 BLAKE2B fb88708de900b90fdb846608cc0a08706c339792e10099e7873aef00b7c66a408dba71489d0938b59e619345c739e4f6a35a9c97b1ae83cfa040035df3499434 SHA512 bd7f0e3f670e99ad1297306c88e30ac9cc381adf2a54cfd52192c1f562293ebdfcf3e956990cd2f3d877a2ca0d2f5b13332de726304ef93510c5bd08ae39a819 +AUX xscreensaver-5.44-gentoo.patch 1368 BLAKE2B d74cbe8effe8feb4c682f8df537a2a1897defa31c0838bfb34967642ab2e66e8058b3306c98e360e3c5f81ff4649b759d5386e6e2613c59fb945f439c3b0cc02 SHA512 bba16c093a2a16e57e3bbe77ed7a54201e7e9e1c9a3c5a65065f275a4faa6898327865b62a56be0c538dabde1fb4571ccfd567035911b85688f31ac1cba128b1 DIST xscreensaver-5.38.tar.gz 10712548 BLAKE2B 02630aa7daa3faf8aa7ff453218bed5e3db287b7c4d9b564a6d8822db8b2e1ae6be7843342d585f2d2900d2bd0e7fd2a12d49748d81bf10818fa5bc4254f6ef8 SHA512 9014571505afd3a116f541334ea37737659f63f4cbb267a56be451e2c353d9e57218119670a44297d36d140672ea423d0682433401b17749138ab6baf6507561 -DIST xscreensaver-5.42.tar.gz 26903469 BLAKE2B a82716a3f1f19f85eb1bc7a8ba1981221ac2ad47c1411687f1043da7e50edada73ab9c7465d655546f8a9015db69ab4f35ef8ff2a0b3d79f5a59d3e02aa2f819 SHA512 84cde9364c933de720acd51a0bf75eb4d0642d60f62b92de89d932233eb5abb51e1edb53cd413b2dc4801a02cb68652a28d7d1f83cdaa8d8cdd1fee7d651eefd DIST xscreensaver-5.43-r1.tar.gz 26973508 BLAKE2B 67b57214e8a41ba895df6e9efcac3e712f24be06ee7914b38d3a8e639d4945c927c4ac28469d2180bc4a3999a4b89d2a60e633799ac5204c42fa17ad76dd21fc SHA512 7ccaf30fb05ae2110f742f1a5c99f83cd4c8e6749124066b5a418cf3e0ba1b8ff09858eeec29c11b0c8ea428b95b2916481c50cee6a5d952ec941b3ad1b6adcd -EBUILD xscreensaver-5.38.ebuild 3409 BLAKE2B d9ce98672b029191da8b8b2ae6c160a8061c923b49dc85a0869009a0cbdcac98be3a0ed0b22cdd9ff7625a36d2b55e4e347d63be556e939e61da925cbb2049c3 SHA512 7dc0a26b82a3a3eda05af891c6331f5061ccfcdd0d63a504bf2e12c6444ae28eaf8eab8c0e98f8f4a477eba3bc4729721075b566ec0f31c1b13d17a33fe5d66f -EBUILD xscreensaver-5.42.ebuild 3409 BLAKE2B f981f0ebb8ed327d7783fce5bfb46445d1de903aa03cae8104f8372cb8b3e08a72e45cc7d12db982eaaeab21fa6586cfc19f0688418599e1bcb376c169b6a2f1 SHA512 9e4cdd4b3601f92538b9dc8dfd205a969e98785e28f3a1130aac3629f46d0bca89ca58e5ec90f03e9bdad5386c79d9a7518cdcec41b11c9ec866d1da4b8ebac5 -EBUILD xscreensaver-5.43-r1.ebuild 3450 BLAKE2B b35d4a58423150912b6f7c693f80dba8c6024aa748cdc1d44710574b6c059ffb2037d6fe42a775d2afeaeaf783ed3188d521745e93fc713317f817473ad9c9eb SHA512 be9657046e52771c1f96e9ffe7e0605beda49dce8b6d698568c093b33edf3cb09c0015884be17aa404524c47978773e373222b4da87779b1046624fff662f9d8 -EBUILD xscreensaver-5.43-r2.ebuild 3452 BLAKE2B 3c321b7d8261661aa4d9fbfa18ac3d57c036a0c3f061edb6c3ad5e3e73d1836db4b11fb2a638531b77fb943783bc7ea6c5b8440f87119bb8eddcc7002c4edca7 SHA512 54a025370004e9690a539f8cccf746269037470108e84dce52fe64f2f023f25b3ed1ea2fb43c2aba77590943ed035f3cf41de078b70e247aaa9db60081ea582d +DIST xscreensaver-5.44.tar.gz 27001826 BLAKE2B 102025aa2f57672ed3547f0e9bab989566fb8e50ecae8b9e4078ec5ee5de3cad09fec107695335ef236ad9fe19b2638978366a180a998d77b0ce8a2a5d1ebde3 SHA512 9d9144dec6f075c2d6a1c3cd45123a98d6d0cd732d6c3e3389e97b3f802b8f8765a188d1e35f97f123ca0a64661ea616b7b710577063c311da3d99d8439f1dae +EBUILD xscreensaver-5.38.ebuild 3406 BLAKE2B d29eb0895c856865d735036c064fec9a920a9dc0253cffb9ccd07bafad75b06f341bfdc2902062c0e7935c2158d60c9400c5dcde748080ee59d4aa8049bd073c SHA512 9e87ee8b23a113934dc061cb5e6dac0d2c2536bbae0e93530a23ff6fc29fb161165cbee59f002433c894cd6d7c92ce49577b6358c0c7246b4014cff47cc955dd +EBUILD xscreensaver-5.43-r2.ebuild 3448 BLAKE2B 953d1dfd697904e3d8c137099398fac3998c3f22ac185a0ccebf7b59c03f341a8807b2ec7d4aa4441b5c5c5d5642ad852205cb5e4a317af72ce03f9becbca827 SHA512 9b900c2ed638ddaa42fd368832e9aa7fe6d516515cd83988ee0f6104919d33355cd78f6c24b7b8e35523620db889cff50100893fb38f33727ca3e9aaea197484 +EBUILD xscreensaver-5.44-r1.ebuild 3594 BLAKE2B 95ceb762c631c6150e92b5d412b24affc64a4ea2383a014d9b8c014a89fe013720e340948929a4bc6e35654d9168a777538cd50196ba3333e5194a3abf49f151 SHA512 5c0026dd8121c7b8dfac7b21809bb7baa293e3859e9c43cba969787828cd1357413a37402972608934a731b47082e954f1dfd08c5802d304c95b5e55eeee8e44 MISC metadata.xml 660 BLAKE2B f720a7df804148568927cc909ec46013c8de0087f2ab5751bd3852cf310161c328d43f29db22105e46b4c142db3e84fa5a2c943bae63779156bfe569726bf12b SHA512 ecc2b0423bd77d7713db654875f5d112c90c278653248298c877a84104db40430fcdaffaac2cbb972bb6ae6ce970b498d4d086278ba85c519dedeb3586bcd41b diff --git a/x11-misc/xscreensaver/files/xscreensaver-5.41-comments.patch b/x11-misc/xscreensaver/files/xscreensaver-5.41-comments.patch deleted file mode 100644 index 8cef848ac7bf..000000000000 --- a/x11-misc/xscreensaver/files/xscreensaver-5.41-comments.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- a/hacks/fontglide.c -+++ b/hacks/fontglide.c -@@ -2421,8 +2421,9 @@ - - textclient_close (s->tc); - --// if (s->b && s->b != s->window) XFreePixmap (dpy, s->b); --// if (s->ba && s->ba != s->b) XFreePixmap (dpy, s->ba); -+/* if (s->b && s->b != s->window) XFreePixmap (dpy, s->b); -+/ if (s->ba && s->ba != s->b) XFreePixmap (dpy, s->ba); -+*/ - XFreeGC (dpy, s->bg_gc); - if (s->charset) free (s->charset); - if (s->font_override) free (s->font_override); diff --git a/x11-misc/xscreensaver/files/xscreensaver-5.44-blurb-hndl-test-passwd.patch b/x11-misc/xscreensaver/files/xscreensaver-5.44-blurb-hndl-test-passwd.patch new file mode 100644 index 000000000000..cf95cf105b01 --- /dev/null +++ b/x11-misc/xscreensaver/files/xscreensaver-5.44-blurb-hndl-test-passwd.patch @@ -0,0 +1,10 @@ +--- a/driver/test-passwd.c ++++ b/driver/test-passwd.c +@@ -69,6 +69,7 @@ + char *timestring (time_t when) { return ""; } + + const char *blurb(void) { return progname; } ++Bool in_signal_handler_p = 0; + Atom XA_SCREENSAVER, XA_DEMO, XA_PREFS; + + void diff --git a/x11-misc/xscreensaver/files/xscreensaver-5.44-gentoo.patch b/x11-misc/xscreensaver/files/xscreensaver-5.44-gentoo.patch new file mode 100644 index 000000000000..279a19cf6386 --- /dev/null +++ b/x11-misc/xscreensaver/files/xscreensaver-5.44-gentoo.patch @@ -0,0 +1,47 @@ +--- a/driver/XScreenSaver.ad.in ++++ b/driver/XScreenSaver.ad.in +@@ -31,21 +31,21 @@ + *mode: random + *timeout: 0:10:00 + *cycle: 0:10:00 +-*lockTimeout: 0:00:00 ++*lockTimeout: 0:30:00 + *passwdTimeout: 0:00:30 +-*dpmsEnabled: False ++*dpmsEnabled: True + *dpmsQuickoffEnabled: False + *dpmsStandby: 2:00:00 + *dpmsSuspend: 2:00:00 + *dpmsOff: 4:00:00 +-*grabDesktopImages: True ++*grabDesktopImages: False + *grabVideoFrames: False + *chooseRandomImages: @DEFAULT_IMAGES_P@ + ! This can be a local directory name, or the URL of an RSS or Atom feed. + *imageDirectory: @DEFAULT_IMAGE_DIRECTORY@ + *nice: 10 + *memoryLimit: 0 +-*lock: False ++*lock: True + *verbose: False + *timestamp: True + *fade: True +@@ -63,7 +63,7 @@ + *textLiteral: XScreenSaver + *textFile: @DEFAULT_TEXT_FILE@ + *textProgram: fortune +-*textURL: https://en.wikipedia.org/w/index.php?title=Special:NewPages&feed=rss ++*textURL: https://planet.gentoo.org/rss20.xml + + ! When a saver writes an error message to stdout/stderr, it can be printed + ! on the screen. +@@ -124,7 +124,8 @@ + + ! The format used for printing the date and time in the password dialog box + ! (see the strftime(3) manual page for details.) +-*dateFormat: %d-%b-%y (%a); %I:%M %p ++!*dateFormat: %d-%b-%y (%a); %I:%M %p ++*dateFormat: %x %X + ! For day month date: + ! *dateFormat: %a %b %d, %I:%M %p + ! To show the time only: diff --git a/x11-misc/xscreensaver/xscreensaver-5.38.ebuild b/x11-misc/xscreensaver/xscreensaver-5.38.ebuild index 6ebfe87bb887..655aea06e054 100644 --- a/x11-misc/xscreensaver/xscreensaver-5.38.ebuild +++ b/x11-misc/xscreensaver/xscreensaver-5.38.ebuild @@ -12,7 +12,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris" IUSE="gdm jpeg new-login offensive opengl pam +perl selinux suid xinerama" COMMON_DEPEND=" diff --git a/x11-misc/xscreensaver/xscreensaver-5.42.ebuild b/x11-misc/xscreensaver/xscreensaver-5.42.ebuild deleted file mode 100644 index 97cd9a819442..000000000000 --- a/x11-misc/xscreensaver/xscreensaver-5.42.ebuild +++ /dev/null @@ -1,142 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit autotools desktop eutils flag-o-matic multilib pam - -DESCRIPTION="A modular screen saver and locker for the X Window System" -HOMEPAGE="https://www.jwz.org/xscreensaver/" -SRC_URI=" - https://www.jwz.org/xscreensaver/${P}.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris" -IUSE="gdm jpeg new-login offensive opengl pam +perl selinux suid xinerama" - -COMMON_DEPEND=" - >=gnome-base/libglade-2 - dev-libs/libxml2 - media-libs/netpbm - x11-apps/appres - x11-apps/xwininfo - x11-libs/gdk-pixbuf:2[X] - x11-libs/gtk+:2 - x11-libs/libX11 - x11-libs/libXext - x11-libs/libXft - x11-libs/libXi - x11-libs/libXmu - x11-libs/libXrandr - x11-libs/libXt - x11-libs/libXxf86misc - x11-libs/libXxf86vm - jpeg? ( virtual/jpeg:0 ) - new-login? ( - gdm? ( gnome-base/gdm ) - !gdm? ( || ( x11-misc/lightdm lxde-base/lxdm ) ) - ) - opengl? ( - virtual/glu - virtual/opengl - ) - pam? ( sys-libs/pam ) - xinerama? ( x11-libs/libXinerama ) -" -# For USE="perl" see output of `qlist xscreensaver | grep bin | xargs grep '::'` -RDEPEND=" - ${COMMON_DEPEND} - perl? ( - dev-lang/perl - dev-perl/libwww-perl - virtual/perl-Digest-MD5 - ) - selinux? ( sec-policy/selinux-xscreensaver ) -" -DEPEND=" - ${COMMON_DEPEND} - dev-util/intltool - sys-devel/bc - sys-devel/gettext - virtual/pkgconfig - x11-base/xorg-proto -" -PATCHES=( - "${FILESDIR}"/${PN}-5.05-interix.patch - "${FILESDIR}"/${PN}-5.20-blurb-hndl-test-passwd.patch - "${FILESDIR}"/${PN}-5.20-test-passwd-segv-tty.patch - "${FILESDIR}"/${PN}-5.20-tests-miscfix.patch - "${FILESDIR}"/${PN}-5.31-pragma.patch - "${FILESDIR}"/${PN}-5.35-gentoo.patch - "${FILESDIR}"/${PN}-5.41-comments.patch -) - -src_prepare() { - sed -i configure.in -e '/^ALL_LINGUAS=/d' || die - strip-linguas -i po/ - export ALL_LINGUAS="${LINGUAS}" - - if use new-login && ! use gdm; then #392967 - sed -i \ - -e "/default_l.*1/s:gdmflexiserver -ls:${EPREFIX}/usr/libexec/lightdm/&:" \ - configure{,.in} || die - fi - - default - - use offensive || eapply "${FILESDIR}"/${PN}-5.35-offensive.patch - - eapply_user - - eautoconf - eautoheader -} - -src_configure() { - if use ppc || use ppc64; then - filter-flags -maltivec -mabi=altivec - append-flags -U__VEC__ - fi - - unset BC_ENV_ARGS #24568 - export RPM_PACKAGE_VERSION=no #368025 - - econf \ - $(use_with jpeg) \ - $(use_with new-login login-manager) \ - $(use_with opengl gl) \ - $(use_with pam) \ - $(use_with suid setuid-hacks) \ - $(use_with xinerama xinerama-ext) \ - --enable-locking \ - --with-configdir="${EPREFIX}"/usr/share/${PN}/config \ - --with-dpms-ext \ - --with-gtk \ - --with-hackdir="${EPREFIX}"/usr/$(get_libdir)/misc/${PN} \ - --with-pixbuf \ - --with-proc-interrupts \ - --with-randr-ext \ - --with-text-file="${EPREFIX}"/etc/gentoo-release \ - --with-x-app-defaults="${EPREFIX}"/usr/share/X11/app-defaults \ - --with-xdbe-ext \ - --with-xf86gamma-ext \ - --with-xf86vmode-ext \ - --with-xinput-ext \ - --with-xshm-ext \ - --without-gle \ - --without-kerberos \ - --x-includes="${EPREFIX}"/usr/include \ - --x-libraries="${EPREFIX}"/usr/$(get_libdir) -} - -src_install() { - emake install_prefix="${D}" install - - dodoc README{,.hacking} - - use pam && fperms 755 /usr/bin/${PN} - pamd_mimic_system ${PN} auth - - rm -f "${ED}"/usr/share/${PN}/config/{electricsheep,fireflies}.xml -} diff --git a/x11-misc/xscreensaver/xscreensaver-5.43-r2.ebuild b/x11-misc/xscreensaver/xscreensaver-5.43-r2.ebuild index d95ba78bc02c..3f0ba54893e3 100644 --- a/x11-misc/xscreensaver/xscreensaver-5.43-r2.ebuild +++ b/x11-misc/xscreensaver/xscreensaver-5.43-r2.ebuild @@ -12,7 +12,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris" IUSE="caps gdm jpeg new-login offensive opengl pam +perl selinux suid xinerama" COMMON_DEPEND=" diff --git a/x11-misc/xscreensaver/xscreensaver-5.43-r1.ebuild b/x11-misc/xscreensaver/xscreensaver-5.44-r1.ebuild index 135973789838..94909200656d 100644 --- a/x11-misc/xscreensaver/xscreensaver-5.43-r1.ebuild +++ b/x11-misc/xscreensaver/xscreensaver-5.44-r1.ebuild @@ -7,12 +7,12 @@ inherit autotools desktop eutils flag-o-matic multilib pam DESCRIPTION="A modular screen saver and locker for the X Window System" HOMEPAGE="https://www.jwz.org/xscreensaver/" SRC_URI=" - https://www.jwz.org/xscreensaver/${P}.tar.gz -> ${PF}.tar.gz + https://www.jwz.org/xscreensaver/${P}.tar.gz " LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris" IUSE="caps gdm jpeg new-login offensive opengl pam +perl selinux suid xinerama" COMMON_DEPEND=" @@ -65,11 +65,9 @@ DEPEND=" " PATCHES=( "${FILESDIR}"/${PN}-5.05-interix.patch - "${FILESDIR}"/${PN}-5.20-blurb-hndl-test-passwd.patch - "${FILESDIR}"/${PN}-5.20-test-passwd-segv-tty.patch - "${FILESDIR}"/${PN}-5.20-tests-miscfix.patch "${FILESDIR}"/${PN}-5.31-pragma.patch - "${FILESDIR}"/${PN}-5.43-gentoo.patch + "${FILESDIR}"/${PN}-5.44-blurb-hndl-test-passwd.patch + "${FILESDIR}"/${PN}-5.44-gentoo.patch ) src_prepare() { @@ -85,7 +83,17 @@ src_prepare() { default - use offensive || eapply "${FILESDIR}"/${PN}-5.35-offensive.patch + if ! use offensive; then + sed -i \ + -e '/boobies/d;/boobs/d;/cock/d;/pussy/d;/viagra/d;/vibrator/d' \ + hacks/barcode.c || die + sed -i \ + -e 's|erect penis|shuffle board|g' \ + -e 's|flaccid penis|flaccid anchor|g' \ + -e 's|vagina|engagement ring|g' \ + -e 's|Penis|Shuttle|g' \ + hacks/glx/glsnake.c || break + fi eapply_user |