]> git.pld-linux.org Git - packages/libart_lgpl.git/commitdiff
- kdelibs complains about undefined references to art_{realloc,alloc,free}
authorSzymon Siwek <sls@pld-linux.org>
Sat, 31 Mar 2007 12:19:38 +0000 (12:19 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libart_lgpl-c_bindings.patch -> 1.1

libart_lgpl-c_bindings.patch [new file with mode: 0644]

diff --git a/libart_lgpl-c_bindings.patch b/libart_lgpl-c_bindings.patch
new file mode 100644 (file)
index 0000000..806ce4e
--- /dev/null
@@ -0,0 +1,24 @@
+--- libart_lgpl-2.3.19/art_misc.h.orig 2007-03-31 00:14:21.000000000 +0000
++++ libart_lgpl-2.3.19/art_misc.h      2007-03-31 00:16:41.000000000 +0000
+@@ -34,6 +34,10 @@
+ #include <libart_lgpl/art_config.h>
+ #endif
++#ifdef __cplusplus
++extern "C" {
++#endif /* __cplusplus */
++
+ void *art_alloc(size_t size);
+ void art_free(void *ptr);
+ void *art_realloc(void *ptr, size_t size);
+@@ -74,10 +78,6 @@
+ #define ART_GNUC_NORETURN
+ #endif  /* !__GNUC__ */
+-#ifdef __cplusplus
+-extern "C" {
+-#endif
+-
+ void ART_GNUC_NORETURN
+ art_die (const char *fmt, ...) ART_GNUC_PRINTF (1, 2);
This page took 0.21654 seconds and 4 git commands to generate.