aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormadpilot <madpilot@FreeBSD.org>2013-09-12 05:55:49 +0800
committermadpilot <madpilot@FreeBSD.org>2013-09-12 05:55:49 +0800
commit0bc3d3fc40f4d42c1a2c00e8402628b821a8670d (patch)
tree5237eb0b4868507c5b7b989a0edbbd3fa6ab3ea3
parentb7d2685089045906a029516351fc99961aafe2d0 (diff)
downloadfreebsd-ports-gnome-0bc3d3fc40f4d42c1a2c00e8402628b821a8670d.tar.gz
freebsd-ports-gnome-0bc3d3fc40f4d42c1a2c00e8402628b821a8670d.tar.zst
freebsd-ports-gnome-0bc3d3fc40f4d42c1a2c00e8402628b821a8670d.zip
Patch to remove forward declaration of a standard C++ class in
installed include file. Approved by: pawel (maintainer)
-rw-r--r--graphics/podofo/Makefile1
-rw-r--r--graphics/podofo/files/patch-src_base_PdfLocale.h11
2 files changed, 12 insertions, 0 deletions
diff --git a/graphics/podofo/Makefile b/graphics/podofo/Makefile
index 2e1fe87e3dd2..dd684302d12f 100644
--- a/graphics/podofo/Makefile
+++ b/graphics/podofo/Makefile
@@ -3,6 +3,7 @@
PORTNAME= podofo
PORTVERSION= 0.9.2
+PORTREVISION= 1
CATEGORIES= graphics print
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION:R}
diff --git a/graphics/podofo/files/patch-src_base_PdfLocale.h b/graphics/podofo/files/patch-src_base_PdfLocale.h
new file mode 100644
index 000000000000..15abb7f6acb5
--- /dev/null
+++ b/graphics/podofo/files/patch-src_base_PdfLocale.h
@@ -0,0 +1,11 @@
+--- src/base/PdfLocale.h.orig 2010-10-25 19:19:15.000000000 +0200
++++ src/base/PdfLocale.h 2013-09-10 18:00:08.338272701 +0200
+@@ -1,8 +1,6 @@
+ #ifndef PODOFO_PDFLOCALE_H
+ #define PODOFO_PDFLOCALE_H
+
+-namespace std { class ios_base; };
+-
+ namespace PoDoFo {
+
+ /**