Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
2d9b6917
Kaydet (Commit)
2d9b6917
authored
Nis 27, 2012
tarafından
Fridrich Štrba
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix gdk-pixbuf on windows
Change-Id: I24cfe6dee408d0a6108da31eddc3abcfd2256671
üst
08ea0e63
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
19 deletions
+23
-19
gdk-pixbuf-2.23.0-win32.patch
gdk-pixbuf/gdk-pixbuf-2.23.0-win32.patch
+23
-19
No files found.
gdk-pixbuf/gdk-pixbuf-2.23.0-win32.patch
Dosyayı görüntüle @
2d9b6917
...
...
@@ -128,70 +128,74 @@
+
+/* Define to empty if `const' does not conform to ANSI C. */
+#undef const
--- misc/gdk-pixbuf-2.23.0/gdk-pixbuf/io-png.c 2010-07-10 02:54:35.000000000 +0200
+++ misc/build/gdk-pixbuf-2.23.0/gdk-pixbuf/io-png.c 2011-03-22 02:18:55.515625000 +0100
@@ -27,6 +27,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <png.h>
+#include <pngstruct.h>
--- misc/build/gdk-pixbuf-2.23.0/gdk-pixbuf/io-png.c
+++ misc/build/gdk-pixbuf-2.23.0/gdk-pixbuf/io-png.c
@@ -30,6 +30,10 @@
#include <pngstruct.h>
#include "gdk-pixbuf-private.h"
+#ifndef png_jmpbuf
+# define png_jmpbuf(png_ptr) ((png_ptr)->png_jmpbuf)
+#endif
+
@@ -183,7 +184,7 @@
static gboolean
@@ -183,7 +183,7 @@ png_simple_error_callback(png_structp png_save_ptr,
error_msg);
}
- longjmp (png_save_ptr->jmpbuf, 1);
+ longjmp (png_
save_ptr->png_jmpbuf
, 1);
+ longjmp (png_
jmpbuf (png_save_ptr)
, 1);
}
static void
@@ -287,7 +28
8,7 @@
@@ -287,7 +28
7,7 @@ gdk_pixbuf__png_image_load (FILE *f, GError **error)
return NULL;
}
- if (setjmp (png_ptr->jmpbuf)) {
+ if (setjmp (png_
ptr->png_jmpbuf
)) {
+ if (setjmp (png_
jmpbuf (png_ptr)
)) {
g_free (rows);
if (pixbuf)
@@ -459,7 +4
60,7 @@
@@ -459,7 +4
59,7 @@ gdk_pixbuf__png_image_begin_load (GdkPixbufModuleSizeFunc size_func,
return NULL;
}
- if (setjmp (lc->png_read_ptr->jmpbuf)) {
+ if (setjmp (
lc->png_read_ptr->png_jmpbuf
)) {
+ if (setjmp (
png_jmpbuf (lc->png_read_ptr)
)) {
if (lc->png_info_ptr)
png_destroy_read_struct(&lc->png_read_ptr, NULL, NULL);
g_free(lc);
@@ -531,7 +53
2,7 @@
@@ -531,7 +53
1,7 @@ gdk_pixbuf__png_image_load_increment(gpointer context,
lc->error = error;
/* Invokes our callbacks as needed */
- if (setjmp (lc->png_read_ptr->jmpbuf)) {
+ if (setjmp (
lc->png_read_ptr->png_jmpbuf
)) {
+ if (setjmp (
png_jmpbuf (lc->png_read_ptr)
)) {
lc->error = NULL;
return FALSE;
} else {
@@ -769,7 +7
70,7 @@
@@ -769,7 +7
69,7 @@ png_error_callback(png_structp png_read_ptr,
error_msg);
}
- longjmp (png_read_ptr->jmpbuf, 1);
+ longjmp (png_
read_ptr->png_jmpbuf
, 1);
+ longjmp (png_
jmpbuf (png_read_ptr)
, 1);
}
static void
@@ -978,7 +97
9,7 @@
@@ -978,7 +97
8,7 @@ static gboolean real_save_png (GdkPixbuf *pixbuf,
success = FALSE;
goto cleanup;
}
- if (setjmp (png_ptr->jmpbuf)) {
+ if (setjmp (png_
ptr->png_jmpbuf
)) {
+ if (setjmp (png_
jmpbuf (png_ptr)
)) {
success = FALSE;
goto cleanup;
}
--- misc/gdk-pixbuf-2.23.0/gdk-pixbuf/makefile.msc 2010-06-25 23:40:10.000000000 +0200
+++ misc/build/gdk-pixbuf-2.23.0/gdk-pixbuf/makefile.msc 2011-03-24 06:13:30.515625000 +0100
@@ -1,9 +1,19 @@
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment