svn commit: r362790 - in head/editors/fxite: . files
Pietro Cerutti
gahr at FreeBSD.org
Thu Jul 24 12:25:48 UTC 2014
Author: gahr
Date: Thu Jul 24 12:25:47 2014
New Revision: 362790
URL: http://svnweb.freebsd.org/changeset/ports/362790
QAT: https://qat.redports.org/buildarchive/r362790/
Log:
- Remove compiler flags not understood by GCC
- Fix the source instead
Added:
head/editors/fxite/files/patch-src_export.cpp (contents, props changed)
head/editors/fxite/files/patch-src_luafx.cpp (contents, props changed)
Modified:
head/editors/fxite/Makefile
Modified: head/editors/fxite/Makefile
==============================================================================
--- head/editors/fxite/Makefile Thu Jul 24 12:10:47 2014 (r362789)
+++ head/editors/fxite/Makefile Thu Jul 24 12:25:47 2014 (r362790)
@@ -26,7 +26,7 @@ USES= gmake pkgconfig lua:51 desktop-fi
USE_AUTOTOOLS= aclocal autoconf automake
ACLOCAL_ARGS= --force -I m4
AUTOMAKE_ARGS= --gnu --add-missing --copy
-CXXFLAGS+= -fPIC -Wno-invalid-source-encoding -Wno-format
+CXXFLAGS+= -fPIC
LDFLAGS+= -L${LOCALBASE}/lib -lintl
CONFIGURE_ARGS+=--with-system-lua \
--with-lua-pkg=lua-${LUA_VER}
Added: head/editors/fxite/files/patch-src_export.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/editors/fxite/files/patch-src_export.cpp Thu Jul 24 12:25:47 2014 (r362790)
@@ -0,0 +1,11 @@
+--- src/export.cpp.orig 2014-07-24 14:11:00.000000000 +0200
++++ src/export.cpp 2014-07-24 14:11:00.000000000 +0200
+@@ -464,7 +464,7 @@
+ }
+ // start to write PDF file here (PDF1.4Ref(p63))
+ // ASCII>127 characters to indicate binary-possible stream
+- oT->write("%PDF-1.3\n%Çì¢\n");
++ oT->write("%PDF-1.3\n%\267\276\255\252\n");
+ styleCurrent = STYLE_DEFAULT;
+
+ // build objects for font resources; note that font objects are
Added: head/editors/fxite/files/patch-src_luafx.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/editors/fxite/files/patch-src_luafx.cpp Thu Jul 24 12:25:47 2014 (r362790)
@@ -0,0 +1,11 @@
+--- src/luafx.cpp.orig 2014-07-24 14:16:55.000000000 +0200
++++ src/luafx.cpp 2014-07-24 14:19:21.000000000 +0200
+@@ -173,7 +173,7 @@
+ switch (toupper(type[0])) {
+ case 'I' : {
+ if (!lua_isnil(L,3)) {
+- txt.format(sizeof(lua_Integer)>4?"%ld":"%d", luaL_checkinteger(L,3));
++ txt.format("%ld", luaL_checkinteger(L,3));
+ }
+ opt=INPUTDIALOG_INTEGER;
+ break;
More information about the svn-ports-all
mailing list