package/cups-filters: Add patch to fix build when using poppler 0.69.0
authorOlivier Schonken <olivier.schonken@gmail.com>
Fri, 5 Oct 2018 13:30:19 +0000 (15:30 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 6 Oct 2018 13:50:13 +0000 (15:50 +0200)
commit41b944f231968cfe6adb41bd7c430925cadaf5fa
treea64028176490847415463c31c89937a6b95c8160
parent4e770101e55b4cd67e007536fcaf2b1a5e58f0df
package/cups-filters: Add patch to fix build when using poppler 0.69.0

This patch lets cups-filters only use gMemReport and memCheck functions
if poppler version less than 0.69.0

The poppler project removed the memCheck and gMemReport functions in
commits c362ab1b97f20c5b73b3bad8d52015f679178748 - Remove DEBUG_MEM
from Object since this uses RAII now and hence cannot leak.
(The existing tracking also is not thread-safe and hence unreliable.)

and

f89446f6917a869b0f1a80fcc8ce81a7213dade4 - Remove generic heap debugging
from gmem since external tools and compiler instrumentation achieve the
same effect.

The patch has been applied upstream:
https://github.com/OpenPrinting/cups-filters/commit/50d984a621524c2e2857ad84eb4b71933c8821be.

Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/cups-filters/0002-Poppler-removed-memCheck-and-gMemReport-functions.patch [new file with mode: 0644]