summaryrefslogtreecommitdiff
path: root/comms/tkhylafax/patches
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>1999-08-11 06:18:13 +0000
committerrh <rh@pkgsrc.org>1999-08-11 06:18:13 +0000
commit2666f63c506c8bed7d7f8b8208ba435e91514f5e (patch)
tree0613fb6c6ee9174258b0125d99c1451fa3190099 /comms/tkhylafax/patches
parentbad0d555401cbe7bf7f80ea4d6ff8f170f27e8fd (diff)
downloadpkgsrc-2666f63c506c8bed7d7f8b8208ba435e91514f5e.tar.gz
Initial import of FreeBSD port of tkhylafax-3.1, a tcl/tk interface to Sam
Leffler's fax package.
Diffstat (limited to 'comms/tkhylafax/patches')
-rw-r--r--comms/tkhylafax/patches/patch-aa46
-rw-r--r--comms/tkhylafax/patches/patch-ab19
2 files changed, 65 insertions, 0 deletions
diff --git a/comms/tkhylafax/patches/patch-aa b/comms/tkhylafax/patches/patch-aa
new file mode 100644
index 00000000000..269edad06a0
--- /dev/null
+++ b/comms/tkhylafax/patches/patch-aa
@@ -0,0 +1,46 @@
+--- Makefile.orig Sun Dec 29 19:26:39 1996
++++ Makefile Sun Jun 8 13:06:59 1997
+@@ -14,10 +14,10 @@
+ TCLMAN_DEST = /usr/local/man/man1
+
+ # The full path to tclsh
+-TCLSH = /usr/local/bin/tclsh
++TCLSH = tclsh7.6
+
+ # The full path to wish.
+-WISH = /usr/local/bin/wish
++WISH = wish4.2
+ ### DON'T EDIT ANYTHING BELOW THIS LINE ###
+
+ TCLLIB_FILES = \
+@@ -40,7 +40,9 @@
+ TCLPRG_FILE = tkhylafax
+ TCLMAN_FILE = tkhylafax
+
+-all: lib install.man tkhylafax
++all:
++
++install: lib install.man tkhylafax.inst
+ echo 'auto_mkindex $(TCLLIB_DEST) *.tcl *.t' | $(TCLSH);
+
+ $(TCLLIB_DEST):
+@@ -59,16 +61,15 @@
+ if [ ! -d $(TCLPRG_DEST) ]; then mkdir -p $(TCLPRG_DEST); fi
+ chmod 775 $(TCLPRG_DEST)
+
+-tkhylafax: $(TCLPRG_DEST)
++tkhylafax.inst: $(TCLPRG_DEST)
+ @echo "Patching tkhylafax..."
+ mv tkhylafax tkhylafax.unpatched
+ sed -e 's|XXX_TKHYLAFAX_XXX|$(TCLLIB_DEST)|g' \
+ tkhylafax.unpatched > tkhylafax
+ @echo "Done"
+ @echo "Installing tkhylafax command..."
+- cp $(TCLPRG_FILE) $(TCLPRG_DEST)/$@
+- chmod 775 $(TCLPRG_DEST)/$@
+- mv tkhylafax.unpatched tkhylafax
++ cp $(TCLPRG_FILE) $(TCLPRG_DEST)/tkhylafax
++ chmod 775 $(TCLPRG_DEST)/tkhylafax
+ @echo "Done"
+
+ install.man:
diff --git a/comms/tkhylafax/patches/patch-ab b/comms/tkhylafax/patches/patch-ab
new file mode 100644
index 00000000000..22301325fc6
--- /dev/null
+++ b/comms/tkhylafax/patches/patch-ab
@@ -0,0 +1,19 @@
+--- tkhylafax.orig Tue Dec 31 02:49:43 1996
++++ tkhylafax Sun Jun 8 12:34:58 1997
+@@ -1,6 +1,6 @@
+ #!/bin/sh
+ #\
+-exec wish "$0" ${1+"$@"}
++exec wish4.2 "$0" ${1+"$@"}
+
+ #
+ #
+@@ -291,7 +291,7 @@
+
+ proc previewCover { args } {
+
+- set faxcmd "[mkCover] | ghostview -"
++ set faxcmd "[mkCover] | gv -"
+
+ # Exec it
+ if {[catch {eval exec $faxcmd &} err]} {