[aseprite] 245/250: Update patch to really find freetype.

Tobias Hansen thansen at moszumanska.debian.org
Sun Dec 20 15:27:36 UTC 2015


This is an automated email from the git hooks/post-receive script.

thansen pushed a commit to branch master
in repository aseprite.

commit 11cea300af181fe97b76a2806b4d03995c9bcc2e
Author: Tobias Hansen <thansen at localhost.localdomain>
Date:   Wed Dec 16 13:45:56 2015 +0000

    Update patch to really find freetype.
---
 debian/patches/find_freetype.patch | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/debian/patches/find_freetype.patch b/debian/patches/find_freetype.patch
index 626cffd..cfa592e 100644
--- a/debian/patches/find_freetype.patch
+++ b/debian/patches/find_freetype.patch
@@ -1,11 +1,15 @@
 --- a/CMakeLists.txt
 +++ b/CMakeLists.txt
-@@ -216,7 +216,7 @@
+@@ -215,8 +215,10 @@
+ 
  # freetype
  if(USE_SHARED_FREETYPE)
-   find_library(FREETYPE_LIBRARY NAMES freetype)
+-  find_library(FREETYPE_LIBRARY NAMES freetype)
 -  find_path(FREETYPE_INCLUDE_DIR NAMES freetype.h)
-+  find_path(FREETYPE_INCLUDE_DIR NAMES freetype/freetype.h)
++  find_package(FREETYPE REQUIRED)
++  if(NOT FREETYPE_FOUND)
++    message(FATAL_ERROR "freetype not found")
++  endif()
  else()
    set(FREETYPE_LIBRARY freetype)
    set(FREETYPE_INCLUDE_DIR ${FREETYPE_DIR}/include)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/aseprite.git



More information about the Pkg-games-commits mailing list