freebsd-ports/sysutils/cdrdao/files/patch-scsilib::RULES::rules.cnf
Alexander Leidinger 3a726cb4d9 - Fix yet another bug that might be used for a root exploit. As with the last
bug you are only vulnerable if you locally set the cdrdao binary suid root.
- Respect CC already at the configure-stage of scsilib else we end up running
  configure with GCC and compiling with whatever CC was set to.

Submitted by:	maintainer
2003-06-04 18:43:16 +00:00

12 lines
337 B
INI

--- scsilib/RULES/rules.cnf.orig Sun Jan 27 16:11:31 2002
+++ scsilib/RULES/rules.cnf Sun Jun 1 18:58:37 2003
@@ -33,8 +33,7 @@
#
# Hack until the <mach>-<os>-*cc.rul files are updated
#
-_HCCCOM= $(OARCH:%-gcc=gcc)
-HCCCOM= $(_HCCCOM:%-cc=cc)
+HCCCOM= $(C_ARCH)
_CCCOM= $(_UNIQ)$(CCCOM)
__CCCOM= $(_CCCOM:$(_UNIQ)=$(HCCCOM))