unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
blob ee8c347089914ed38ee2f16e776d5d5d52fc1fd8 1132 bytes (raw)
name: gnu/packages/patches/xchat-2.8.8-configure-with-gmodule.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
 
Description: Don't strip -lgmodule-2.0 from RDYNAMIC_LIBS
Author: R Veera Kumar <vkor@vkten.in>

---
diff -uN a/configure b/configure
--- a/configure	2020-03-22 07:31:13.869314485 +0530
+++ b/configure	2020-03-22 07:33:25.295563550 +0530
@@ -18010,7 +18010,7 @@
 fi
 
 
-				RDYNAMIC_FLAGS="`$pkgconfigpath gmodule-2.0 --libs | $sedpath 's/ -lgmodule-2.0//'`"
+				RDYNAMIC_FLAGS="`$pkgconfigpath gmodule-2.0 --libs`"
 		LIBS="$LIBS $RDYNAMIC_FLAGS"
 		if test "$LD" = ""; then
 			VS="`ld --help | grep version-script 2> /dev/null`"
diff -uN a/configure.in b/configure.in
--- a/configure.in	2020-03-22 07:26:51.872539516 +0530
+++ b/configure.in	2020-03-22 07:32:28.192334665 +0530
@@ -445,8 +445,7 @@
 	if test "$have_dl" = yes; then
 		AC_DEFINE(USE_PLUGIN)
 		AC_PATH_PROG(pkgconfigpath, pkg-config)
-		dnl we just need the -Wl,--export-dynamic, but not -lgmodule-2.0
-		RDYNAMIC_FLAGS="`$pkgconfigpath gmodule-2.0 --libs | $sedpath 's/ -lgmodule-2.0//'`"
+		RDYNAMIC_FLAGS="`$pkgconfigpath gmodule-2.0 --libs`"
 		LIBS="$LIBS $RDYNAMIC_FLAGS"
 		if test "$LD" = ""; then
 			VS="`ld --help | grep version-script 2> /dev/null`"

debug log:

solving ee8c347089 ...
found ee8c347089 in https://yhetil.org/guix-patches/20200324094723.GA3296@tulip/

applying [1/1] https://yhetil.org/guix-patches/20200324094723.GA3296@tulip/
diff --git a/gnu/packages/patches/xchat-2.8.8-configure-with-gmodule.patch b/gnu/packages/patches/xchat-2.8.8-configure-with-gmodule.patch
new file mode 100644
index 0000000000..ee8c347089

1:16: trailing whitespace.
 
1:17: trailing whitespace.
 
1:20: space before tab in indent.
 		LIBS="$LIBS $RDYNAMIC_FLAGS"
1:21: space before tab in indent.
 		if test "$LD" = ""; then
1:22: space before tab in indent.
 			VS="`ld --help | grep version-script 2> /dev/null`"
Checking patch gnu/packages/patches/xchat-2.8.8-configure-with-gmodule.patch...
Applied patch gnu/packages/patches/xchat-2.8.8-configure-with-gmodule.patch cleanly.
warning: squelched 6 whitespace errors
warning: 11 lines add whitespace errors.

index at:
100644 ee8c347089914ed38ee2f16e776d5d5d52fc1fd8	gnu/packages/patches/xchat-2.8.8-configure-with-gmodule.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).