FreeBSD Bugzilla – Attachment 180761 Details for
Bug 217697
databases/gtksql: Fix build (v0.4.5)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch (since 428908 revision)
gtksql.diff (text/plain), 2.99 KB, created by
lightside
on 2017-03-13 06:17:59 UTC
(
hide
)
Description:
Proposed patch (since 428908 revision)
Filename:
MIME Type:
Creator:
lightside
Created:
2017-03-13 06:17:59 UTC
Size:
2.99 KB
patch
obsolete
>diff -ruNd gtksql.orig/Makefile gtksql/Makefile >--- gtksql.orig/Makefile 2016-12-19 09:00:47 UTC >+++ gtksql/Makefile >@@ -3,7 +3,7 @@ > > PORTNAME= gtksql > PORTVERSION= 0.4.5 >-PORTREVISION= 3 >+PORTREVISION= 4 > CATEGORIES= databases > MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-testing/${PORTNAME}-${PORTVERSION} > >@@ -13,21 +13,17 @@ > LICENSE= GPLv2+ > LICENSE_FILE= ${WRKSRC}/COPYING > >-LIB_DEPENDS= libscintilla.so:x11-toolkits/scintilla >+LIB_DEPENDS= libfreetype.so:print/freetype2 \ >+ libfontconfig.so:x11-fonts/fontconfig \ >+ libscintilla.so:x11-toolkits/scintilla > RUN_DEPENDS= xdg-open:devel/xdg-utils > >-BROKEN= does not build (incomplete definition of type 'struct CharacterRange') >- >-USES= gettext gmake pkgconfig >-USE_GNOME= gtk20 cairo glib20 pango >+USES= gettext gmake localbase pkgconfig >+USE_GNOME= gdkpixbuf2 gtk20 cairo > GNU_CONFIGURE= yes > MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \ > AUTOHEADER="${TRUE}" > >-CPPFLAGS+= -I${LOCALBASE}/include/scintilla -I${LOCALBASE}/include >-LDFLAGS+= -L${LOCALBASE}/lib -lscintilla -lscintilla_lexers >-LDFLAGS+= -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo >- > OPTIONS_DEFINE= AVAHI DOCS > OPTIONS_MULTI= DB > OPTIONS_MULTI_DB= MYSQL PGSQL SQLITE >@@ -49,9 +45,9 @@ > > post-patch: > @${REINPLACE_CMD} -e \ >- '/-lstdc++/s|^|#| ; \ >- /scintilla.a/s|^|#| ; \ >- /\/scintilla\/include/s|^|#| ; \ >+ 's|-lstdc++|| ; \ >+ /^PACKAGE_LIBS=/s|$${packagesrcdir}.*scintilla.a|-lscintilla -lscintilla_lexers| ; \ >+ /^CPPFLAGS=/s|../scintilla/include|${LOCALBASE}/include/scintilla| ; \ > /ac_header/s|postgres.h|libpq-fe.h| ; \ > s|/usr/local|${PREFIX}| ; \ > s|-R|-Wl,-rpath=| ; \ >@@ -70,5 +66,9 @@ > @${REINPLACE_CMD} -e \ > 's|/usr/local/gtksql|${PREFIX}/lib/gtksql|' \ > ${WRKSRC}/src/plugins.c >+# Some structure names were renamed in Scintilla.h (v3.7.1) >+ @${REINPLACE_CMD} -E '/<string.h>/s|^|#include <stdlib.h>\${.newline}| ; \ >+ s|(CharacterRange\|TextRange)|Sci_&|' \ >+ ${WRKSRC}/src/gtksql_query_scintilla.c > > .include <bsd.port.mk> >diff -ruNd gtksql.orig/files/patch-Makefile.in gtksql/files/patch-Makefile.in >--- gtksql.orig/files/patch-Makefile.in 2014-02-07 15:54:38 UTC >+++ gtksql/files/patch-Makefile.in >@@ -1,6 +1,6 @@ >---- Makefile.in.orig 2013-10-08 11:01:04.306764000 +0200 >-+++ Makefile.in 2013-10-08 11:27:51.000000000 +0200 >-@@ -237,14 +237,12 @@ >+--- Makefile.in.orig 2007-11-01 14:05:59 UTC >++++ Makefile.in >+@@ -237,14 +237,12 @@ sysconfdir = @sysconfdir@ > target_alias = @target_alias@ > top_builddir = @top_builddir@ > top_srcdir = @top_srcdir@ >diff -ruNd gtksql.orig/files/patch-po__Makefile.in.in gtksql/files/patch-po__Makefile.in.in >--- gtksql.orig/files/patch-po__Makefile.in.in 2014-01-22 17:40:44 UTC >+++ gtksql/files/patch-po__Makefile.in.in >@@ -1,5 +1,5 @@ >---- ./po/Makefile.in.in.orig 2013-02-26 19:25:06.000000000 +0100 >-+++ ./po/Makefile.in.in 2013-02-26 19:25:37.000000000 +0100 >+--- po/Makefile.in.in.orig 2006-06-13 16:40:55 UTC >++++ po/Makefile.in.in > @@ -13,6 +13,7 @@ > PACKAGE = @PACKAGE@ > VERSION = @VERSION@
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
Actions:
View
|
Diff
Attachments on
bug 217697
:
180716
|
180720
|
180722
|
180731
|
180739
| 180761