unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
blob be053c637a5dee0b58fae1d625b7a58aa5b79c47 651 bytes (raw)
name: gnu/packages/patches/psm-ldflags.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
 
--- psm-3.3/ipath/Makefile~	1970-01-01 01:00:00.000000000 +0100
+++ psm-3.3/ipath/Makefile	2017-10-22 15:10:10.269177711 +0100
@@ -73,7 +73,7 @@
 ${TARGLIB}.so.${MAJOR}.${MINOR}: ${${TARGLIB}-objs}
 	date +'static __attribute__ ((unused)) char __psc_infinipath_revision[] ="$$""Date: %F %R ${rpm_extra_description}InfiniPath $$";' > _revision.c
 	$(CC) -c $(BASECFLAGS) $(INCLUDES) _revision.c -o _revision.o
-	$(CC) -o $@ -Wl,-soname=${TARGLIB}.so.${MAJOR} -shared \
+	$(CC) -o $@ -Wl,-soname=${TARGLIB}.so.${MAJOR} $(LDFLAGS) -shared \
 		-Wl,--unique='*fastpath*' \
 		${${TARGLIB}-objs} _revision.o $(LDFLAGS) $(if $(MIC:0=),$(SCIF_LINK_FLAGS))
 

debug log:

solving be053c637 ...
found be053c637 in https://yhetil.org/guix-patches/20171106171626.29830-2-fx@gnu.org/

applying [1/1] https://yhetil.org/guix-patches/20171106171626.29830-2-fx@gnu.org/
diff --git a/gnu/packages/patches/psm-ldflags.patch b/gnu/packages/patches/psm-ldflags.patch
new file mode 100644
index 000000000..be053c637

1:11: space before tab in indent.
 	date +'static __attribute__ ((unused)) char __psc_infinipath_revision[] ="$$""Date: %F %R ${rpm_extra_description}InfiniPath $$";' > _revision.c
1:12: space before tab in indent.
 	$(CC) -c $(BASECFLAGS) $(INCLUDES) _revision.c -o _revision.o
1:15: space before tab in indent.
 		-Wl,--unique='*fastpath*' \
1:16: space before tab in indent.
 		${${TARGLIB}-objs} _revision.o $(LDFLAGS) $(if $(MIC:0=),$(SCIF_LINK_FLAGS))
1:17: trailing whitespace.
 
Checking patch gnu/packages/patches/psm-ldflags.patch...
Applied patch gnu/packages/patches/psm-ldflags.patch cleanly.
warning: squelched 1 whitespace error
warning: 6 lines add whitespace errors.

index at:
100644 be053c637a5dee0b58fae1d625b7a58aa5b79c47	gnu/packages/patches/psm-ldflags.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).