openbsd-ports/textproc/gpdf/patches/patch-xpdf_gpdf-control_cc

15 lines
509 B
Plaintext

$OpenBSD: patch-xpdf_gpdf-control_cc,v 1.1 2004/06/24 18:40:14 marcm Exp $
--- xpdf/gpdf-control.cc.orig Mon Jun 7 11:04:42 2004
+++ xpdf/gpdf-control.cc Thu Jun 24 12:02:02 2004
@@ -62,6 +62,10 @@ BEGIN_EXTERN_C
#define GPDF_GNOME_HELP_DOC_ID "gpdf"
#define GPDF_GNOME_HELP_FILENAME "gpdf.xml"
+#ifndef GNOME_PRINT_KEY_DUPLEX
+#define GNOME_PRINT_KEY_DUPLEX "Settings.Output.Job.Duplex"
+#endif
+
struct _GPdfControlPrivate {
GPdfPersistStream *persist_stream;
GPdfPersistFile *persist_file;