qulogic/libgnt

Respect the original SIGWINCH's handler SA_SIGINFO field
trac-16680
2017-09-25, Daniel Kamil Kozar
eaba4e3c577b
Respect the original SIGWINCH's handler SA_SIGINFO field

Imported from https://developer.pidgin.im/ticket/16680 , authored by
marcus. When chaining the original SIGWINCH, make sure to optionally
call it with the extra arguments that are available when it was
installed with SA_SIGINFO.
CC=gcc
CFLAGS=`pkg-config --cflags gobject-2.0 gmodule-2.0` -g -I../ -DSTANDALONE -I/usr/include/ncursesw/
LDFLAGS=`pkg-config --libs gobject-2.0 gmodule-2.0 gnt` -pg
EXAMPLES=combo focus tv multiwin keys menu parse
all:
make examples
clean:
rm -f $(EXAMPLES) *.so wm
WM: wm
for i in $(EXAMPLES); do gcc -shared $(CFLAGS) -USTANDALONE $(LDFLAGS) $${i}.c -o $${i}.so ; done
examples: $(EXAMPLES)