summaryrefslogtreecommitdiff
path: root/community/thttpd/discreet.patch
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-07-09 21:04:53 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-07-09 21:04:53 -0300
commitfd5ff7e53a5b8dbabc85ab6e2ff1342b85e155b1 (patch)
treed2b16d75c64d947545149f37bda7cdb8873a4770 /community/thttpd/discreet.patch
parent7823c9009a845174746fd0da09af46a138481851 (diff)
parent10aa61ef39e662453e1d817046e359372fe3b326 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/aspell-pl/PKGBUILD community/gloox/PKGBUILD community/libircclient/PKGBUILD community/mashup/PKGBUILD community/omniorb/PKGBUILD community/openbox/PKGBUILD community/patchutils/PKGBUILD community/rxvt-unicode/PKGBUILD extra/mesa/PKGBUILD extra/pygobject2/PKGBUILD extra/qt5/PKGBUILD extra/samba/PKGBUILD extra/tdb/PKGBUILD extra/transmission/PKGBUILD extra/vim/PKGBUILD pcr/python-sfml2/PKGBUILD pcr/python2-sfml2/PKGBUILD
Diffstat (limited to 'community/thttpd/discreet.patch')
-rw-r--r--community/thttpd/discreet.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/community/thttpd/discreet.patch b/community/thttpd/discreet.patch
new file mode 100644
index 000000000..b427ecc2c
--- /dev/null
+++ b/community/thttpd/discreet.patch
@@ -0,0 +1,34 @@
+diff -Naur old/libhttpd.c new/libhttpd.c
+--- old/libhttpd.c 2012-04-27 14:24:50.971711600 +0200
++++ new/libhttpd.c 2012-04-27 14:33:24.559135581 +0200
+@@ -744,7 +744,7 @@
+ (void) my_snprintf( buf, sizeof(buf), "\
+ <HTML>\n\
+ <HEAD><TITLE>%d %s</TITLE></HEAD>\n\
+-<BODY BGCOLOR=\"#cc9999\" TEXT=\"#000000\" LINK=\"#2020ff\" VLINK=\"#4040cc\">\n\
++<BODY>\n\
+ <H2>%d %s</H2>\n",
+ status, title, status, title );
+ add_response( hc, buf );
+@@ -769,11 +769,8 @@
+ char buf[1000];
+
+ (void) my_snprintf( buf, sizeof(buf), "\
+-<HR>\n\
+-<ADDRESS><A HREF=\"%s\">%s</A></ADDRESS>\n\
+ </BODY>\n\
+-</HTML>\n",
+- SERVER_ADDRESS, EXPOSED_SERVER_SOFTWARE );
++</HTML>\n" );
+ add_response( hc, buf );
+ }
+
+@@ -2766,7 +2763,7 @@
+ (void) fprintf( fp, "\
+ <HTML>\n\
+ <HEAD><TITLE>Index of %.80s</TITLE></HEAD>\n\
+-<BODY BGCOLOR=\"#99cc99\" TEXT=\"#000000\" LINK=\"#2020ff\" VLINK=\"#4040cc\">\n\
++<BODY>\n\
+ <H2>Index of %.80s</H2>\n\
+ <PRE>\n\
+ mode links bytes last-changed name\n\