1 --- cups-filters-1.0.41/configure.ac.orig 2013-12-01 10:26:49.834817503 +0100
2 +++ cups-filters-1.0.41/configure.ac 2013-12-01 10:37:48.081456545 +0100
5 PHPDIR="`$PHPCONFIG --extension-dir`"
7 + PHP_CFLAGS="`$PHPCONFIG --includes`"
12 --- cups-filters-1.0.41/Makefile.am.orig 2013-12-01 10:26:49.831484169 +0100
13 +++ cups-filters-1.0.41/Makefile.am 2013-12-01 10:37:08.568124870 +0100
15 scripting/php/phpcups.c \
16 scripting/php/phpcups.h
17 libphpcups_la_LIBADD = $(CUPS_LIBS)
18 -libphpcups_la_CFLAGS = $(CUPS_CFLAGS)
19 -libphpcups_la_LDFLAGS = -no-undefined
20 +libphpcups_la_CFLAGS = $(CUPS_CFLAGS) $(PHP_CFLAGS)
21 +libphpcups_la_LDFLAGS = -module -avoid-version -shared -no-undefined
24 --- cups-filters-1.0.41/scripting/php/phpcups.c.orig 2012-06-22 18:10:47.000000000 +0200
25 +++ cups-filters-1.0.41/scripting/php/phpcups.c 2013-12-01 10:50:16.171425151 +0100
27 * Include necessary headers...
30 -#include <cups/string-private.h>
31 +#include <cups/cups.h>
34 #include "ext/standard/info.h"
37 +#ifndef CUPS_SVERSION
38 +# define CPPSTR(x) #x
39 +# define CUPS_SVERSION CPPSTR(CUPS_VERSION_MAJOR) "." CPPSTR(CUPS_VERSION_MINOR) "." CPPSTR(CUPS_VERSION_PATCH)
43 * PHP function list...
44 --- cups-filters-1.0.41/scripting/php/phpcups.h.orig 2012-06-22 18:10:47.000000000 +0200
45 +++ cups-filters-1.0.41/scripting/php/phpcups.h 2013-12-01 10:42:51.171443826 +0100
48 # include <cups/cups.h>
49 # include <cups/language.h>
50 -# include <cups/debug-private.h>
52 # include <sys/stat.h>
53 # if defined(WIN32) || defined(__EMX__)