Dash:
[t2-trunk.git] / package / graphic / libtwin / non-ppc.patch
blob5a6bf6f55145402d09550a9606277e756046795a
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../libtwin/non-ppc.patch
5 # Copyright (C) 2007 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 --- libtwin-0.0.2/libtwin/twin_feature.c.vanilla 2007-10-19 10:54:08.000000000 +0200
18 +++ libtwin-0.0.2/libtwin/twin_feature.c 2007-10-19 11:00:48.000000000 +0200
19 @@ -54,8 +54,6 @@
20 return altivec;
23 -#else
24 -#define _twin_have_altivec()
25 #endif /* HAVE_ALTIVEC */
27 int twin_has_feature(unsigned int feature)
28 @@ -65,8 +63,10 @@
30 void twin_feature_init(void)
32 +#ifdef HAVE_ALTIVEC
33 if (_twin_have_altivec())
34 _twin_features |= TWIN_FEATURE_ALTIVEC;
35 +#endif
37 _twin_draw_set_features();