misc/libfreetype/version.sed
author Wolfgang Steffens <WolfgangSteff@gmail.com>
Thu, 09 Jan 2014 22:38:40 +0400
branchgl2
changeset 7384 85b022855f9a
parent 5172 88f2e05288ba
permissions -rw-r--r--
Import temp.diff which is a try to fix glitches with textures edges

#! /usr/bin/sed -nf

s/^#define  *FREETYPE_MAJOR  *\([^ ][^ ]*\).*$/freetype_major="\1" ;/p
s/^#define  *FREETYPE_MINOR  *\([^ ][^ ]*\).*$/freetype_minor=".\1" ;/p
s/^#define  *FREETYPE_PATCH  *\([^ ][^ ]*\).*$/freetype_patch=".\1" ;/p