⬢ DragonFlyBSD Kernel Audit
DF-5748 / fix_build.log
← back to finding ↓ download raw
# DF-5748 fix build: patch application (both hunks) + clean rebuild + callout_active gone

## patch -p3 < fix.diff
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- a/sys/netbt/rfcomm_upper.c
|+++ b/sys/netbt/rfcomm_upper.c
--------------------------
Patching file rfcomm_upper.c using Plan A...
Hunk #1 succeeded at 287.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- a/sys/netbt/rfcomm_dlc.c
|+++ b/sys/netbt/rfcomm_dlc.c
--------------------------
Patching file rfcomm_dlc.c using Plan A...
Hunk #1 succeeded at 200.
done

## clean relink
cc -Wl,--build-id=sha1 -nostdlib -Wl,--hash-style=sysv   -r -Wl,-d -o rfcomm_up5748.ko harness5748.o l2cap_stub.o rfcomm_session.o rfcomm_dlc.o rfcomm_upper.o

## verification: objdump -d rfcomm_up5748.ko | grep -c callout_active
0   (no reference to callout_active remains in the patched module)