]> git.pld-linux.org Git - packages/VirtualBox.git/commit
add patch to workaround sed 4.6 regression/changed behavior
authorJan Palus <atler@pld-linux.org>
Thu, 20 Dec 2018 17:56:24 +0000 (18:56 +0100)
committerJan Palus <atler@pld-linux.org>
Thu, 20 Dec 2018 17:56:24 +0000 (18:56 +0100)
commit504aafd6cd463e579621cdbef227d1700ef3a8bb
tree7eb124f2262e8c8438e0bc070a69209fdf86e10f
parentebc5ec73372f7623c2ce6fbc0a1e661d3bb75175
add patch to workaround sed 4.6 regression/changed behavior

sample input (include/VBox/Graphics/VBoxVideoGuest.h)

DECLHIDDEN(int) VBoxHGSMIGetModeHints(PHGSMIGUESTCOMMANDCONTEXT pCtx,
                                      unsigned cScreens, VBVAMODEHINT *paHints);

incorrect output:

LC_ALL=C sed -f ./src/VBox/Additions/linux/drm/indent.sed include/VBox/Graphics/VBoxVideoGuest.h
...
int hgsmi_get_mode_hints(PHGSMIGUESTCOMMANDCONTEXT ctx,
unsigned screens, struct vbva_modehint *hints);
...

correct output:

LC_ALL=C.UTF-8 sed -f ./src/VBox/Additions/linux/drm/indent.sed include/VBox/Graphics/VBoxVideoGuest.h
...
int hgsmi_get_mode_hints(struct gen_pool * ctx,
unsigned screens, struct vbva_modehint *hints);
...

PHGSMIGUESTCOMMANDCONTEXT -> struct gen_pool * is not done
VirtualBox-sed-4.6.patch [new file with mode: 0644]
VirtualBox.spec
This page took 0.092398 seconds and 4 git commands to generate.