ports/devel/electron28/files/patch-third__party_fontconfig_include_config.h
Hiroki Tagato f88751e60a devel/electron28: add port: Build cross-platform desktop apps with JavaScript, HTML, and CSS
Build cross platform desktop apps with JavaScript, HTML, and CSS.

It's easier than you think.

If you can build a website, you can build a desktop app. Electron is a
framework for creating native applications with web technologies like
JavaScript, HTML, and CSS. It takes care of the hard parts so you can
focus on the core of your application.

WWW: https://electronjs.org/
2024-01-29 16:47:07 +09:00

89 lines
2.6 KiB
C

--- third_party/fontconfig/include/config.h.orig 2023-03-30 00:34:12 UTC
+++ third_party/fontconfig/include/config.h
@@ -18,13 +18,13 @@
#define ENABLE_NLS 1
/* Additional font directories */
-#define FC_ADD_FONTS "yes"
+#define FC_ADD_FONTS "/usr/local/share/fonts"
/* Architecture prefix to use for cache file names */
/* #undef FC_ARCHITECTURE */
/* System font directory */
-#define FC_DEFAULT_FONTS "<dir>/usr/share/fonts</dir>"
+#define FC_DEFAULT_FONTS "<dir>/usr/X11R6/lib/X11/fonts</dir>"
/* The type of len parameter of the gperf hash/lookup function */
#define FC_GPERF_SIZE_T size_t
@@ -99,7 +99,7 @@
#define HAVE_GETPAGESIZE 1
/* Define to 1 if you have the `getprogname' function. */
-/* #undef HAVE_GETPROGNAME */
+#define HAVE_GETPROGNAME 1
/* Define if the GNU gettext() function is already present or preinstalled. */
#define HAVE_GETTEXT 1
@@ -141,7 +141,7 @@
/* #undef HAVE_NDIR_H */
/* Define to 1 if you have the 'posix_fadvise' function. */
-#define HAVE_POSIX_FADVISE 1
+#define HAVE_POSIX_FADVISE 0
/* Have POSIX threads */
#define HAVE_PTHREAD 1
@@ -156,11 +156,14 @@
#define HAVE_RANDOM 1
/* Define to 1 if you have the `random_r' function. */
-#define HAVE_RANDOM_R 1
+/* #undef HAVE_RANDOM_R */
/* Define to 1 if you have the `rand_r' function. */
#define HAVE_RAND_R 1
+/* Define to 1 if you have the `arc4_random' function. */
+#define HAVE_ARC4RANDOM 1
+
/* Define to 1 if you have the `readlink' function. */
#define HAVE_READLINK 1
@@ -204,7 +207,7 @@
#define HAVE_STRUCT_STATFS_F_FLAGS 1
/* Define to 1 if `f_fstypename' is a member of `struct statfs'. */
-/* #undef HAVE_STRUCT_STATFS_F_FSTYPENAME */
+#define HAVE_STRUCT_STATFS_F_FSTYPENAME 1
/* Define to 1 if `f_basetype' is a member of `struct statvfs'. */
/* #undef HAVE_STRUCT_STATVFS_F_BASETYPE */
@@ -230,7 +233,7 @@
#define HAVE_SYS_PARAM_H 1
/* Define to 1 if you have the <sys/statfs.h> header file. */
-#define HAVE_SYS_STATFS_H 1
+/* #undef HAVE_SYS_STATFS_H */
/* Define to 1 if you have the <sys/statvfs.h> header file. */
#define HAVE_SYS_STATVFS_H 1
@@ -242,7 +245,7 @@
#define HAVE_SYS_TYPES_H 1
/* Define to 1 if you have the <sys/vfs.h> header file. */
-#define HAVE_SYS_VFS_H 1
+/* #undef HAVE_SYS_VFS_H */
/* Define to 1 if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1
@@ -265,7 +268,8 @@
/* Define to 1 if you have the `_mktemp_s' function. */
/* #undef HAVE__MKTEMP_S */
-/* Define to the sub-directory where libtool stores uninstalled libraries. */
+/* Define to the sub-directory in which libtool stores uninstalled libraries.
+ */
#define LT_OBJDIR ".libs/"
/* Name of package */