summaryrefslogtreecommitdiffstats
path: root/print/pdq/files
diff options
context:
space:
mode:
authorade <ade@FreeBSD.org>2000-10-13 20:27:13 +0000
committerade <ade@FreeBSD.org>2000-10-13 20:27:13 +0000
commit32b133aaf6a36af4b4f856b6af8d43476ed56443 (patch)
tree981e570bd6809a4d5bcb4b8833506c10b174356b /print/pdq/files
parentb8b71675b02af88e63c83b8e68fd6b11ea504492 (diff)
downloadFreeBSD-ports-32b133aaf6a36af4b4f856b6af8d43476ed56443.zip
FreeBSD-ports-32b133aaf6a36af4b4f856b6af8d43476ed56443.tar.gz
Update MASTER_SITES and WWW line of pkg-descr
Support PREFIX properly PR: 21615 Submitted by: Ports Fury (no response from maintainer)
Diffstat (limited to 'print/pdq/files')
-rw-r--r--print/pdq/files/patch-af16
-rw-r--r--print/pdq/files/patch-ag19
2 files changed, 10 insertions, 25 deletions
diff --git a/print/pdq/files/patch-af b/print/pdq/files/patch-af
index 532e272..44a4069 100644
--- a/print/pdq/files/patch-af
+++ b/print/pdq/files/patch-af
@@ -1,12 +1,6 @@
---- src/xpdq_printer.c.orig Sat May 15 07:19:13 1999
-+++ src/xpdq_printer.c Sat May 15 11:43:47 1999
-@@ -29,23 +29,30 @@
- #include "printer.h"
- #include "argument.h"
-
-+#define PRINTRC "/usr/local/etc/printrc"
-+
- void xpdq_add_printer (void) {
+--- src/xpdq_printer.c.orig Sat Apr 1 05:36:30 2000
++++ src/xpdq_printer.c Fri Aug 11 22:36:57 2000
+@@ -33,19 +33,24 @@
pwizard_state *wizard;
dl_list *list;
@@ -20,7 +14,7 @@
+ error = malloc(256);
+ sprintf (error, "There are no printer drivers defined in\n"
+ "%s or ~/.printrc. Without printer drivers,\n"
-+ "the wizard cannot add printers.", PRINTRC);
++ "the wizard cannot add printers.", PRINTRC_FILE);
+ xpdq_error(error);
return;
}
@@ -32,7 +26,7 @@
+ error = malloc(256);
+ sprintf (error, "There are no printer drivers defined in\n"
+ "%s or ~/.printrc. Without printer drivers,\n"
-+ "the wizard cannot add printers.", PRINTRC);
++ "the wizard cannot add printers.", PRINTRC_FILE);
+ xpdq_error(error);
return;
}
diff --git a/print/pdq/files/patch-ag b/print/pdq/files/patch-ag
index 3ce0847..f904a2f 100644
--- a/print/pdq/files/patch-ag
+++ b/print/pdq/files/patch-ag
@@ -1,15 +1,6 @@
---- src/xpdq_wizard.c.orig Sat May 15 11:45:15 1999
-+++ src/xpdq_wizard.c Sat May 15 11:50:44 1999
-@@ -29,6 +29,8 @@
- #include "printer.h"
- #include "argument.h"
-
-+#define PRINTRC "/usr/local/etc/printrc"
-+
- pwizard_state *new_pwizard() {
-
- pwizard_state *wizard;
-@@ -315,6 +317,7 @@
+--- src/xpdq_wizard.c.orig Sat Apr 1 05:36:30 2000
++++ src/xpdq_wizard.c Fri Aug 11 22:37:29 2000
+@@ -315,6 +315,7 @@
driver *d;
int i, row;
char *dname;
@@ -17,7 +8,7 @@
panel = gtk_vbox_new (FALSE, 0);
gtk_container_border_width (GTK_CONTAINER (panel), 10);
-@@ -348,9 +351,11 @@
+@@ -348,9 +349,11 @@
gtk_clist_set_selection_mode (GTK_CLIST(widget), GTK_SELECTION_BROWSE);
list = first_list_element (rc->driver_list);
if (list == NULL) {
@@ -27,7 +18,7 @@
+ error = malloc(256);
+ sprintf(error, "This system has no drivers. Please make sure\n"
+ "that there are drivers defined in %s, ~/.printrc,\n"
-+ "or in files included by %s or ~/.printrc.", PRINTRC, PRINTRC);
++ "or in files included by %s or ~/.printrc.", PRINTRC_FILE, PRINTRC_FILE);
+ xpdq_error(error);
}
while (list != NULL) {
OpenPOWER on IntegriCloud