diff options
Diffstat (limited to 'graphics/tclblt/patches/source.patch')
-rw-r--r-- | graphics/tclblt/patches/source.patch | 85 |
1 files changed, 85 insertions, 0 deletions
diff --git a/graphics/tclblt/patches/source.patch b/graphics/tclblt/patches/source.patch new file mode 100644 index 0000000000000..b94e1fa3f3c91 --- /dev/null +++ b/graphics/tclblt/patches/source.patch @@ -0,0 +1,85 @@ +This patch removes references to non-free dd_protocol/* files from makefiles. +It's a part of code which makes the original tarball DFSG-compliant. The rest +is in debian/rules (get-orig-source target). + +--- a/library/Makefile.in ++++ b/library/Makefile.in +@@ -34,14 +34,14 @@ + tclIndex \ + $(cursors) + +-ddFiles = dd-color.tcl \ +- dd-file.tcl \ +- dd-number.tcl \ +- dd-text.tcl \ +- tclIndex ++#ddFiles = dd-color.tcl \ ++# dd-file.tcl \ ++# dd-number.tcl \ ++# dd-text.tcl \ ++# tclIndex + + instdirs = $(prefix) $(exec_prefix) \ +- $(libdir) $(prefix)/lib $(scriptdir) $(scriptdir)/dd_protocols ++ $(libdir) $(prefix)/lib $(scriptdir) #$(scriptdir)/dd_protocols + + all: pkgIndex + +@@ -53,10 +53,10 @@ + + + install: mkdirs pkgIndex +- for i in $(ddFiles) ; do \ +- $(INSTALL_DATA) $(srcdir)/dd_protocols/$$i \ +- $(INSTALL_ROOT)$(scriptdir)/dd_protocols ; \ +- done ++ #for i in $(ddFiles) ; do \ ++ # $(INSTALL_DATA) $(srcdir)/dd_protocols/$$i \ ++ # $(INSTALL_ROOT)$(scriptdir)/dd_protocols ; \ ++ #done + for i in $(miscFiles) ; do \ + $(INSTALL_DATA) $(srcdir)/$$i $(INSTALL_ROOT)$(scriptdir) ; \ + done +--- a/library/Makefile.vc ++++ b/library/Makefile.vc +@@ -24,11 +24,11 @@ + tclIndex \ + $(cursors) + +-ddFiles = dd-color.tcl \ +- dd-file.tcl \ +- dd-number.tcl \ +- dd-text.tcl \ +- tclIndex ++#ddFiles = dd-color.tcl \ ++# dd-file.tcl \ ++# dd-number.tcl \ ++# dd-text.tcl \ ++# tclIndex + + instdirs = $(prefix) $(exec_prefix) $(libdir) \ + $(scriptdir) $(scriptdir)/dd_protocols $(libdir)/tcl$(v1) \ +@@ -44,9 +44,9 @@ + done + + install-ddfiles: install-dirs +- for i in $(ddFiles) ; do \ +- $(INSTALL_DATA) $(srcdir)/dd_protocols/$$i $(scriptdir)/dd_protocols ; \ +- done ++ #for i in $(ddFiles) ; do \ ++ # $(INSTALL_DATA) $(srcdir)/dd_protocols/$$i $(scriptdir)/dd_protocols ; \ ++ #done + + install-files: install-dirs + for i in $(miscFiles) ; do \ +--- a/win/install.tcl ++++ b/win/install.tcl +@@ -78,7 +78,7 @@ + -pattern *.pro \ + -file tclIndex \ + $scriptdir +- Add ${srcdir}/library/dd_protocols \ ++ #Add ${srcdir}/library/dd_protocols \ + -pattern *.tcl \ + -file tclIndex \ + $scriptdir/dd_protocols |