SOURCES: libart_lgpl-c_bindings.patch (NEW) - kdelibs complains ab...

sls sls at pld-linux.org
Sat Mar 31 14:19:43 CEST 2007


Author: sls                          Date: Sat Mar 31 12:19:43 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- kdelibs complains about undefined references to art_{realloc,alloc,free}

---- Files affected:
SOURCES:
   libart_lgpl-c_bindings.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/libart_lgpl-c_bindings.patch
diff -u /dev/null SOURCES/libart_lgpl-c_bindings.patch:1.1
--- /dev/null	Sat Mar 31 14:19:43 2007
+++ SOURCES/libart_lgpl-c_bindings.patch	Sat Mar 31 14:19:38 2007
@@ -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);
+ 
================================================================


More information about the pld-cvs-commit mailing list