FreeBSD Bugzilla – Attachment 188985 Details for
Bug 224475
[MAINTAINER] graphics/gimmage: fix, and update to c++11 (removes BROKEN)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
svn diff for graphics/gimmage
graphics_gimmage.diff (text/plain), 2.58 KB, created by
Chris Hutchinson
on 2017-12-20 05:45:35 UTC
(
hide
)
Description:
svn diff for graphics/gimmage
Filename:
MIME Type:
Creator:
Chris Hutchinson
Created:
2017-12-20 05:45:35 UTC
Size:
2.58 KB
patch
obsolete
>Index: gimmage/Makefile >=================================================================== >--- gimmage/Makefile (revision 456776) >+++ gimmage/Makefile (working copy) >@@ -3,7 +3,7 @@ > > PORTNAME= gimmage > PORTVERSION= 0.2.3 >-PORTREVISION= 12 >+PORTREVISION= 13 > CATEGORIES= graphics > MASTER_SITES= BERLIOS > >@@ -13,13 +13,18 @@ > LICENSE= GPLv2+ > LICENSE_FILE= ${WRKSRC}/COPYING > >-LIB_DEPENDS= libcurl.so:ftp/curl >+LIB_DEPENDS+= libcurl.so:ftp/curl \ >+ libfontconfig.so:x11-fonts/fontconfig \ >+ libfreetype.so:print/freetype2 > >-BROKEN= fails to compile: ustring.h: expected ';' at end of declaration list >- >-USES= desktop-file-utils gettext pkgconfig >-USE_GNOME= gtkmm24 >+USES= compiler:c++11-lang desktop-file-utils gettext pkgconfig >+USE_GNOME+= gtkmm24 gdkpixbuf2 > GNU_CONFIGURE= yes >+USE_CXXSTD= c++11 >+# HooWee! we still have some work to do! >+CXXFLAGS+= -stdlib=libc++ -Wc++11-extensions -Wc++11-long-long \ >+ -Wunused-command-line-argument -Wreturn-type \ >+ -Wwritable-strings -Wlogical-op-parentheses > CONFIGURE_ARGS= --with-libintl-prefix=${LOCALBASE} > > .include <bsd.port.mk> >Index: gimmage/files/patch-src__FileManager.cpp >=================================================================== >--- gimmage/files/patch-src__FileManager.cpp (revision 456776) >+++ gimmage/files/patch-src__FileManager.cpp (working copy) >@@ -1,5 +1,5 @@ >---- ./src/FileManager.cpp.orig 2007-07-20 23:42:55.000000000 +0400 >-+++ ./src/FileManager.cpp 2007-07-20 23:43:03.000000000 +0400 >+--- src/FileManager.cpp.orig 2017-12-19 13:56:03.689269000 -0800 >++++ src/FileManager.cpp 2017-12-19 13:58:29.142551000 -0800 > @@ -23,12 +23,13 @@ > > #include "FileManager.h" >@@ -14,3 +14,22 @@ > +#include <unistd.h> > #include <sys/stat.h> > } >+ >+@@ -378,7 +379,7 @@ >+ // OR >+ // we've hit the first picture going forwards and now want to go backwards >+ // we display the last picture >+- if( last_op_previous && file_iterator == begin || last_op_next && file_iterator == begin ) >++ if( (last_op_previous && file_iterator == begin) || (last_op_next && file_iterator == begin) ) >+ { >+ last_op_previous = true; >+ last_op_next = false; >+@@ -466,7 +467,7 @@ >+ result.find("PCX") != Glib::ustring::npos || >+ result.find("PGM") != Glib::ustring::npos || >+ result.find("PPM") != Glib::ustring::npos || >+- result.find("TIFF") != Glib::ustring::npos && result.find("EPS") == Glib::ustring::npos || >++ result.find("TIFF") != Glib::ustring::npos & result.find("EPS") == Glib::ustring::npos || >+ result.find("X pixmap image text") != Glib::ustring::npos || >+ result.find("Targa") != Glib::ustring::npos || >+ result.find("PBM") != Glib::ustring::npos ||
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
portmaster
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 224475
:
188985
|
188986
|
189000