Ticket #44039: patch-gnome-libs.diff
File patch-gnome-libs.diff, 2.8 KB (added by dbevans (David B. Evans), 10 years ago) |
---|
-
Portfile
24 24 depends_lib port:oaf \ 25 25 port:gtk1 \ 26 26 port:libghttp \ 27 port:imlib 27 port:imlib \ 28 port:db46 \ 29 port:esound \ 30 port:tiff \ 31 port:jpeg \ 32 port:libpng \ 33 port:giflib 28 34 29 35 # imlib is not universal 30 36 universal_variant no … … 34 40 patch-XmHTMLP.h \ 35 41 patch-XmHTMLI.h \ 36 42 install.diff \ 37 patch-libart_lgpl_libart.m4 43 patch-libart_lgpl_libart.m4 \ 44 patch-tools-convertrgb-loadpng.c.diff \ 45 patch-libgnome-Makefile.in.diff 38 46 39 47 configure.args --mandir=${prefix}/share/man \ 40 48 --disable-gtk-doc \ 41 49 --disable-test-gnome 42 50 43 configure.cppflags-append "-L${prefix}/lib" 51 configure.env-append CPP="${configure.cc} -E" 52 configure.cppflags-append "-I${prefix}/include/db46" 53 configure.ldflags-append "-L${prefix}/lib/db46" 44 54 configure.cflags-append "-fstrict-aliasing -funroll-loops" 45 55 46 56 post-configure { -
files/patch-libgnome-Makefile.in.diff
1 --- libgnome/Makefile.in.orig 2014-06-18 11:34:06.000000000 -0700 2 +++ libgnome/Makefile.in 2014-06-18 11:35:16.000000000 -0700 3 @@ -251,7 +251,7 @@ 4 gnome_dump_metadata_LDADD = libgnome.la $(LIBSUPPORT) \ 5 $(LIBGNOME_LIBS) $(INTLLIBS) 6 7 -gnome_dump_metadata_LDFLAGS = $(GLIB_LIBS) 8 +gnome_dump_metadata_LDFLAGS = $(GLIB_LIBS) -ldb 9 10 gnome_moz_remote_SOURCES = gnome-moz-remote.c vroot.h 11 gnome_moz_remote_LDADD = libgnome.la $(LIBSUPPORT) $(LIBGNOME_LIBS) \ -
files/patch-tools-convertrgb-loadpng.c.diff
1 --- tools/convertrgb/loadpng.c.orig 2014-06-18 09:31:06.000000000 -0700 2 +++ tools/convertrgb/loadpng.c 2014-06-18 09:37:08.000000000 -0700 3 @@ -29,13 +29,13 @@ 4 return NULL; 5 } 6 7 - if (setjmp(png_ptr->jmpbuf)) 8 + if (setjmp(png_jmpbuf(png_ptr))) 9 { 10 png_destroy_read_struct(&png_ptr, &info_ptr, NULL); 11 return NULL; 12 } 13 14 - if (info_ptr->color_type == PNG_COLOR_TYPE_RGB_ALPHA) 15 + if (png_get_color_type(png_ptr, info_ptr) == PNG_COLOR_TYPE_RGB_ALPHA) 16 { 17 png_destroy_read_struct(&png_ptr, &info_ptr, NULL); 18 return NULL;