FreeBSD Bugzilla – Attachment 238102 Details for
Bug 267794
www/elinks: Patch out "user torturation" code
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
user toruturization disable patch
www-elinks-Patch-out-user-torturation-code.patch (text/plain), 2.16 KB, created by
Dustin Marquess
on 2022-11-15 20:00:17 UTC
(
hide
)
Description:
user toruturization disable patch
Filename:
MIME Type:
Creator:
Dustin Marquess
Created:
2022-11-15 20:00:17 UTC
Size:
2.16 KB
patch
obsolete
>From: Dustin Marquess <jailbird@fdf.net> >Date: Tue, 15 Nov 2022 13:49:14 -0600 >Subject: [PATCH] www/elinks: Patch out "user torturation" code > >--- > www/elinks/Makefile | 3 ++- > www/elinks/files/patch-src_util_error.c | 29 +++++++++++++++++++++++++ > 2 files changed, 31 insertions(+), 1 deletion(-) > create mode 100644 www/elinks/files/patch-src_util_error.c > >diff --git a/www/elinks/Makefile b/www/elinks/Makefile >index 30b5c821a985..5c1857423a65 100644 >--- a/www/elinks/Makefile >+++ b/www/elinks/Makefile >@@ -1,6 +1,7 @@ > PORTNAME= elinks > DISTVERSIONPREFIX= v > DISTVERSION= 0.15.1 >+PORTREVISION= 1 > CATEGORIES= www > > MAINTAINER= jailbird@fdf.net >@@ -17,7 +18,7 @@ USE_GITHUB= yes > GH_ACCOUNT= rkd77 > > LIBS+= -lexecinfo >-CONIGURE_ENV= PYTHON_PATH="${PYTHON_CMD}" >+CONFIGURE_ENV= PYTHON_PATH="${PYTHON_CMD}" > MESON_ARGS= -Dgpm=false -Dperl=true > > OPTIONS_DEFINE= 256COLORS 88COLORS TRUECOLORS BITTORRENT BROTLI EXMODE \ >diff --git a/www/elinks/files/patch-src_util_error.c b/www/elinks/files/patch-src_util_error.c >new file mode 100644 >index 000000000000..30424736bf20 >--- /dev/null >+++ b/www/elinks/files/patch-src_util_error.c >@@ -0,0 +1,29 @@ >+--- src/util/error.c.orig 2022-07-31 10:16:29 UTC >++++ src/util/error.c >+@@ -301,26 +301,6 @@ dump_backtrace(FILE *f, int trouble) >+ fprintf(f, "[%p] %s\n", stack[i], strings[i]); >+ >+ free(strings); >+- >+-#else >+- /* User torturation. */ >+- /* You are worried about what you see here? You don't see anything in >+- * the first place. Also, be assured that we know what are we doing. */ >+- /* (We are killing the user, obviously.) */ >+- >+- /* TODO: Gettextify? Er, better not. More people (translators) could >+- * find out what are we doing... ;-) --pasky */ >+- /* TODO: Be more cruel when in trouble? ;-) --pasky */ >+- >+- fputs( "Wheeeeeeeeeee! You played with the config.h by hand, didn't you?\n" >+- "Of _COURSE_ you did! Is that how a nice .. creature behaves like?\n" >+- "Of _COURSE_ it isn't! I feel offended and thus I will revenge now!\n" >+- "You will _suffer_ >:).\n" >+- "\n" >+- "CPU burning sequence initiated...\n", f); >+- >+- /* TODO: Include cpuburn.c here. --pasky */ >+- while (1); >+ #endif >+ fflush(f); >+ } >-- >2.38.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
jailbird
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 267794
: 238102