summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/gnuchess/distinfo5
-rw-r--r--games/gnuchess/patches/patch-ab13
-rw-r--r--games/gnuchess/patches/patch-ad30
-rw-r--r--print/pslib/distinfo3
-rw-r--r--print/pslib/patches/patch-aa49
5 files changed, 95 insertions, 5 deletions
diff --git a/games/gnuchess/distinfo b/games/gnuchess/distinfo
index 60e5838a53c..dbcd420a08f 100644
--- a/games/gnuchess/distinfo
+++ b/games/gnuchess/distinfo
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.9 2008/04/03 09:07:49 joerg Exp $
+$NetBSD: distinfo,v 1.10 2009/10/31 14:24:14 tnn Exp $
SHA1 (gnuchess-5.07.tar.gz) = 7dbaf957bfea9cf37fe393e1fec7306de0162a16
RMD160 (gnuchess-5.07.tar.gz) = 043ee9bfd9dacccd6c55905d4a1c390bf56ba603
Size (gnuchess-5.07.tar.gz) = 234542 bytes
SHA1 (patch-aa) = 417c8ca61142d08c827d2ca760b5ffb0c1988099
-SHA1 (patch-ab) = 2c0658138b08bb9d5f066ac3df3217d5e336bf83
+SHA1 (patch-ab) = 05d484b3f3e911a5a90e8b86c0026a7fe70f0ae3
SHA1 (patch-ac) = 4d5a9a3ea1e898745607347848d50cb5ed0d1880
+SHA1 (patch-ad) = 9917b31ff41a8c3e9bdf130f5315a12bbe3c3a12
diff --git a/games/gnuchess/patches/patch-ab b/games/gnuchess/patches/patch-ab
index b9f5de88f34..26ada2c6933 100644
--- a/games/gnuchess/patches/patch-ab
+++ b/games/gnuchess/patches/patch-ab
@@ -1,6 +1,6 @@
-$NetBSD: patch-ab,v 1.7 2006/04/03 17:53:00 minskim Exp $
+$NetBSD: patch-ab,v 1.8 2009/10/31 14:24:14 tnn Exp $
---- src/common.h.orig 2003-06-30 04:28:38.000000000 -0700
+--- src/common.h.orig 2003-06-30 13:28:38.000000000 +0200
+++ src/common.h
@@ -716,7 +716,6 @@ void DBTest (void);
@@ -10,3 +10,12 @@ $NetBSD: patch-ab,v 1.7 2006/04/03 17:53:00 minskim Exp $
void *input_func(void *);
/*
+@@ -745,7 +744,7 @@ void wait_for_input(void);
+ * Input routine, initialized to one of the specific
+ * input routines. The given argument is the prompt.
+ */
+-void (*getline) (char *);
++void (*get_line) (char *);
+
+ #define MAXSTR 128
+ extern char inputstr[MAXSTR];
diff --git a/games/gnuchess/patches/patch-ad b/games/gnuchess/patches/patch-ad
new file mode 100644
index 00000000000..927243fe26d
--- /dev/null
+++ b/games/gnuchess/patches/patch-ad
@@ -0,0 +1,30 @@
+$NetBSD: patch-ad,v 1.8 2009/10/31 14:24:14 tnn Exp $
+
+--- src/input.c.orig 2003-07-01 19:06:43.000000000 +0200
++++ src/input.c
+@@ -127,7 +127,7 @@ void *input_func(void *arg __attribute__
+ (RealGameCnt+1)/2 + 1 );
+ }
+ pthread_mutex_lock(&input_mutex);
+- getline(prompt);
++ get_line(prompt);
+ input_status = INPUT_AVAILABLE;
+ pthread_cond_signal(&input_cond);
+ pthread_mutex_unlock(&input_mutex);
+@@ -173,13 +173,13 @@ void InitInput(void)
+ {
+ #ifdef HAVE_LIBREADLINE
+ if (isatty(STDIN_FILENO)) {
+- getline = getline_readline;
++ get_line = getline_readline;
+ using_history();
+ } else {
+- getline = getline_standard;
++ get_line = getline_standard;
+ }
+ #else
+- getline = getline_standard;
++ get_line = getline_standard;
+ #endif
+ /* Start input thread */
+ pthread_create(&input_thread, NULL, input_func, NULL);
diff --git a/print/pslib/distinfo b/print/pslib/distinfo
index cfcff364322..7599ffc30fd 100644
--- a/print/pslib/distinfo
+++ b/print/pslib/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2005/08/19 16:05:03 drochner Exp $
+$NetBSD: distinfo,v 1.2 2009/10/31 14:26:30 tnn Exp $
SHA1 (pslib-0.2.6.tar.gz) = 0bcd220fa30a3faec9dd1860434c62596043aa8a
RMD160 (pslib-0.2.6.tar.gz) = 14afdfdca94d752499d0d38b946d3b5f469b34ae
Size (pslib-0.2.6.tar.gz) = 486812 bytes
+SHA1 (patch-aa) = 3c536e0f4f3931a4f49c96365ce0a080df1ee6af
diff --git a/print/pslib/patches/patch-aa b/print/pslib/patches/patch-aa
new file mode 100644
index 00000000000..cde317a9c3c
--- /dev/null
+++ b/print/pslib/patches/patch-aa
@@ -0,0 +1,49 @@
+$NetBSD: patch-aa,v 1.1 2009/10/31 14:26:31 tnn Exp $
+
+--- src/ps_afm.c.orig 2004-07-22 08:01:26.000000000 +0200
++++ src/ps_afm.c
+@@ -136,7 +136,7 @@ static int transform(int x, int y) {
+ return (int)(acc>=0? floor(acc+0.5) : ceil(acc-0.5) ) ;
+ }
+
+-static int getline(FILE *afmin) {
++static int get_line(FILE *afmin) {
+ char *p ;
+ int c ;
+
+@@ -566,7 +566,7 @@ int readprotusion(PSDoc *psdoc, PSFont *
+ return(-1);
+ }
+
+- while (getline(fp)) {
++ while (get_line(fp)) {
+ switch(interest(paramstring())) {
+ case N:
+ handleprotusion(psdoc, metrics) ;
+@@ -614,7 +614,7 @@ ADOBEFONTMETRIC *readadobe(PSDoc *psdoc,
+ /*
+ * Read file line by line.
+ */
+- while (getline(metric->afmin)) {
++ while (get_line(metric->afmin)) {
+ switch(interest(paramstring())) {
+ case FontName:
+ metric->fontname = paramnewstring(psdoc) ;
+@@ -972,7 +972,7 @@ static char *gettoken(PSDoc *psdoc, ADOB
+
+ while (1) {
+ while (param == NULL || *param == '\0') {
+- if (getline(metrics->afmin) == 0)
++ if (get_line(metrics->afmin) == 0)
+ ps_error(psdoc, PS_RuntimeError, _("Premature end of encoding file."));
+ for (p=buffer; *p != '\0'; p++)
+ if (*p == '%') {
+@@ -1093,7 +1093,7 @@ int readencoding(PSDoc *psdoc, ADOBEFONT
+ psdoc->free(psdoc, e);
+ return -1;
+ }
+- while (getline(metrics->afmin)) {
++ while (get_line(metrics->afmin)) {
+ for (p=buffer; *p != '\0'; p++)
+ if (*p == '%') {
+ if (ignoreligkern == 0)