]>
Commit | Line | Data |
---|---|---|
1 | diff -urN mod_proctitle-0.4.org/src/Makefile.am mod_proctitle-0.4/src/Makefile.am | |
2 | --- mod_proctitle-0.4.org/src/Makefile.am 2011-08-24 10:53:02.000000000 +0200 | |
3 | +++ mod_proctitle-0.4/src/Makefile.am 2013-03-13 17:25:00.638504741 +0100 | |
4 | @@ -5,7 +5,7 @@ | |
5 | libdir= @APACHE_MODULEDIR@ | |
6 | mod_proctitle_la_LDFLAGS=-module -avoid-version | |
7 | ||
8 | -LIBS=@APR_LDFLAGS@ @APU_LDFLAGS@ @APR_LIBS@ @APU_LIBS@ | |
9 | +LIBS=@APR_LDFLAGS@ @APU_LDFLAGS@ @APR_LIBS@ @APU_LIBS@ -lsetproctitle | |
10 | AM_CFLAGS=@APR_INCLUDES@ @APU_INCLUDES@ -I@APACHE_INCLUDEDIR@ | |
11 | ||
12 | mod_proctitle_la_SOURCES = mod_proctitle.c | |
13 | diff -urN mod_proctitle-0.4.org/src/mod_proctitle.c mod_proctitle-0.4/src/mod_proctitle.c | |
14 | --- mod_proctitle-0.4.org/src/mod_proctitle.c 2011-08-24 10:53:02.000000000 +0200 | |
15 | +++ mod_proctitle-0.4/src/mod_proctitle.c 2013-03-13 17:24:50.578262647 +0100 | |
16 | @@ -49,6 +49,9 @@ | |
17 | #include <http_core.h> | |
18 | #include <http_request.h> | |
19 | ||
20 | +#include <setproctitle.h> | |
21 | +#define __unused __attribute__ ((__unused__)) | |
22 | + | |
23 | #undef PACKAGE_BUGREPORT /* damn apache */ | |
24 | #undef PACKAGE_NAME | |
25 | #undef PACKAGE_STRING |