all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob b995ab02511de92e304374a52f810b7ddfca313c 1451 bytes (raw)
name: gnu/packages/patches/surfraw-find-perl.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
 
diff -Naur surfraw-2.2.9-orig/configure.in surfraw-2.2.9/configure.in
--- surfraw-2.2.9-orig/configure.in	2013-12-10 18:07:06.000000000 +0100
+++ surfraw-2.2.9/configure.in	2017-12-17 22:19:14.648432687 +0100
@@ -53,6 +53,8 @@
 dnl Checks for programs.
 AC_PROG_INSTALL
 AC_PROG_AWK
+AC_PATH_PROG([PERL], [perl], [perl])
+AC_SUBST(PERL)
 
 AC_CONFIG_FILES([Makefile surfraw.lsm surfraw.spec elvi/Makefile test/Makefile examples/Makefile])
 AC_OUTPUT
diff -Naur surfraw-2.2.9-orig/Makefile.am surfraw-2.2.9/Makefile.am
--- surfraw-2.2.9-orig/Makefile.am	2013-12-10 18:07:06.000000000 +0100
+++ surfraw-2.2.9/Makefile.am	2017-12-17 22:13:48.205031190 +0100
@@ -35,6 +35,7 @@
 	sed -e 's,@VERSION\@,${VERSION},g; '\
 	    -e 's,@ELVIDIR\@,${ELVIDIR},g; '\
 	    -e 's,@AWK\@,${AWK},g; '\
+	    -e 's,@PERL\@,${PERL},g; '\
 	    -e 's,@sysconfdir\@,${sysconfdir},g ' $? > $@.tmp
 	chmod +x $@.tmp
 	mv $@.tmp $@
diff -Naur surfraw-2.2.9-orig/surfraw.IN surfraw-2.2.9/surfraw.IN
--- surfraw-2.2.9-orig/surfraw.IN	2013-12-10 18:07:06.000000000 +0100
+++ surfraw-2.2.9/surfraw.IN	2017-12-17 22:14:01.613171144 +0100
@@ -160,7 +160,7 @@
 
 quote_ifs () {
 	 if [ -z "$1" ];   then return;  fi
-     perl -e '$ifs=$ENV{IFS} || " "; $arg=shift;if($arg =~/[$ifs]/) { $arg="\"$arg\""; } print "$arg\n"; ' -- "$1"
+     @PERL@ -e '$ifs=$ENV{IFS} || " "; $arg=shift;if($arg =~/[$ifs]/) { $arg="\"$arg\""; } print "$arg\n"; ' -- "$1"
 }
 
 bookmark_file_search () {

debug log:

solving b995ab025 ...
found b995ab025 in https://yhetil.org/guix/1513547487.163724.1208065704.02B619BB@webmail.messagingengine.com/

applying [1/1] https://yhetil.org/guix/1513547487.163724.1208065704.02B619BB@webmail.messagingengine.com/
diff --git a/gnu/packages/patches/surfraw-find-perl.patch b/gnu/packages/patches/surfraw-find-perl.patch
new file mode 100644
index 000000000..b995ab025

1:16: trailing whitespace.
 
1:23: space before tab in indent.
 	sed -e 's,@VERSION\@,${VERSION},g; '\
1:24: space before tab in indent.
 	    -e 's,@ELVIDIR\@,${ELVIDIR},g; '\
1:25: space before tab in indent.
 	    -e 's,@AWK\@,${AWK},g; '\
1:27: space before tab in indent.
 	    -e 's,@sysconfdir\@,${sysconfdir},g ' $? > $@.tmp
Checking patch gnu/packages/patches/surfraw-find-perl.patch...
Applied patch gnu/packages/patches/surfraw-find-perl.patch cleanly.
warning: squelched 5 whitespace errors
warning: 10 lines add whitespace errors.

index at:
100644 b995ab02511de92e304374a52f810b7ddfca313c	gnu/packages/patches/surfraw-find-perl.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.