aboutsummaryrefslogtreecommitdiffstats
path: root/editors/fte/files
diff options
context:
space:
mode:
authorWilliam Grzybowski <wg@FreeBSD.org>2014-07-30 00:46:44 +0800
committerWilliam Grzybowski <wg@FreeBSD.org>2014-07-30 00:46:44 +0800
commitf474a16cfbfad1844b9c50e45e36a3a77f0c59b5 (patch)
tree4e3cff7ae95e986544c553a331b23db5999bf126 /editors/fte/files
parente9eb3b9da2534a305f1e1ad102c2aa28a2aec2ec (diff)
downloadfreebsd-ports-gnome-f474a16cfbfad1844b9c50e45e36a3a77f0c59b5.tar.gz
freebsd-ports-gnome-f474a16cfbfad1844b9c50e45e36a3a77f0c59b5.tar.zst
freebsd-ports-gnome-f474a16cfbfad1844b9c50e45e36a3a77f0c59b5.zip
editors/fte: update to 20110708
- Support stage - Add LICENSE - Rename patches PR: 192202 Submitted by: tkato432 yahoo com
Diffstat (limited to 'editors/fte/files')
-rw-r--r--editors/fte/files/patch-aa73
-rw-r--r--editors/fte/files/patch-src::fte-unix.mak88
-rw-r--r--editors/fte/files/patch-src::stl_string.cpp16
-rw-r--r--editors/fte/files/patch-src::sysdep.h (renamed from editors/fte/files/patch-ba)0
4 files changed, 104 insertions, 73 deletions
diff --git a/editors/fte/files/patch-aa b/editors/fte/files/patch-aa
deleted file mode 100644
index ba2ccd6b62aa..000000000000
--- a/editors/fte/files/patch-aa
+++ /dev/null
@@ -1,73 +0,0 @@
---- src/fte-unix.mak Sun Nov 13 12:47:25 2005
-+++ src/fte-unix.mak Tue Feb 28 12:29:41 2006
-@@ -5,9 +5,9 @@
-
- # vfte - for Linux console directly (with limitations, see con_linux.cpp)
-
--TARGETS = xfte vfte nfte
-+#TARGETS = xfte vfte nfte
- #TARGETS = xfte vfte sfte nfte
--#TARGETS = xfte
-+TARGETS = xfte
-
- PRIMARY = xfte
-
-@@ -40,22 +40,22 @@
-
- #gcc/g++
- COPTIONS = -Wall -Wpointer-arith -Wconversion -Wwrite-strings \
-- -Winline
-+ -Winline -fno-rtti -fno-exceptions
-
- #CC = g++
- #LD = g++
- # try this for smaller/faster code and less dependencies
--CC = g++ -fno-rtti -fno-exceptions
--LD = g++ -fno-rtti -fno-exceptions
-+CC = $(CXX)
-+LD = $(CXX)
-
-
- # choose your os here
-
- #######################################################################
- # Linux
--UOS = -DLINUX
--XINCDIR = -I/usr/X11R6/include
--XLIBDIR = -L/usr/X11R6/lib -lstdc++
-+UOS = -DFREEBSD
-+XINCDIR = -I$(LOCALBASE)/include
-+XLIBDIR = -L$(LOCALBASE)/lib
-
- #######################################################################
- # HP/UX
-@@ -145,8 +145,8 @@
- #OPTIMIZE = -O2
- #OPTIMIZE = -O2 -s
-
--CCFLAGS = $(OPTIMIZE) $(I18NOPTIONS) $(APPOPTIONS) $(USE_XICON) $(COPTIONS) -DUNIX $(UOS) $(INCDIR) $(XINCDIR) $(QINCDIR) $(MINCDIR) $(SINCDIR)
--LDFLAGS = $(OPTIMIZE) $(LIBDIR) $(XLIBDIR) $(QLIBDIR) $(MLIBDIR)
-+CCFLAGS = $(CPPFLAGS) $(CXXFLAGS) $(CFLAGS) $(I18NOPTIONS) $(APPOPTIONS) $(COPTIONS) -DUNIX $(UOS) $(INCDIR) $(XINCDIR) $(QINCDIR) $(MINCDIR) $(SINCDIR)
-+LDFLAGS += $(LIBDIR) $(XLIBDIR) $(MLIBDIR)
-
- OEXT = o
-
-@@ -158,7 +158,7 @@
- # Need -lXt below if USE_XTINIT is defined
- XLIBS = -lX11 $(SOCKETLIB) $(XPMLIB)
- #-lmpatrol -lelf
--VLIBS = -lgpm -lncurses
-+VLIBS = -lncurses
- # -ltermcap outdated by ncurses
- NLIBS = -lncurses
- SLIBS = -lslang
-@@ -231,6 +231,6 @@
- #
- # include dependency files if they exist
- #
--ifneq ($(wildcard .depend),)
--include .depend
--endif
-+#ifneq ($(wildcard .depend),)
-+#include .depend
-+#endif
diff --git a/editors/fte/files/patch-src::fte-unix.mak b/editors/fte/files/patch-src::fte-unix.mak
new file mode 100644
index 000000000000..23a48039e4fb
--- /dev/null
+++ b/editors/fte/files/patch-src::fte-unix.mak
@@ -0,0 +1,88 @@
+--- src/fte-unix.mak Sun Nov 13 12:47:25 2005
++++ src/fte-unix.mak Tue Feb 28 12:29:41 2006
+@@ -5,10 +5,10 @@
+
+ # vfte - for Linux console directly (with limitations, see con_linux.cpp)
+
+-TGT_NFTE = nfte
++#TGT_NFTE = nfte
+ #TGT_QFTE = qfte
+-TGT_SFTE = sfte
+-TGT_VFTE = vfte
++#TGT_SFTE = sfte
++#TGT_VFTE = vfte
+ TGT_XFTE = xfte
+
+ TARGETS = $(TGT_XFTE) $(TGT_VFTE) $(TGT_NFTE) $(TGT_SFTE) $(TGT_QFTE)
+@@ -27,15 +27,16 @@
+ CPPOPTIONS = -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline
+
+ # try this for smaller/faster code and less dependencies
+-#NOEXCEPTION = -fno-rtti -fno-exceptions
++NOEXCEPTION = -fno-rtti -fno-exceptions
+
+
+ # choose your os here
+
+ #######################################################################
+ # Linux
+-UOS = -DLINUX
+-#XLIBDIR =
++UOS = -DFREEBSD
++XINCDIR = -I$(LOCALBASE)/include
++XLIBDIR = -L$(LOCALBASE)/lib
+
+ #######################################################################
+ # HP/UX
+@@ -55,7 +56,7 @@
+ #MINCDIR = -I/usr/include/Motif1.2
+ #MLIBDIR = -L/usr/lib/Motif1.2
+
+-SINCDIR = -I/usr/include/slang
++#SINCDIR = -I/usr/include/slang
+
+ #######################################################################
+ # AIX
+@@ -111,18 +112,18 @@
+
+ #######################################################################
+
+-QTDIR = /usr/lib64/qt-3.3
++#QTDIR = /usr/lib64/qt-3.3
+ #/users/markom/qt
+-QLIBDIR = -L$(QTDIR)/lib
++#QLIBDIR = -L$(QTDIR)/lib
+ #QINCDIR = -I$(QTDIR)/include
+ #QINCDIR = -I/usr/include/qt
+-QINCDIR = -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include
+-MOC = moc
++#QINCDIR = -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include
++#MOC = moc
+
+ LIBDIRS =
+ INCDIRS = $(XINCDIR) $(QINCDIR) $(MINCDIR) $(SINCDIR)
+
+-OPTIMIZE = -g # -O -g
++#OPTIMIZE = -g # -O -g
+ #OPTIMIZE = -O2
+ #OPTIMIZE = -Os
+ #OPTIMIZE = -O2 -s
+@@ -148,7 +149,7 @@
+ $(XOBJS:.o=.cpp)
+
+ XLIBS = $(XLIBDIR) -lX11 $(SOCKETLIB) $(XPMLIB) $(XTLIB)
+-VLIBS = $(VLIBDIR) -lgpm
++VLIBS = $(VLIBDIR) -lncurses
+ NLIBS = $(NLIBDIR) -lncurses
+ SLIBS = $(SLIBDIR) -lslang
+ #QLIBS = $(QLIBDIR) -lqt
+@@ -223,6 +224,6 @@
+ #
+ # include dependency files if they exist
+ #
+-ifneq ($(wildcard .depend),)
+-include .depend
+-endif
++#ifneq ($(wildcard .depend),)
++#include .depend
++#endif
diff --git a/editors/fte/files/patch-src::stl_string.cpp b/editors/fte/files/patch-src::stl_string.cpp
new file mode 100644
index 000000000000..2391d7c34abf
--- /dev/null
+++ b/editors/fte/files/patch-src::stl_string.cpp
@@ -0,0 +1,16 @@
+--- src/stl_string.cpp.orig
++++ src/stl_string.cpp
+@@ -10,6 +10,13 @@
+ #include <stdlib.h>
+ #include <string.h>
+
++#ifdef tolower
++#undef tolower
++#endif
++#ifdef toupper
++#undef toupper
++#endif
++
+ FTE_BEGIN_NAMESPACE;
+
+ /*
diff --git a/editors/fte/files/patch-ba b/editors/fte/files/patch-src::sysdep.h
index 3ab3d907b2d7..3ab3d907b2d7 100644
--- a/editors/fte/files/patch-ba
+++ b/editors/fte/files/patch-src::sysdep.h