all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob 684c5043bec71fb292358f2c39ab6cb2dcd1bade 1409 bytes (raw)
name: gnu/packages/patches/pstoedit-fix-plainC.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
 
Retrieved from Fedora: https://src.fedoraproject.org/rpms/pstoedit/tree

diff --git a/src/pstoedit.cpp b/src/pstoedit.cpp
index a718f37..ac0df37 100755
--- a/src/pstoedit.cpp
+++ b/src/pstoedit.cpp
@@ -327,6 +327,11 @@ extern FILE *yyin;				// used by lexer
 						// otherwise we could declare it locally where it is used
 
 
+extern "C" DLLEXPORT void loadpstoeditplugins_plainC(const char *progname, int verbose)
+{
+  return loadpstoeditplugins(progname, cerr, (bool) verbose);
+}
+
 static void usage(ostream & outstream, bool forTeX, bool withdetails, bool withcategories )
 {
 	if (withcategories) {
diff --git a/src/pstoedit.h b/src/pstoedit.h
index 294b3c2..74ebf2a 100755
--- a/src/pstoedit.h
+++ b/src/pstoedit.h
@@ -100,8 +100,13 @@ void clearPstoeditDriverInfo_plainC(struct DriverDescription_S * ptr);
 
 #ifdef __cplusplus
 extern "C" DLLEXPORT
-#endif
 void loadpstoeditplugins(const char* progname, std::ostream & errstream, bool verbose);
+#endif
+
+#ifdef __cplusplus
+extern "C" DLLEXPORT
+#endif
+void loadpstoeditplugins_plainC(const char* progname, int verbose);
 
 #ifdef __cplusplus
 extern "C" DLLEXPORT
--- a/src/pstoedit.orig.h	2023-07-22 19:27:43.691166652 +0200
+++ b/src/pstoedit.h	2023-07-22 19:31:18.897952130 +0200
@@ -37,6 +37,7 @@
 #endif
 
 #include "pstoedll.h"
+#include <stdbool.h>
 
 typedef int (*execute_interpreter_function)(int argc, const char * const argv[]);
 

debug log:

solving 684c5043be ...
found 684c5043be in https://git.savannah.gnu.org/cgit/guix.git

(*) 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.