--- hiawatha/Makefile (revision 413917) +++ hiawatha/Makefile (working copy) @@ -3,6 +3,7 @@ PORTNAME= hiawatha PORTVERSION= 10.1 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= https://www.hiawatha-webserver.org/files/ --- hiawatha/files/patch-src__http.c (nonexistent) +++ hiawatha/files/patch-src__http.c (working copy) @@ -0,0 +1,13 @@ +--- src/http.c.orig 2016-04-23 15:43:35.061778000 -0700 ++++ src/http.c 2016-04-23 15:45:34.258952000 -0700 +@@ -845,8 +845,8 @@ + /* Forwarded header + */ + begin = NULL; +- while ((forwarded = strcasestr(forwarded, "for=")) == NULL) { +- begin = forwarded; ++ while ((forwarded = strcasestr(forwarded, "for=")) != NULL) { ++ begin = forwarded + 4; + forwarded++; + } +