mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-12 18:26:39 +02:00
25 lines
933 B
Diff
25 lines
933 B
Diff
diff --git a/plugins/colorfilter/src/colorfilter.cpp b/plugins/colorfilter/src/colorfilter.cpp
|
|
index ca7eb41..b7004b5 100644
|
|
--- a/plugins/colorfilter/src/colorfilter.cpp
|
|
+++ b/plugins/colorfilter/src/colorfilter.cpp
|
|
@@ -262,7 +262,7 @@ ColorfilterScreen::loadFilters ()
|
|
loaded = 0;
|
|
for (int i = 0; i < count; i++)
|
|
{
|
|
- name = CompString (basename (filters.at (i).s ().c_str ()));
|
|
+ name = CompString (basename ((char*)filters.at (i).s ().c_str ()));
|
|
if (boost::algorithm::ends_with (name, ".frag"))
|
|
name.erase (name.end () - 5, name.end ());
|
|
file = filters.at (i).s ();
|
|
diff --git a/compizconfig/libcompizconfig/src/main.c b/compizconfig/libcompizconfig/src/main.c
|
|
index 1664d40..0029739 100644
|
|
--- a/compizconfig/libcompizconfig/src/main.c
|
|
+++ b/compizconfig/libcompizconfig/src/main.c
|
|
@@ -34,6 +34,7 @@
|
|
#include <math.h>
|
|
#include <errno.h>
|
|
#include <assert.h>
|
|
+#include <libgen.h>
|
|
|
|
#include <ccs.h>
|
|
|