unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
blob eb305339f53551e722651274f20e7f5b98255f49 2103 bytes (raw)
name: gnu/packages/patches/clog-fix-shared-build.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
 
Author: Antero Mejr <antero@mailbox.org>
Notes: Disabled function visibility hacks. Enabled non-static builds.

diff --git a/deps/clog/CMakeLists.txt b/deps/clog/CMakeLists.txt
index 6e50c41..db02e95 100644
--- a/deps/clog/CMakeLists.txt
+++ b/deps/clog/CMakeLists.txt
@@ -55,7 +55,7 @@ IF(CLOG_BUILD_TESTS)
 ENDIF()
 
 # ---[ clog library
-ADD_LIBRARY(clog STATIC src/clog.c)
+ADD_LIBRARY(clog src/clog.c)
 SET_TARGET_PROPERTIES(clog PROPERTIES
   C_STANDARD 99
   C_EXTENSIONS NO)
diff --git a/deps/clog/include/clog.h b/deps/clog/include/clog.h
index 4143761..aa9000f 100644
--- a/deps/clog/include/clog.h
+++ b/deps/clog/include/clog.h
@@ -11,16 +11,6 @@
 #define CLOG_INFO 4
 #define CLOG_DEBUG 5
 
-#ifndef CLOG_VISIBILITY
-	#if defined(__ELF__)
-		#define CLOG_VISIBILITY __attribute__((__visibility__("internal")))
-	#elif defined(__MACH__)
-		#define CLOG_VISIBILITY __attribute__((__visibility__("hidden")))
-	#else
-		#define CLOG_VISIBILITY
-	#endif
-#endif
-
 #ifndef CLOG_ARGUMENTS_FORMAT
 	#if defined(__GNUC__)
 		#define CLOG_ARGUMENTS_FORMAT __attribute__((__format__(__printf__, 1, 2)))
@@ -33,11 +23,11 @@
 extern "C" {
 #endif
 
-CLOG_VISIBILITY void clog_vlog_debug(const char* module, const char* format, va_list args);
-CLOG_VISIBILITY void clog_vlog_info(const char* module, const char* format, va_list args);
-CLOG_VISIBILITY void clog_vlog_warning(const char* module, const char* format, va_list args);
-CLOG_VISIBILITY void clog_vlog_error(const char* module, const char* format, va_list args);
-CLOG_VISIBILITY void clog_vlog_fatal(const char* module, const char* format, va_list args);
+void clog_vlog_debug(const char* module, const char* format, va_list args);
+void clog_vlog_info(const char* module, const char* format, va_list args);
+void clog_vlog_warning(const char* module, const char* format, va_list args);
+void clog_vlog_error(const char* module, const char* format, va_list args);
+void clog_vlog_fatal(const char* module, const char* format, va_list args);
 
 #define CLOG_DEFINE_LOG_DEBUG(log_debug_function_name, module, level) \
 	CLOG_ARGUMENTS_FORMAT \

debug log:

solving eb305339f5 ...
found eb305339f5 in https://yhetil.org/guix-patches/20240306194037.17992-15-david.elsing@posteo.net/ ||
	https://yhetil.org/guix-patches/20240323220518.25063-15-david.elsing@posteo.net/ ||
	https://yhetil.org/guix-patches/20240320223906.13214-15-david.elsing@posteo.net/ ||
	https://yhetil.org/guix-patches/20240312225211.16427-15-david.elsing@posteo.net/
found bf80544b90 in https://git.savannah.gnu.org/cgit/guix.git
preparing index
index prepared:
100644 bf80544b903f601e696d03c53bc5b9e73180f462	gnu/packages/patches/clog-fix-shared-build.patch

applying [1/1] https://yhetil.org/guix-patches/20240306194037.17992-15-david.elsing@posteo.net/
diff --git a/gnu/packages/patches/clog-fix-shared-build.patch b/gnu/packages/patches/clog-fix-shared-build.patch
index bf80544b90..eb305339f5 100644

Checking patch gnu/packages/patches/clog-fix-shared-build.patch...
Applied patch gnu/packages/patches/clog-fix-shared-build.patch cleanly.

skipping https://yhetil.org/guix-patches/20240323220518.25063-15-david.elsing@posteo.net/ for eb305339f5
skipping https://yhetil.org/guix-patches/20240320223906.13214-15-david.elsing@posteo.net/ for eb305339f5
skipping https://yhetil.org/guix-patches/20240312225211.16427-15-david.elsing@posteo.net/ for eb305339f5
index at:
100644 eb305339f53551e722651274f20e7f5b98255f49	gnu/packages/patches/clog-fix-shared-build.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).