Browse Source

malloc/stdlib replacement is always valid

master
Thomas Lotterer 23 years ago committed by Ralf S. Engelschall
parent
commit
cf4015af9d
  1. 9
      gd1/gd1.spec

9
gd1/gd1.spec

@ -66,11 +66,10 @@ Provides: GD
%{l_shtool} subst \
-e 's;^\(#define DEFAULT_FONTPATH\).*$;\1 "%{l_prefix}/share/fonts/truetype";' \
gd.h
case "%{l_target}" in
*-freebsd5*) %{l_shtool} subst \
-e 's;^#include <malloc.h>*$;#include <stdlib.h>;' \
gdcache.h;;
esac
%{l_shtool} subst \
-e 's;^#include <malloc.h>*$;#include <stdlib.h>;' \
gdcache.h
%build
%{l_make} %{l_mflags} \

Loading…
Cancel
Save