summaryrefslogtreecommitdiff
path: root/freetype-2.8-multilib.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-01 15:08:38 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-01 15:08:38 +0000
commit8ffb8f6c2d13a6bbb908c7ba78b5274f202df83f (patch)
tree041a526ae6c7d8d99a3f055bad4ff26291430e68 /freetype-2.8-multilib.patch
parentd32744a832764dd9195b775b8430bf545c610168 (diff)
automatic import of freetypeopeneuler24.03_LTSopeneuler23.09
Diffstat (limited to 'freetype-2.8-multilib.patch')
-rw-r--r--freetype-2.8-multilib.patch65
1 files changed, 65 insertions, 0 deletions
diff --git a/freetype-2.8-multilib.patch b/freetype-2.8-multilib.patch
new file mode 100644
index 0000000..3ffd146
--- /dev/null
+++ b/freetype-2.8-multilib.patch
@@ -0,0 +1,65 @@
+--- freetype-2.9/builds/unix/freetype-config.in
++++ freetype-2.9/builds/unix/freetype-config.in
+@@ -13,45 +13,25 @@ LC_ALL=C
+ export LC_ALL
+
+
+-# if `pkg-config' is available, use values from `freetype2.pc'
+-%PKG_CONFIG% --atleast-pkgconfig-version 0.24 >/dev/null 2>&1
+-if test $? -eq 0 ; then
+- # note that option `--variable' is not affected by the
+- # PKG_CONFIG_SYSROOT_DIR environment variable
+- if test "x$SYSROOT" != "x" ; then
+- PKG_CONFIG_SYSROOT_DIR="$SYSROOT"
+- export PKG_CONFIG_SYSROOT_DIR
+- fi
+-
+- prefix=`%PKG_CONFIG% --variable prefix freetype2`
+- exec_prefix=`%PKG_CONFIG% --variable exec_prefix freetype2`
+-
+- includedir=`%PKG_CONFIG% --variable includedir freetype2`
+- libdir=`%PKG_CONFIG% --variable libdir freetype2`
+-
+- version=`%PKG_CONFIG% --modversion freetype2`
+-
+- cflags=`%PKG_CONFIG% --cflags freetype2`
+- dynamic_libs=`%PKG_CONFIG% --libs freetype2`
+- static_libs=`%PKG_CONFIG% --static --libs freetype2`
+-else
+- prefix="%prefix%"
+- exec_prefix="%exec_prefix%"
+-
+- includedir="%includedir%"
+- libdir="%libdir%"
+-
+- version=%ft_version%
+-
+- cflags="-I${SYSROOT}$includedir/freetype2"
+- dynamic_libs="-lfreetype"
+- static_libs="%LIBSSTATIC_CONFIG%"
+- if test "${SYSROOT}$libdir" != "/usr/lib" &&
+- test "${SYSROOT}$libdir" != "/usr/lib64" ; then
+- libs_L="-L${SYSROOT}$libdir"
+- fi
++# note that option `--variable' is not affected by the
++# PKG_CONFIG_SYSROOT_DIR environment variable
++if test "x$SYSROOT" != "x" ; then
++ PKG_CONFIG_SYSROOT_DIR="$SYSROOT"
++ export PKG_CONFIG_SYSROOT_DIR
+ fi
+
++prefix=`pkgconf --variable prefix freetype2`
++exec_prefix=`pkgconf --variable exec_prefix freetype2`
++
++includedir=`pkgconf --variable includedir freetype2`
++libdir=`pkgconf --variable libdir freetype2`
++
++version=`pkgconf --modversion freetype2`
++
++cflags=`pkgconf --cflags freetype2`
++dynamic_libs=`pkgconf --libs freetype2`
++static_libs=`pkgconf --static --libs freetype2`
++
+ orig_prefix=$prefix
+ orig_exec_prefix=$exec_prefix
+