Thu Jan 8 09:14:58 2015 UTC ()
Remove some patches that are not needed and add comments to the others.


(wiz)
diff -r1.20 -r1.21 pkgsrc/textproc/groff/distinfo
diff -r1.4 -r1.5 pkgsrc/textproc/groff/patches/patch-aa
diff -r1.3 -r0 pkgsrc/textproc/groff/patches/patch-ac
diff -r1.2 -r0 pkgsrc/textproc/groff/patches/patch-ae
diff -r1.1 -r1.2 pkgsrc/textproc/groff/patches/patch-src_libs_libgroff_tmpfile.cpp

cvs diff -r1.20 -r1.21 pkgsrc/textproc/groff/distinfo (expand / switch to unified diff)

--- pkgsrc/textproc/groff/distinfo 2015/01/08 09:02:27 1.20
+++ pkgsrc/textproc/groff/distinfo 2015/01/08 09:14:58 1.21
@@ -1,10 +1,7 @@ @@ -1,10 +1,7 @@
1$NetBSD: distinfo,v 1.20 2015/01/08 09:02:27 wiz Exp $ 1$NetBSD: distinfo,v 1.21 2015/01/08 09:14:58 wiz Exp $
2 2
3SHA1 (groff-1.22.3.tar.gz) = 61a6808ea1ef715df9fa8e9b424e1f6b9fa8c091 3SHA1 (groff-1.22.3.tar.gz) = 61a6808ea1ef715df9fa8e9b424e1f6b9fa8c091
4RMD160 (groff-1.22.3.tar.gz) = 8f6d364f759e559c12c497091118f6d68f3a3b85 4RMD160 (groff-1.22.3.tar.gz) = 8f6d364f759e559c12c497091118f6d68f3a3b85
5Size (groff-1.22.3.tar.gz) = 4188772 bytes 5Size (groff-1.22.3.tar.gz) = 4188772 bytes
6SHA1 (patch-aa) = 3c74f1b8e809da5359d4702f0f5f299593601209 6SHA1 (patch-aa) = b9ca249a89b1e658d5629863aef38eb5fcb359af
7SHA1 (patch-ab) = 64ba9805a0798bfce543a258cd66347caa1bf860 7SHA1 (patch-src_libs_libgroff_tmpfile.cpp) = 3794a028dc7c569e5adea6b7b876c3ac085376ba
8SHA1 (patch-ac) = 7c29e3ca0c0a2e5389ff436ff5c15c9a0a4d7581 
9SHA1 (patch-ae) = 777b9b4d5f39da5acf8d79616ae9d42025772fc5 
10SHA1 (patch-src_libs_libgroff_tmpfile.cpp) = 6fe0b56ad05a39beac37823b7a7fb5951e36ceb8 

cvs diff -r1.4 -r1.5 pkgsrc/textproc/groff/patches/patch-aa (expand / switch to unified diff)

--- pkgsrc/textproc/groff/patches/patch-aa 2005/12/07 17:51:51 1.4
+++ pkgsrc/textproc/groff/patches/patch-aa 2015/01/08 09:14:58 1.5
@@ -1,13 +1,15 @@ @@ -1,13 +1,15 @@
1$NetBSD: patch-aa,v 1.4 2005/12/07 17:51:51 wiz Exp $ 1$NetBSD: patch-aa,v 1.5 2015/01/08 09:14:58 wiz Exp $
 2
 3Fix path to papers directory on NetBSD.
2 4
3--- Makefile.in.orig 2005-08-07 10:03:33.000000000 +0200 5--- Makefile.in.orig 2005-08-07 10:03:33.000000000 +0200
4+++ Makefile.in 6+++ Makefile.in
5@@ -214,7 +214,7 @@ tmac_an_prefix=\ 7@@ -214,7 +214,7 @@ tmac_an_prefix=\
6 indexext=.i 8 indexext=.i
7  9
8 # Directory containing the default index for refer. 10 # Directory containing the default index for refer.
9-indexdir=/usr/dict/papers 11-indexdir=/usr/dict/papers
10+indexdir=/usr/share/dict/papers 12+indexdir=/usr/share/dict/papers
11  13
12 # The filename (without suffix) of the default index for refer. 14 # The filename (without suffix) of the default index for refer.
13 indexname=Ind 15 indexname=Ind

File Deleted: pkgsrc/textproc/groff/patches/Attic/patch-ac

File Deleted: pkgsrc/textproc/groff/patches/Attic/patch-ae

cvs diff -r1.1 -r1.2 pkgsrc/textproc/groff/patches/patch-src_libs_libgroff_tmpfile.cpp (expand / switch to unified diff)

--- pkgsrc/textproc/groff/patches/patch-src_libs_libgroff_tmpfile.cpp 2014/07/18 10:11:35 1.1
+++ pkgsrc/textproc/groff/patches/patch-src_libs_libgroff_tmpfile.cpp 2015/01/08 09:14:58 1.2
@@ -1,14 +1,16 @@ @@ -1,14 +1,16 @@
1$NetBSD: patch-src_libs_libgroff_tmpfile.cpp,v 1.1 2014/07/18 10:11:35 ryoon Exp $ 1$NetBSD: patch-src_libs_libgroff_tmpfile.cpp,v 1.2 2015/01/08 09:14:58 wiz Exp $
 2
 3Fix SCO OpenServer 5.0.7/3.2 build.
2 4
3--- src/libs/libgroff/tmpfile.cpp.orig 2009-01-09 14:25:52.000000000 +0000 5--- src/libs/libgroff/tmpfile.cpp.orig 2009-01-09 14:25:52.000000000 +0000
4+++ src/libs/libgroff/tmpfile.cpp 6+++ src/libs/libgroff/tmpfile.cpp
5@@ -50,6 +50,14 @@ along with this program. If not, see <ht 7@@ -50,6 +50,14 @@ along with this program. If not, see <ht
6 #define TMPFILE_PREFIX_SHORT "" 8 #define TMPFILE_PREFIX_SHORT ""
7 #define TMPFILE_PREFIX_LONG "groff" 9 #define TMPFILE_PREFIX_LONG "groff"
8  10
9+/* SCO OpenServer 5.0.7/3.2's mkstemp cannot handle more than 26(a to z) files 11+/* SCO OpenServer 5.0.7/3.2's mkstemp cannot handle more than 26(a to z) files
10+ for one PID. */ 12+ for one PID. */
11+#if defined(_SCO_DS) 13+#if defined(_SCO_DS)
12+#define mkstemp pkgsrc_mkstemp 14+#define mkstemp pkgsrc_mkstemp
13+ 15+
14+#include "../../../mkstemp.c" 16+#include "../../../mkstemp.c"