summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-10-22 22:41:24 +0200
committertnut <thierryn1 at hispeed dot ch>2010-10-22 22:41:24 +0200
commit6795e78ce10ba89b6aa21f24211a060285b5e5ce (patch)
tree3b83c07d3d92af3d7e3141e8447e23afa3155a09
parentce72bf87c50b5d1ad2544361e0b987d501064bb9 (diff)
downloadnutyx-pakxe-6795e78ce10ba89b6aa21f24211a060285b5e5ce.tar.gz
nutyx-pakxe-6795e78ce10ba89b6aa21f24211a060285b5e5ce.tar.bz2
nutyx-pakxe-6795e78ce10ba89b6aa21f24211a060285b5e5ce.tar.xz
nutyx-pakxe-6795e78ce10ba89b6aa21f24211a060285b5e5ce.zip
directfb-1.0, port nettoyé
-rw-r--r--base/directfb-1.0/Pkgfile2
-rw-r--r--base/directfb-1.0/directfb#1.4.1-1.pkg.tar.gzbin868582 -> 0 bytes
-rw-r--r--base/directfb-1.0/libpng-1.4.patch42
3 files changed, 1 insertions, 43 deletions
diff --git a/base/directfb-1.0/Pkgfile b/base/directfb-1.0/Pkgfile
index a42e3f9b8..1295c8d6c 100644
--- a/base/directfb-1.0/Pkgfile
+++ b/base/directfb-1.0/Pkgfile
@@ -8,7 +8,7 @@ name=directfb-1.0
version=1.0.1
release=1
source=(http://www.directfb.org/downloads/Core/DirectFB-1.0/DirectFB-$version.tar.gz \
-libpng-1.4.patch)
+ http://nutyx.meticul.eu/files/patchs/$name/libpng-1.4.patch)
# To build with multicore add --enable-multi
build() {
export POSIXLY_CORRECT="yes"
diff --git a/base/directfb-1.0/directfb#1.4.1-1.pkg.tar.gz b/base/directfb-1.0/directfb#1.4.1-1.pkg.tar.gz
deleted file mode 100644
index ad3639da0..000000000
--- a/base/directfb-1.0/directfb#1.4.1-1.pkg.tar.gz
+++ /dev/null
Binary files differ
diff --git a/base/directfb-1.0/libpng-1.4.patch b/base/directfb-1.0/libpng-1.4.patch
deleted file mode 100644
index 29b49a2ee..000000000
--- a/base/directfb-1.0/libpng-1.4.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-diff -Naur DirectFB-1.4.3-orig/interfaces/IDirectFBImageProvider/idirectfbimageprovider_png.c DirectFB-1.4.3/interfaces/IDirectFBImageProvider/idirectfbimageprovider_png.c
---- DirectFB-1.4.3-orig/interfaces/IDirectFBImageProvider/idirectfbimageprovider_png.c 2010-01-20 00:22:27.000000000 -0500
-+++ DirectFB-1.4.3/interfaces/IDirectFBImageProvider/idirectfbimageprovider_png.c 2010-01-20 00:24:55.000000000 -0500
-@@ -168,7 +168,7 @@
- static DFBResult
- Probe( IDirectFBImageProvider_ProbeContext *ctx )
- {
-- if (png_check_sig( ctx->header, 8 ))
-+ if (!png_sig_cmp( ctx->header, 0, 8 ))
- return DFB_OK;
-
- return DFB_UNSUPPORTED;
-diff -Naur DirectFB-1.4.3-orig/interfaces/IDirectFBImageProvider/idirectfbimageprovider_png.c DirectFB-1.4.3/interfaces/IDirectFBImageProvider/idirectfbimageprovider_png.c
---- DirectFB-1.4.3-orig/interfaces/IDirectFBImageProvider/idirectfbimageprovider_png.c 2010-01-20 00:48:44.000000000 -0500
-+++ DirectFB-1.4.3/interfaces/IDirectFBImageProvider/idirectfbimageprovider_png.c 2010-01-20 00:50:27.000000000 -0500
-@@ -653,7 +653,7 @@
- if (data->color_type == PNG_COLOR_TYPE_PALETTE) {
- u32 key;
- png_colorp palette = data->info_ptr->palette;
-- png_bytep trans = data->info_ptr->trans;
-+ png_bytep trans = data->info_ptr->trans_alpha;
- int num_colors = MIN( MAXCOLORMAPSIZE,
- data->info_ptr->num_palette );
- u8 cmap[3][num_colors];
-@@ -678,7 +678,7 @@
- }
- else {
- /* ...or based on trans rgb value */
-- png_color_16p trans = &data->info_ptr->trans_values;
-+ png_color_16p trans = &data->info_ptr->trans_color;
-
- data->color_key = (((trans->red & 0xff00) << 8) |
- ((trans->green & 0xff00)) |
-@@ -689,7 +689,7 @@
- switch (data->color_type) {
- case PNG_COLOR_TYPE_PALETTE: {
- png_colorp palette = data->info_ptr->palette;
-- png_bytep trans = data->info_ptr->trans;
-+ png_bytep trans = data->info_ptr->trans_alpha;
- int num_trans = data->info_ptr->num_trans;
- int num_colors = MIN( MAXCOLORMAPSIZE, data->info_ptr->num_palette );
-