Accepting request 23974 from M17N
Copy from M17N/freetype2 based on submit request 23974 from user tiwai OBS-URL: https://build.opensuse.org/request/show/23974 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/freetype2?expand=0&rev=16
This commit is contained in:
parent
e9fca56afc
commit
a0ded557b1
@ -1,8 +1,9 @@
|
||||
diff -ru freetype-2.3.7.orig//autogen.sh freetype-2.3.7/autogen.sh
|
||||
--- freetype-2.3.7.orig//autogen.sh 2008-06-10 19:14:02.000000000 +0200
|
||||
+++ freetype-2.3.7/autogen.sh 2008-07-23 12:36:52.000000000 +0200
|
||||
@@ -48,7 +48,7 @@
|
||||
fi
|
||||
Index: freetype-2.3.9/autogen.sh
|
||||
===================================================================
|
||||
--- freetype-2.3.9.orig/autogen.sh
|
||||
+++ freetype-2.3.9/autogen.sh
|
||||
@@ -149,7 +149,7 @@ sed -e "s;@VERSION@;$freetype_major$free
|
||||
< configure.raw > configure.ac
|
||||
|
||||
run aclocal -I . --force
|
||||
-run $LIBTOOLIZE --force --copy --install
|
||||
@ -10,10 +11,11 @@ diff -ru freetype-2.3.7.orig//autogen.sh freetype-2.3.7/autogen.sh
|
||||
run autoconf --force
|
||||
|
||||
chmod +x mkinstalldirs
|
||||
diff -ru freetype-2.3.7.orig//builds/unix/configure.raw freetype-2.3.7/builds/unix/configure.raw
|
||||
--- freetype-2.3.7.orig//builds/unix/configure.raw 2008-06-29 09:21:12.000000000 +0200
|
||||
+++ freetype-2.3.7/builds/unix/configure.raw 2008-07-23 12:43:41.000000000 +0200
|
||||
@@ -561,7 +561,7 @@
|
||||
Index: freetype-2.3.9/builds/unix/configure.raw
|
||||
===================================================================
|
||||
--- freetype-2.3.9.orig/builds/unix/configure.raw
|
||||
+++ freetype-2.3.9/builds/unix/configure.raw
|
||||
@@ -635,7 +635,7 @@ AC_SUBST([FT2_EXTRA_LIBS])
|
||||
AC_SUBST([SYSTEM_ZLIB])
|
||||
|
||||
|
||||
|
@ -1,3 +1,18 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 6 11:26:27 CET 2009 - tiwai@suse.de
|
||||
|
||||
- make -std=gnu99 cfalgs to be ARM-specific
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 3 19:13:01 UTC 2009 - coolo@novell.com
|
||||
|
||||
- updated patches to apply with fuzz=0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 2 20:06:24 UTC 2009 - jansimon.moeller@opensuse.org
|
||||
|
||||
- ARM build needs -std=gnu99 in CFLAGS
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 27 15:01:04 CEST 2009 - tiwai@suse.de
|
||||
|
||||
|
@ -29,7 +29,7 @@ Obsoletes: freetype2-64bit
|
||||
%endif
|
||||
#
|
||||
Version: 2.3.9
|
||||
Release: 1
|
||||
Release: 2
|
||||
Url: http://www.freetype.org
|
||||
Summary: A TrueType Font Library
|
||||
# CVS repository:
|
||||
@ -131,7 +131,10 @@ cp /usr/share/automake*/config.{guess,sub} builds/unix
|
||||
%if %suse_version > 1110
|
||||
sh ./autogen.sh
|
||||
%endif
|
||||
export CFLAGS="$RPM_OPT_FLAGS -g -fno-strict-aliasing "
|
||||
export CFLAGS="$RPM_OPT_FLAGS -g -fno-strict-aliasing"
|
||||
%ifarch arm
|
||||
export CFLAGS="$CFLAGS -std=gnu99"
|
||||
%endif
|
||||
ln -s /usr/bin/libtool ./builds/unix/libtool
|
||||
make setup CFG="--prefix=/usr --libdir=%{_libdir} --with-zlib"
|
||||
make prefix=/usr libdir=%{_libdir} %{?jobs:-j %jobs}
|
||||
|
@ -1,5 +1,7 @@
|
||||
--- freetype-2.1.7.new/src/base/ftstream.c.orig 2002-03-30 14:16:35.000000000 +0100
|
||||
+++ freetype-2.1.7.new/src/base/ftstream.c 2004-03-19 15:49:25.000000000 +0100
|
||||
Index: freetype-2.3.9/src/base/ftstream.c
|
||||
===================================================================
|
||||
--- freetype-2.3.9.orig/src/base/ftstream.c
|
||||
+++ freetype-2.3.9/src/base/ftstream.c
|
||||
@@ -44,6 +44,17 @@
|
||||
stream->close = 0;
|
||||
}
|
||||
@ -18,7 +20,7 @@
|
||||
|
||||
FT_BASE_DEF( void )
|
||||
FT_Stream_Close( FT_Stream stream )
|
||||
@@ -87,6 +98,8 @@
|
||||
@@ -84,6 +95,8 @@
|
||||
return error;
|
||||
}
|
||||
|
||||
@ -45,8 +47,8 @@
|
||||
|
||||
FT_BASE_DEF( FT_Error )
|
||||
FT_Stream_ReadAt( FT_Stream stream,
|
||||
@@ -155,6 +172,8 @@
|
||||
return error;
|
||||
@@ -184,6 +201,8 @@
|
||||
return read_bytes;
|
||||
}
|
||||
|
||||
+ FT_BASE_DEF( FT_Error )
|
||||
@ -54,7 +56,7 @@
|
||||
|
||||
FT_BASE_DEF( FT_Error )
|
||||
FT_Stream_ExtractFrame( FT_Stream stream,
|
||||
@@ -177,7 +196,9 @@
|
||||
@@ -206,7 +225,9 @@
|
||||
return error;
|
||||
}
|
||||
|
||||
@ -65,7 +67,7 @@
|
||||
FT_BASE_DEF( void )
|
||||
FT_Stream_ReleaseFrame( FT_Stream stream,
|
||||
FT_Byte** pbytes )
|
||||
@@ -192,6 +213,8 @@
|
||||
@@ -225,6 +246,8 @@
|
||||
*pbytes = 0;
|
||||
}
|
||||
|
||||
@ -74,7 +76,7 @@
|
||||
|
||||
FT_BASE_DEF( FT_Error )
|
||||
FT_Stream_EnterFrame( FT_Stream stream,
|
||||
@@ -253,6 +276,8 @@
|
||||
@@ -291,6 +314,8 @@
|
||||
return error;
|
||||
}
|
||||
|
||||
@ -83,7 +85,7 @@
|
||||
|
||||
FT_BASE_DEF( void )
|
||||
FT_Stream_ExitFrame( FT_Stream stream )
|
||||
@@ -279,6 +304,8 @@
|
||||
@@ -321,6 +346,8 @@
|
||||
stream->limit = 0;
|
||||
}
|
||||
|
||||
@ -92,7 +94,7 @@
|
||||
|
||||
FT_BASE_DEF( FT_Char )
|
||||
FT_Stream_GetChar( FT_Stream stream )
|
||||
@@ -295,6 +322,8 @@
|
||||
@@ -337,6 +364,8 @@
|
||||
return result;
|
||||
}
|
||||
|
||||
@ -101,7 +103,7 @@
|
||||
|
||||
FT_BASE_DEF( FT_Short )
|
||||
FT_Stream_GetShort( FT_Stream stream )
|
||||
@@ -314,6 +343,8 @@
|
||||
@@ -356,6 +385,8 @@
|
||||
return result;
|
||||
}
|
||||
|
||||
@ -110,7 +112,7 @@
|
||||
|
||||
FT_BASE_DEF( FT_Short )
|
||||
FT_Stream_GetShortLE( FT_Stream stream )
|
||||
@@ -333,6 +364,8 @@
|
||||
@@ -375,6 +406,8 @@
|
||||
return result;
|
||||
}
|
||||
|
||||
@ -119,7 +121,7 @@
|
||||
|
||||
FT_BASE_DEF( FT_Long )
|
||||
FT_Stream_GetOffset( FT_Stream stream )
|
||||
@@ -351,6 +384,8 @@
|
||||
@@ -393,6 +426,8 @@
|
||||
return result;
|
||||
}
|
||||
|
||||
@ -128,7 +130,7 @@
|
||||
|
||||
FT_BASE_DEF( FT_Long )
|
||||
FT_Stream_GetLong( FT_Stream stream )
|
||||
@@ -369,6 +404,8 @@
|
||||
@@ -411,6 +446,8 @@
|
||||
return result;
|
||||
}
|
||||
|
||||
@ -137,7 +139,7 @@
|
||||
|
||||
FT_BASE_DEF( FT_Long )
|
||||
FT_Stream_GetLongLE( FT_Stream stream )
|
||||
@@ -387,6 +424,8 @@
|
||||
@@ -429,6 +466,8 @@
|
||||
return result;
|
||||
}
|
||||
|
||||
@ -146,7 +148,7 @@
|
||||
|
||||
FT_BASE_DEF( FT_Char )
|
||||
FT_Stream_ReadChar( FT_Stream stream,
|
||||
@@ -423,6 +462,8 @@
|
||||
@@ -465,6 +504,8 @@
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -155,7 +157,7 @@
|
||||
|
||||
FT_BASE_DEF( FT_Short )
|
||||
FT_Stream_ReadShort( FT_Stream stream,
|
||||
@@ -470,6 +511,9 @@
|
||||
@@ -512,6 +553,9 @@
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -165,7 +167,7 @@
|
||||
|
||||
FT_BASE_DEF( FT_Short )
|
||||
FT_Stream_ReadShortLE( FT_Stream stream,
|
||||
@@ -517,6 +561,8 @@
|
||||
@@ -559,6 +603,8 @@
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -174,7 +176,7 @@
|
||||
|
||||
FT_BASE_DEF( FT_Long )
|
||||
FT_Stream_ReadOffset( FT_Stream stream,
|
||||
@@ -564,6 +610,8 @@
|
||||
@@ -606,6 +652,8 @@
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -183,7 +185,7 @@
|
||||
|
||||
FT_BASE_DEF( FT_Long )
|
||||
FT_Stream_ReadLong( FT_Stream stream,
|
||||
@@ -610,6 +658,8 @@
|
||||
@@ -652,6 +700,8 @@
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -192,7 +194,7 @@
|
||||
|
||||
FT_BASE_DEF( FT_Long )
|
||||
FT_Stream_ReadLongLE( FT_Stream stream,
|
||||
@@ -657,6 +707,9 @@
|
||||
@@ -699,6 +749,9 @@
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -202,7 +204,7 @@
|
||||
|
||||
FT_BASE_DEF( FT_Error )
|
||||
FT_Stream_ReadFields( FT_Stream stream,
|
||||
@@ -799,5 +852,6 @@
|
||||
@@ -842,5 +895,6 @@
|
||||
return error;
|
||||
}
|
||||
|
||||
|
@ -27,7 +27,7 @@ AutoReqProv: on
|
||||
Supplements: fonts-config
|
||||
%endif
|
||||
Version: 2.3.9
|
||||
Release: 1
|
||||
Release: 2
|
||||
%define freetype_version %{version}
|
||||
Url: http://www.freetype.org
|
||||
Summary: Freetype2 Utilities and Demo Programs
|
||||
|
Loading…
x
Reference in New Issue
Block a user