summary refs log tree commit diff
path: root/pkgs/development/tools/misc/lcov/lcov.patch
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2004-10-22 14:34:58 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2004-10-22 14:34:58 +0000
commit7ee62b0bd9d850b2754be1ae4e1a8320d0edd333 (patch)
tree384c12a54eb43feed29b1ebe9859ccf12e707beb /pkgs/development/tools/misc/lcov/lcov.patch
parent342c8188337e535dea61b2161d588938db8689f4 (diff)
downloadnixlib-7ee62b0bd9d850b2754be1ae4e1a8320d0edd333.tar
nixlib-7ee62b0bd9d850b2754be1ae4e1a8320d0edd333.tar.gz
nixlib-7ee62b0bd9d850b2754be1ae4e1a8320d0edd333.tar.bz2
nixlib-7ee62b0bd9d850b2754be1ae4e1a8320d0edd333.tar.lz
nixlib-7ee62b0bd9d850b2754be1ae4e1a8320d0edd333.tar.xz
nixlib-7ee62b0bd9d850b2754be1ae4e1a8320d0edd333.tar.zst
nixlib-7ee62b0bd9d850b2754be1ae4e1a8320d0edd333.zip
* Added lcov (from CVS).
svn path=/nixpkgs/trunk/; revision=1593
Diffstat (limited to 'pkgs/development/tools/misc/lcov/lcov.patch')
-rw-r--r--pkgs/development/tools/misc/lcov/lcov.patch169
1 files changed, 169 insertions, 0 deletions
diff --git a/pkgs/development/tools/misc/lcov/lcov.patch b/pkgs/development/tools/misc/lcov/lcov.patch
new file mode 100644
index 000000000000..5dbe5ddc0fd6
--- /dev/null
+++ b/pkgs/development/tools/misc/lcov/lcov.patch
@@ -0,0 +1,169 @@
+diff -rc lcov-orig/bin/gendesc lcov-1.1/bin/gendesc
+*** lcov-orig/bin/gendesc	2004-10-22 16:10:55.000000000 +0200
+--- lcov-1.1/bin/gendesc	2004-10-22 16:27:52.000000000 +0200
+***************
+*** 1,4 ****
+! #!/usr/bin/perl -w
+  #
+  #   Copyright (c) International Business Machines  Corp., 2002
+  #
+--- 1,4 ----
+! #! @PERL@ -w
+  #
+  #   Copyright (c) International Business Machines  Corp., 2002
+  #
+diff -rc lcov-orig/bin/genhtml lcov-1.1/bin/genhtml
+*** lcov-orig/bin/genhtml	2004-10-22 16:10:55.000000000 +0200
+--- lcov-1.1/bin/genhtml	2004-10-22 16:29:40.000000000 +0200
+***************
+*** 1,4 ****
+! #!/usr/bin/perl -w
+  #
+  #   Copyright (c) International Business Machines  Corp., 2002
+  #
+--- 1,4 ----
+! #! @PERL@ -w
+  #
+  #   Copyright (c) International Business Machines  Corp., 2002
+  #
+***************
+*** 200,208 ****
+  {
+  	$config = read_config($ENV{"HOME"}."/.lcovrc");
+  }
+! elsif (-r "/etc/lcovrc")
+  {
+! 	$config = read_config("/etc/lcovrc");
+  }
+  
+  if ($config)
+--- 200,208 ----
+  {
+  	$config = read_config($ENV{"HOME"}."/.lcovrc");
+  }
+! elsif (-r "@PREFIX@/etc/lcovrc")
+  {
+! 	$config = read_config("@PREFIX@/etc/lcovrc");
+  }
+  
+  if ($config)
+diff -rc lcov-orig/bin/geninfo lcov-1.1/bin/geninfo
+*** lcov-orig/bin/geninfo	2004-10-22 16:10:56.000000000 +0200
+--- lcov-1.1/bin/geninfo	2004-10-22 16:29:40.000000000 +0200
+***************
+*** 1,4 ****
+! #!/usr/bin/perl -w
+  #
+  #   Copyright (c) International Business Machines  Corp., 2002
+  #
+--- 1,4 ----
+! #! @PERL@ -w
+  #
+  #   Copyright (c) International Business Machines  Corp., 2002
+  #
+***************
+*** 124,132 ****
+  {
+  	$config = read_config($ENV{"HOME"}."/.lcovrc");
+  }
+! elsif (-r "/etc/lcovrc")
+  {
+! 	$config = read_config("/etc/lcovrc");
+  }
+  
+  if ($config)
+--- 124,132 ----
+  {
+  	$config = read_config($ENV{"HOME"}."/.lcovrc");
+  }
+! elsif (-r "@PREFIX@/etc/lcovrc")
+  {
+! 	$config = read_config("@PREFIX@/etc/lcovrc");
+  }
+  
+  if ($config)
+diff -rc lcov-orig/bin/genpng lcov-1.1/bin/genpng
+*** lcov-orig/bin/genpng	2004-10-22 16:10:56.000000000 +0200
+--- lcov-1.1/bin/genpng	2004-10-22 16:28:14.000000000 +0200
+***************
+*** 1,4 ****
+! #!/usr/bin/perl -w
+  #
+  #   Copyright (c) International Business Machines  Corp., 2002
+  #
+--- 1,4 ----
+! #! @PERL@ -w
+  #
+  #   Copyright (c) International Business Machines  Corp., 2002
+  #
+diff -rc lcov-orig/bin/lcov lcov-1.1/bin/lcov
+*** lcov-orig/bin/lcov	2004-10-22 16:10:56.000000000 +0200
+--- lcov-1.1/bin/lcov	2004-10-22 16:29:39.000000000 +0200
+***************
+*** 1,4 ****
+! #!/usr/bin/perl -w
+  #
+  #   Copyright (c) International Business Machines  Corp., 2002
+  #
+--- 1,4 ----
+! #! @PERL@ -w
+  #
+  #   Copyright (c) International Business Machines  Corp., 2002
+  #
+***************
+*** 166,174 ****
+  {
+  	$config = read_config($ENV{"HOME"}."/.lcovrc");
+  }
+! elsif (-r "/etc/lcovrc")
+  {
+! 	$config = read_config("/etc/lcovrc");
+  }
+  
+  if ($config)
+--- 166,174 ----
+  {
+  	$config = read_config($ENV{"HOME"}."/.lcovrc");
+  }
+! elsif (-r "@PREFIX@/etc/lcovrc")
+  {
+! 	$config = read_config("@PREFIX@/etc/lcovrc");
+  }
+  
+  if ($config)
+diff -rc lcov-orig/bin/updateversion.pl lcov-1.1/bin/updateversion.pl
+*** lcov-orig/bin/updateversion.pl	2004-10-22 16:10:55.000000000 +0200
+--- lcov-1.1/bin/updateversion.pl	2004-10-22 16:28:39.000000000 +0200
+***************
+*** 1,4 ****
+! #!/usr/bin/perl -w
+  #
+  # Update version and date strings in LCOV files
+  #
+--- 1,4 ----
+! #! @PERL@ -w
+  #
+  # Update version and date strings in LCOV files
+  #
+diff -rc lcov-orig/Makefile lcov-1.1/Makefile
+*** lcov-orig/Makefile	2004-10-22 16:10:55.000000000 +0200
+--- lcov-1.1/Makefile	2004-10-22 16:26:18.000000000 +0200
+***************
+*** 16,23 ****
+  DATE    := $(shell date +%Y-%m-%d)
+  
+  CFG_DIR := $(PREFIX)/etc
+! BIN_DIR := $(PREFIX)/usr/bin
+! MAN_DIR := $(PREFIX)/usr/share/man
+  TMP_DIR := /tmp/lcov-tmp.$(shell echo $$$$)
+  FILES   := $(wildcard bin/*) $(wildcard man/*) README CHANGES Makefile \
+  	   $(wildcard rpm/*)
+--- 16,23 ----
+  DATE    := $(shell date +%Y-%m-%d)
+  
+  CFG_DIR := $(PREFIX)/etc
+! BIN_DIR := $(PREFIX)/bin
+! MAN_DIR := $(PREFIX)/share/man
+  TMP_DIR := /tmp/lcov-tmp.$(shell echo $$$$)
+  FILES   := $(wildcard bin/*) $(wildcard man/*) README CHANGES Makefile \
+  	   $(wildcard rpm/*)