summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--patches/fontconfig-2.11.95.local.patch11
-rw-r--r--vars/build.vars16
2 files changed, 26 insertions, 1 deletions
diff --git a/patches/fontconfig-2.11.95.local.patch b/patches/fontconfig-2.11.95.local.patch
new file mode 100644
index 00000000..23ff41f7
--- /dev/null
+++ b/patches/fontconfig-2.11.95.local.patch
@@ -0,0 +1,11 @@
+--- fontconfig-2.11.95/src/fcstat.orig.c 2017-06-06 21:01:30.722966877 +0200
++++ fontconfig-2.11.95/src/fcstat.c 2017-06-06 21:01:56.538857991 +0200
+@@ -365,7 +365,7 @@
+ # endif
+ # if defined(HAVE_STRUCT_STATFS_F_FSTYPENAME)
+ p = buf.f_fstypename;
+-# elif defined(__linux__)
++# elif defined(__linux__) || defined(__midipix__)
+ switch (buf.f_type)
+ {
+ case 0x6969: /* nfs */
diff --git a/vars/build.vars b/vars/build.vars
index f080e866..2582c464 100644
--- a/vars/build.vars
+++ b/vars/build.vars
@@ -258,7 +258,8 @@ libpipeline libressl libevent libfetch libgpg_error libassuan libfirm libgcrypt
lua ncurses ncursestw ncursesw npth sqlite3 xz";
LIB_PACKAGES_PACKAGES_X11="
inputproto kbproto xcb_proto xproto libXau libpthread_stubs xcb xextproto xtrans libX11
-libXext libICE libSM libXt libXmu renderproto Xrender libXpm libXaw libxkbfile";
+libXext freetype fontconfig libXft libICE libSM libXt libXmu renderproto Xrender libXpm
+libXaw libxkbfile";
LIB_PACKAGES_PACKAGES_LIBS="
cmake llvm_host";
LIB_PACKAGES_PACKAGES="
@@ -444,6 +445,19 @@ LIB_PACKAGES_PREFIX="${PREFIX_NATIVE}";
: ${PKG_LIBXEXT_SHA256SUM:=b518d4d332231f313371fdefac59e3776f4f0823bcb23cf7c7305bfb57b16e35};
: ${PKG_LIBXEXT_VERSION:=1.3.3};
: ${PKG_LIBXEXT_URL:=https://www.x.org/releases/individual/lib/libXext-${PKG_LIBXEXT_VERSION}.tar.bz2};
+: ${PKG_FREETYPE_SHA256SUM:=a3c603ed84c3c2495f9c9331fe6bba3bb0ee65e06ec331e0a0fb52158291b40b};
+: ${PKG_FREETYPE_VERSION:=2.8};
+: ${PKG_FREETYPE_URL:=http://download.savannah.gnu.org/releases/freetype/freetype-${PKG_FREETYPE_VERSION}.tar.bz2};
+: ${PKG_FREETYPE_MAKEFLAGS_BUILD_EXTRA:=LIBTOOL=slibtool};
+: ${PKG_FREETYPE_MAKEFLAGS_INSTALL_EXTRA:=LIBTOOL=slibtool};
+: ${PKG_FONTCONFIG_SHA256SUM:=7b165eee7aa22dcc1557db56f58d905b6a14b32f9701c79427452474375b4c89};
+: ${PKG_FONTCONFIG_VERSION:=2.11.95};
+: ${PKG_FONTCONFIG_URL:=https://www.freedesktop.org/software/fontconfig/release/fontconfig-${PKG_FONTCONFIG_VERSION}.tar.bz2};
+: ${PKG_FONTCONFIG_CFLAGS_CONFIGURE_EXTRA:=-I${PREFIX_NATIVE}/include/freetype2};
+: ${PKG_LIBXFT_SHA256SUM:=7fce32b92dcb7b2869bed567af2abc7bbad0d5d6fcf471b8a3e137964a31bbbd};
+: ${PKG_LIBXFT_VERSION:=2.3.1};
+: ${PKG_LIBXFT_URL:=https://www.x.org/releases/individual/lib/libXft-${PKG_LIBXFT_VERSION}.tar.bz2};
+: ${PKG_LIBXFT_CFLAGS_BUILD_EXTRA:=-I${PREFIX_NATIVE}/include/freetype2};
: ${PKG_LIBICE_SHA256SUM:=8f7032f2c1c64352b5423f6b48a8ebdc339cc63064af34d66a6c9aa79759e202};
: ${PKG_LIBICE_VERSION:=1.0.9};
: ${PKG_LIBICE_URL:=https://www.x.org/releases/individual/lib/libICE-${PKG_LIBICE_VERSION}.tar.bz2};