pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
fltk14-devel: Fix include path for Cairo header
Module Name: pkgsrc-wip
Committed By: Michael Baeuerle <micha%NetBSD.org@localhost>
Pushed By: micha
Date: Fri Jan 24 12:42:07 2025 +0100
Changeset: 2a1dff898f5f98006435dc4f66ca25b54bc65129
Modified Files:
fltk14-devel/TODO
Added Files:
fltk14-devel/patches/patch-FL_Fl__Cairo.H
Log Message:
fltk14-devel: Fix include path for Cairo header
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=2a1dff898f5f98006435dc4f66ca25b54bc65129
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
fltk14-devel/TODO | 2 +-
fltk14-devel/patches/patch-FL_Fl__Cairo.H | 16 ++++++++++++++++
2 files changed, 17 insertions(+), 1 deletion(-)
diffs:
diff --git a/fltk14-devel/TODO b/fltk14-devel/TODO
index 81f1a1ecf7..1a5587607e 100644
--- a/fltk14-devel/TODO
+++ b/fltk14-devel/TODO
@@ -9,9 +9,9 @@
"fltk.list" has entires with 444 permissions, looks like a bug.
[X] Check for library suffixes on AIX, HP-UX and macOS
Should use libtool like FLTK 1.3
-[ ] Library soname should be libfltk.so.1.4
[X] Build test programs only on request (make test)
This was rejected upstream (Issue #940).
Disable build of test programs with new option "--disable-test".
[X] Fix X11 options
[X] Add cairo and wayland options
+[X] Add patch for fatal error: cairo.h: No such file or directory
diff --git a/fltk14-devel/patches/patch-FL_Fl__Cairo.H b/fltk14-devel/patches/patch-FL_Fl__Cairo.H
new file mode 100644
index 0000000000..0b7c53aab1
--- /dev/null
+++ b/fltk14-devel/patches/patch-FL_Fl__Cairo.H
@@ -0,0 +1,16 @@
+$NetBSD$
+
+Include header "cairo.h" from subdirectory "cairo".
+The rest of the sourcecode already do this.
+
+--- FL/Fl_Cairo.H.orig 2024-12-12 17:45:50.000000000 +0000
++++ FL/Fl_Cairo.H
+@@ -37,7 +37,7 @@
+
+ # ifdef FLTK_HAVE_CAIRO
+
+-# include <cairo.h>
++# include <cairo/cairo.h>
+
+ /**
+ \addtogroup group_cairo
Home |
Main Index |
Thread Index |
Old Index