unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob e8bcb326f2f5b47c70e3ee3e8b7240513cf01372 926 bytes (raw)
name: gnu/packages/patches/noweb.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
 
diff --git a/src/Makefile b/src/Makefile
index 389f296..fc15721 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -10,7 +10,10 @@ LIBSRC=awk
 # If you are lucky enough to have an Icon compiler icont, use ICONC=iconc
 ICONC=icont
 ICONT=icont
+
+ifeq ($(GITVERSION),)
 GITVERSION=`./gitversion`
+endif
 
 # BIN is where the commands (notangle, noweave, nountangle, noroots) land
 # LIB is where the pieces of the pipes (nt, markup, unmarkup) are stored
diff --git a/src/c/Makefile b/src/c/Makefile
index ed7b72f..78af774 100644
--- a/src/c/Makefile
+++ b/src/c/Makefile
@@ -93,8 +93,8 @@ fakepretty: $(FPOBJS)
 	$(CC) $(CFLAGS) -o $@ $(FPOBJS)
 
 
-gitversion.c: ../gitversion ../../.git/refs/heads/master
-	echo 'const char gitversion[] = "'"$$(../gitversion -prefix)"'";' > $@
+gitversion.c: #../gitversion ../../.git/refs/heads/master
+	echo 'const char gitversion[] = "'"$$GITVERSION"'";' > $@
 
 
 columns.o:      columns.h

debug log:

solving e8bcb326f2 ...
found e8bcb326f2 in https://yhetil.org/guix-devel/CAJ-oi0vAQ0uVPN28SWrLy14cCjjSOAWsqF3CpXvaNjNUvJQ_cQ@mail.gmail.com/

applying [1/1] https://yhetil.org/guix-devel/CAJ-oi0vAQ0uVPN28SWrLy14cCjjSOAWsqF3CpXvaNjNUvJQ_cQ@mail.gmail.com/
diff --git a/gnu/packages/patches/noweb.patch b/gnu/packages/patches/noweb.patch
new file mode 100644
index 0000000000..e8bcb326f2

1:19: trailing whitespace.
 
1:27: space before tab in indent.
 	$(CC) $(CFLAGS) -o $@ $(FPOBJS)
1:28: trailing whitespace.
 
1:29: trailing whitespace.
 
1:34: trailing whitespace.
 
Checking patch gnu/packages/patches/noweb.patch...
Applied patch gnu/packages/patches/noweb.patch cleanly.
warning: squelched 1 whitespace error
warning: 6 lines add whitespace errors.

index at:
100644 e8bcb326f2f5b47c70e3ee3e8b7240513cf01372	gnu/packages/patches/noweb.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).