freebsd-ports/security/clamav/files/extra-patch-common_output.c
Yasuhiro Kimura 11ce5b3d71 security/clamav: Update to 0.104.0
* Upstream changed build tool from GNU Autotools to CMake
* Set TEST_TARGET
* Add pre-test-TESTS-off target to display message that TESTS option
  needs to be enabled to execute `make test`
* Switch to use pkg-messge instead of pkg-deinstall to display message
  for those who removes ClamAV permanently from you system
* Stop checking in rc scripts if /var/run/clamav exists
* Pet portclippy
* Reformat Makefile with portfmt

Release Notes:	https://blog.clamav.net/2021/09/clamav-01040-released.html
PR:		258565
Differential Revision:	https://reviews.freebsd.org/D32354
2021-10-30 07:52:24 +09:00

17 lines
329 B
C

--- common/output.c.orig Thu May 18 22:10:40 2006
+++ common/output.c Thu May 18 22:12:43 2006
@@ -236,7 +236,13 @@
return;
}
- fd = stdout;
+/* fd = stdout; (missing flag 'mprintf_stdout') --eh. */
+
+ if(mprintf_stdout)
+ fd = stdout;
+ else
+ fd = stderr;
+
/* legend:
* ! - error