MFH: r546861
print/gtklp: fix build with -fno-common Just a couple of duplicate symbols here. PR: 248852 Approved by: ports-secteam (implicit, -fno-common build fix)
This commit is contained in:
parent
e542bfe6b7
commit
447d4d3392
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/branches/2020Q3/; revision=546862
10
print/gtklp/files/patch-gtklp_gtklp.c
Normal file
10
print/gtklp/files/patch-gtklp_gtklp.c
Normal file
@ -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];
|
20
print/gtklp/files/patch-gtklp_gtklp__functions.c
Normal file
20
print/gtklp/files/patch-gtklp_gtklp__functions.c
Normal file
@ -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
|
23
print/gtklp/files/patch-gtklpq_gtklpq.c
Normal file
23
print/gtklp/files/patch-gtklpq_gtklpq.c
Normal file
@ -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[])
|
||||
{
|
11
print/gtklp/files/patch-libgtklp_libgtklp.h
Normal file
11
print/gtklp/files/patch-libgtklp_libgtklp.h
Normal file
@ -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 */
|
Loading…
Reference in New Issue
Block a user