aboutsummaryrefslogtreecommitdiff
path: root/print/gv/files
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-04-11 11:48:09 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-04-11 11:48:09 +0000
commita95a46ac8ed2c5211e2d42e43b2d6522061ff71b (patch)
treed0721e61b5cb3f414d5f166babf499eb796f3346 /print/gv/files
parentf6710edfae2f790fc763481d956c8aa78fe2a990 (diff)
downloadports-a95a46ac8ed2c5211e2d42e43b2d6522061ff71b.tar.gz
ports-a95a46ac8ed2c5211e2d42e43b2d6522061ff71b.zip
Notes
Diffstat (limited to 'print/gv/files')
-rw-r--r--print/gv/files/patch-src-Makefile.in16
-rw-r--r--print/gv/files/patch-src-callbacks.c20
2 files changed, 28 insertions, 8 deletions
diff --git a/print/gv/files/patch-src-Makefile.in b/print/gv/files/patch-src-Makefile.in
index 54a0228dbfca..4c25e995faf1 100644
--- a/print/gv/files/patch-src-Makefile.in
+++ b/print/gv/files/patch-src-Makefile.in
@@ -1,11 +1,11 @@
---- src/Makefile.in.orig 2008-07-07 23:01:11.532113493 -0400
-+++ src/Makefile.in 2008-07-07 23:02:16.119805505 -0400
-@@ -256,7 +256,7 @@
- top_builddir = @top_builddir@
- top_srcdir = @top_srcdir@
- dist_pkglib_DATA = gv_system.ad gv_user.ad gv_class.ad gv_spartan.dat gv_user_res.dat gv_copyright.dat gv_widgetless.dat
--appdefaultsdir = $(pkglibdir)
+--- src/Makefile.in.orig 2009-03-21 20:18:50.000000000 +0900
++++ src/Makefile.in 2009-03-29 17:59:16.000000000 +0900
+@@ -263,7 +263,7 @@
+ bin_SCRIPTS = gv-update-userconfig
+ dist_pkgdata_DATA = gv_spartan.dat gv_user_res.dat gv_copyright.dat gv_widgetless.dat
+ pkgdata_DATA = gv_system.ad gv_user.ad gv_class.ad
+-appdefaultsdir = $(pkgdatadir)
+appdefaultsdir = $(libdir)/app-defaults
- appdefaults_DATA = GV
+ appdefaults_DATA = ../GV
EXTRA_DIST = ad2c gv_font_res.dat gv_layout_res.dat gv_misc_res.dat Aaa_bison.yacc \
gv_current.xbm gv_doc.xbm gv_empty.xbm gv_even.xbm gv_icon.xbm gv_odd.xbm \
diff --git a/print/gv/files/patch-src-callbacks.c b/print/gv/files/patch-src-callbacks.c
new file mode 100644
index 000000000000..0a831b464243
--- /dev/null
+++ b/print/gv/files/patch-src-callbacks.c
@@ -0,0 +1,20 @@
+--- src/callbacks.c.orig 2009-04-10 00:01:22.379498762 -0400
++++ src/callbacks.c 2009-04-10 00:02:32.330844813 -0400
+@@ -957,7 +957,7 @@
+
+ BEGINMESSAGE(cb_presentation)
+
+- sigold = signal(SIGCLD, SIG_IGN); /* Avoid zombies */
++ sigold = signal(SIGCHLD, SIG_IGN); /* Avoid zombies */
+ if (!(pid = fork()))
+ {
+ /* We have to close all open file descriptors so the child does not
+@@ -969,7 +969,7 @@
+ printf("Cannot exec %s\n", gv_bin);
+ exit(1);
+ }
+- signal(SIGCLD, sigold); /* restore signal handler */
++ signal(SIGCHLD, sigold); /* restore signal handler */
+
+ ENDMESSAGE(cb_presentation)
+ }