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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
 
Description: Avoid compilation error with gcc-4.4.
 "const char* -> char*" conversion is fatal in that version
Origin: vendor, https://bugs.launchpad.net/ubuntu/+source/kobodeluxe/+bug/461373
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/kobodeluxe/+bug/461373
Bug-Debian: http://bugs.debian.org/552548
Forwarded: http://www.freelists.org/post/olofsonprojects/kobodlpatch-compile-error-in-windowcpp-with-g44
--- a/graphics/window.cpp
+++ b/graphics/window.cpp
@@ -398,7 +398,7 @@ void window_t::center_token_fxp(int _x, 
 		 */
 		if(token)
 		{
-			char *tok = strchr(txt, token);
+			const char *tok = strchr(txt, token);
 			if(tok)
 				tokpos = tok-txt;
 			else

debug log:

solving a14ed4b ...
found a14ed4b in https://yhetil.org/guix/87h98bag8p.fsf@dustycloud.org/ ||
	https://yhetil.org/guix/CANR+FbvbJG6csn0Lbs1wnNwtPydPty6i5yvW1g0iKsViTC612g@mail.gmail.com/

applying [1/1] https://yhetil.org/guix/87h98bag8p.fsf@dustycloud.org/
diff --git a/gnu/packages/patches/kobodeluxe_const_charp_conversion.patch b/gnu/packages/patches/kobodeluxe_const_charp_conversion.patch
new file mode 100644
index 0000000..a14ed4b

1:15: trailing whitespace.
@@ -398,7 +398,7 @@ void window_t::center_token_fxp(int _x, 
1:16: space before tab in indent.
 		 */
1:17: space before tab in indent.
 		if(token)
1:18: space before tab in indent.
 		{
1:21: space before tab in indent.
 			if(tok)
Checking patch gnu/packages/patches/kobodeluxe_const_charp_conversion.patch...
Applied patch gnu/packages/patches/kobodeluxe_const_charp_conversion.patch cleanly.
warning: squelched 2 whitespace errors
warning: 7 lines add whitespace errors.

skipping https://yhetil.org/guix/CANR+FbvbJG6csn0Lbs1wnNwtPydPty6i5yvW1g0iKsViTC612g@mail.gmail.com/ for a14ed4b
index at:
100644 a14ed4bfaae737f55e5a2b19db083e95839781e1	gnu/packages/patches/kobodeluxe_const_charp_conversion.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.