ae69000001
* arduino and antiword is kept at -Np0 ```sh git grep -l '^patch_args=-Np0' "srcpkgs/$1*/template" | while read template; do for p in ${template%/template}/patches/*; do sed -i ' \,^[+-][+-][+-] /dev/null,b /^[*-]\+ [0-9]\+\(,[0-9]\+\)\? [*-]\+$/b s,^[*][*][*] ,&a/, /^--- /{ s,\(^--- \)\(./\)*,\1a/, s,[.][Oo][Rr][Ii][Gg]\([ /]\),\1, s/[.][Oo][Rr][Ii][Gg]$// s/[.]patched[.]\([^.]\)/.\1/ h } /^+++ -/{ g s/^--- a/+++ b/ b } s,\(^+++ \)\(./\)*,\1b/, ' "$p" done sed -i '/^patch_args=/d' $template done ```
30 lines
1.3 KiB
Diff
30 lines
1.3 KiB
Diff
diff --git libAfterImage/configure.in libAfterImage/configure.in
|
|
index ca49a50..780e0ff 100644
|
|
--- a/libAfterImage/configure.in
|
|
+++ b/libAfterImage/configure.in
|
|
@@ -590,21 +590,21 @@ else
|
|
)
|
|
if test "x$have_ft2build" = "xno" ; then
|
|
if test "x$have_freetype_freetype" = "xyes" ; then
|
|
- AC_TRY_RUN([#include <freetype/freetype.h>
|
|
+ AC_TRY_COMPILE([#include <freetype/freetype.h>
|
|
int main(){FT_Face f; return 0;}],
|
|
[have_ttf=yes],AC_MSG_RESULT(no))
|
|
elif test "x$have_freetype" = "xyes" ; then
|
|
- AC_TRY_RUN([#include <freetype.h>
|
|
+ AC_TRY_COMPILE([#include <freetype.h>
|
|
int main(){FT_Face f; return 0;}],
|
|
[have_ttf=yes],AC_MSG_RESULT(no))
|
|
fi;
|
|
elif test "x$have_freetype_freetype" = "xyes" ; then
|
|
- AC_TRY_RUN([#include <ft2build.h>
|
|
+ AC_TRY_COMPILE([#include <ft2build.h>
|
|
#include <freetype/freetype.h>
|
|
int main(){FT_Face f; return 0;}],
|
|
[have_ttf=yes],AC_MSG_RESULT(no))
|
|
elif test "x$have_freetype" = "xyes" ; then
|
|
- AC_TRY_RUN([#include <ft2build.h>
|
|
+ AC_TRY_COMPILE([#include <ft2build.h>
|
|
#include <freetype.h>
|
|
int main(){FT_Face f; return 0;}],
|
|
[have_ttf=yes],AC_MSG_RESULT(no))
|