pkgsrc/www/bozohttpd/patches/patch-Makefile.boot
mrg 674267e2bb update to bozohttpd 20210227.
changes in bozohttpd 20210227:
        o  new support for content types: .tar.bz2, .tar.xz, .tar.lz,
           .tar.zst, .tbz2, .txz, .tlz, .zipx, .xz, .zst, .sz, .lz, .lzma,
           .lzo, .7z, .lzo, .cab, .dmg, .jar, and .rar.  should fix
           netbsd PR#56026:
           MIME type of .tar.xz file on ny{cdn,ftp}.NetBSD.org is invalid

changes in bozohttpd 20210211:
        o  fix various NULL derefs from malformed headers.  mostly from
           <emily@ingalls.rocks>.
        o  fix memory leaks in library interface: add bozo_cleanup().
2021-03-03 10:09:13 +00:00

14 lines
430 B
Clojure

$NetBSD: patch-Makefile.boot,v 1.2 2021/03/03 10:09:13 mrg Exp $
--- Makefile.boot.orig 2021-02-28 02:39:40.000000000 +0000
+++ Makefile.boot 2021-02-28 03:21:41.172077662 +0000
@@ -5,7 +5,9 @@
CC= cc
OPT= -O
+OPT=
LARGE_CFLAGS= -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
+LARGE_CFLAGS=
LOCAL_CFLAGS= -DNO_LUA_SUPPORT -DNO_BLOCKLIST_SUPPORT -D_GNU_SOURCE -D_DEFAULT_SOURCE
CFLAGS= $(OPT) $(LARGE_CFLAGS) $(LOCAL_CFLAGS)