diff options
-rw-r--r-- | print/gtklp/files/patch-gtklp_gtklp.c | 10 | ||||
-rw-r--r-- | print/gtklp/files/patch-gtklp_gtklp__functions.c | 20 | ||||
-rw-r--r-- | print/gtklp/files/patch-gtklpq_gtklpq.c | 23 | ||||
-rw-r--r-- | print/gtklp/files/patch-libgtklp_libgtklp.h | 11 |
4 files changed, 64 insertions, 0 deletions
diff --git a/print/gtklp/files/patch-gtklp_gtklp.c b/print/gtklp/files/patch-gtklp_gtklp.c new file mode 100644 index 000000000000..88ef4eb0eb84 --- /dev/null +++ b/print/gtklp/files/patch-gtklp_gtklp.c @@ -0,0 +1,10 @@ +--- gtklp/gtklp.c.orig 2019-11-01 16:27:28 UTC ++++ gtklp/gtklp.c +@@ -119,7 +119,6 @@ ppd_file_t *printerPPD; + int PPDopen; + char *PPDfilename; + int conflict_active; +-int nox; + int num_commandline_opts; + cups_option_t *commandline_opts; + char nupLayout[5]; diff --git a/print/gtklp/files/patch-gtklp_gtklp__functions.c b/print/gtklp/files/patch-gtklp_gtklp__functions.c new file mode 100644 index 000000000000..202f53879799 --- /dev/null +++ b/print/gtklp/files/patch-gtklp_gtklp__functions.c @@ -0,0 +1,20 @@ +--- gtklp/gtklp_functions.c.orig 2019-11-01 16:27:28 UTC ++++ gtklp/gtklp_functions.c +@@ -57,17 +57,6 @@ + #include "conflict.xpm" + #include "rarrow.xpm" + +-unsigned topmargin, bottommargin, leftmargin, rightmargin; +-int imageScalingType; +-double imageScalingScalingValue; +-double imageScalingNaturalValue; +-double imageScalingPPIValue; +-int hasAskedPWD; +- +-ppd_file_t *printerPPD; +- +-GtkWidget *mainWindow; +- + #if GTK_MAJOR_VERSION == 1 + GtkWidget *button_inst_save_label; + #else diff --git a/print/gtklp/files/patch-gtklpq_gtklpq.c b/print/gtklp/files/patch-gtklpq_gtklpq.c new file mode 100644 index 000000000000..b76ed8256470 --- /dev/null +++ b/print/gtklp/files/patch-gtklpq_gtklpq.c @@ -0,0 +1,23 @@ +--- gtklpq/gtklpq.c.orig 2019-11-01 16:27:28 UTC ++++ gtklpq/gtklpq.c +@@ -79,20 +79,7 @@ GtkWidget *dialog; + + int m_id_upd, c_id_upd, m_id_state, c_id_state; + +-char PrinterNames[MAX_PRT][DEF_PRN_LEN + 1]; +-char PrinterInfos[MAX_PRT][MAXLINE + 1]; +-char PrinterLocations[MAX_PRT][MAXLINE + 1]; +-int PrinterNum; +-int PrinterChoice; +-char PrinterBannerStart[MAX_PRT][MAXLINE + 1]; +-char PrinterBannerEnd[MAX_PRT][MAXLINE + 1]; +- + unsigned int selectedJob; +- +-int lastPrinterChoice; +- +-http_t *cupsHttp; +-cups_lang_t *cupsLanguage; + + int main(int argc, char *argv[]) + { diff --git a/print/gtklp/files/patch-libgtklp_libgtklp.h b/print/gtklp/files/patch-libgtklp_libgtklp.h new file mode 100644 index 000000000000..382b450ea87f --- /dev/null +++ b/print/gtklp/files/patch-libgtklp_libgtklp.h @@ -0,0 +1,11 @@ +--- libgtklp/libgtklp.h.orig 2019-11-01 16:27:28 UTC ++++ libgtklp/libgtklp.h +@@ -80,7 +80,7 @@ void exitOnError(char *gerror1, char *gerror2, int exi + void hello(GtkWidget * widget, gpointer data); + void button_pad(GtkWidget * widget); + #if GTK_MAJOR_VERSION != 1 +-GtkWidget *progressBar; ++extern GtkWidget *progressBar; + void setWindowDefaultIcons(void); + #endif + #endif /* LIBGTKLP_H */ |