- Add rsvg_cairo.patch: Fixes Build for factory because of deprecated use of librsvg (from git) (forwarded request 137570 from toganm) OBS-URL: https://build.opensuse.org/request/show/137571 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/darktable?expand=0&rev=18
33 lines
807 B
Diff
33 lines
807 B
Diff
commit 343df29553a126f29b5379fefeb7c2cfd1adc073
|
|
Author: Tobias Ellinghaus <me@houz.org>
|
|
Date: Sat Sep 15 11:53:25 2012 +0200
|
|
|
|
Hopefully fix #8931 with an ugly hack
|
|
|
|
---
|
|
src/iop/watermark.c | 5 ++++-
|
|
1 file changed, 4 insertions(+), 1 deletion(-)
|
|
|
|
--- a/src/iop/watermark.c
|
|
+++ b/src/iop/watermark.c
|
|
@@ -38,7 +38,10 @@
|
|
#include <inttypes.h>
|
|
|
|
#include <librsvg/rsvg.h>
|
|
+// ugh, ugly hack. why do people break stuff all the time?
|
|
+#ifndef RSVG_CAIRO_H
|
|
#include <librsvg/rsvg-cairo.h>
|
|
+#endif
|
|
|
|
#include "common/metadata.h"
|
|
#include "common/utility.h"
|
|
@@ -708,7 +711,7 @@ static void refresh_watermarks( dt_iop_m
|
|
snprintf(filename, 2048, "%s/%s", configdir, d_name);
|
|
gtk_combo_box_append_text( g->combobox1, d_name );
|
|
count++;
|
|
- }
|
|
+ }
|
|
g_dir_close(dir) ;
|
|
}
|
|
|