summaryrefslogblamecommitdiffstats
path: root/ve/0001-Fix-incorrent-build-parameters.patch
blob: 5d8b2366fa83cd9dc3bf9c4121f1ebbbb8ce1c39 (plain) (tree)






























































                                                                      
From 94b15e800eb68da6fd1ca6c667cbdfabf5e6cbfe Mon Sep 17 00:00:00 2001
From: LAN-TW <lantw44@gmail.com>
Date: Thu, 18 Jul 2013 12:05:50 +0800
Subject: [PATCH] Fix incorrent build parameters

---
 Makefile | 15 ++++++++-------
 term.c   |  1 -
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/Makefile b/Makefile
index bc9b288..7cff95a 100644
--- a/Makefile
+++ b/Makefile
@@ -4,15 +4,15 @@ OBJ = edit.o term.o screen.o stuff.o io.o editor.o
 #----------------------------------------------------------
 # FreeBSD
 #----------------------------------------------------------
-CFLAGS ?= -O -pipe
-CFLAGS += -DVEDITOR
-LIBS = -ltermcap -lcompat
+#CFLAGS ?= -O -pipe
+#CFLAGS += -DVEDITOR
+#LIBS = -ltermcap -lcompat
 
 #----------------------------------------------------------
 # Linux
 #----------------------------------------------------------
-#CFLAGS = -DVEDITOR -DLINUX
-#LIBS = -ltermcap -lbsd
+CFLAGS = -DVEDITOR -DLINUX
+LIBS = -lncurses
 
 #----------------------------------------------------------
 # SunOS
@@ -26,9 +26,10 @@ clean:
    rm -f *.o ve
 
 install: all
+   mkdir -p $(PREFIX)/bin
    mkdir -p $(PREFIX)/share/ve
-   $(BSD_INSTALL_PROGRAM) ve $(PREFIX)/bin
-   $(BSD_INSTALL_DATA) ve.hlp $(PREFIX)/share/ve
+   install ve $(PREFIX)/bin
+   install -m 444 ve.hlp $(PREFIX)/share/ve
 
 ve: $(OBJ)
    $(CC) $(CFLAGS) -o ve $(OBJ) $(LIBS)
diff --git a/term.c b/term.c
index 1a71135..f4aa104 100644
--- a/term.c
+++ b/term.c
@@ -15,7 +15,6 @@
 #endif
 
 #ifdef LINUX
-#include <linux/termios.h>
 #endif
 #define stty(fd, data) tcsetattr( fd, TCSETS, data )
 #define gtty(fd, data) tcgetattr( fd, data )
-- 
1.8.3.3

lass='deletions'>-1/+5 * Update py-sip to 4.19.8 and qscintilla2 to 2.10.3Tobias C. Berner2018-03-133-3/+3 * Update KDE Frameworks to 5.44Tobias C. Berner2018-03-1313-33/+39 * Bump PORTREVISIONs of all users of math/mpc that we just updated toGerald Pfeifer2018-03-117-7/+7 * Update and sort RUN_DEPENDS: use PKGNAME instead of filenameSunpoet Po-Chuan Hsieh2018-03-102-11/+9 * Add LICENSESunpoet Po-Chuan Hsieh2018-03-102-7/+10 * Return pawel@'s ports to the pool after he resigned.Rene Ladan2018-02-251-1/+1 * x11-toolkits/scintilla editors/scite: Update to 4.0.2Yuri Victorovich2018-02-234-12/+15 * x11-toolkits/py-xlib: Update to 0.21Danilo G. Baio2018-02-232-7/+10 * x11-toolkits/py-tktreectrl: Corrected the unclear commentYuri Victorovich2018-02-221-1/+1 * x11-toolkits/py-tktreectrl: Update to 2.0.2Yuri Victorovich2018-02-213-18/+11 * Reduce dependency on the python2 metaportAntoine Brodin2018-02-193-5/+5 * Update QScintilla 2.10.2.Raphael Kubo da Costa2018-02-183-5/+6 * Fix build on i386Jason E. Hale2018-02-171-2/+11 * - Fix plistDmitry Marakasov2018-02-162-1/+2 * Update to 1.7.62Jason E. Hale2018-02-163-7/+6 * Update to 1.6.56Jason E. Hale2018-02-164-10/+10 * Update KDE Frameworks to 5.43.0Tobias C. Berner2018-02-1615-37/+38 * x11-toolkits/libxaw3dxft: Update to 1.6.2eYuri Victorovich2018-02-152-5/+9 * PyQt: Unconditionally install the .pyi filesRaphael Kubo da Costa2018-02-156-6/+6 * Switch C compiler used to compile GHC to base Clang.Tobias C. Berner2018-02-1013-0/+13 * Add upstream patch to fix bug caused by not translating coordinatesAdriaan de Groot2018-02-072-1/+171 * Bump PORTREVISION in the PyQt5 ports after r460809.Raphael Kubo da Costa2018-02-053-0/+3 * - Update WWWs for all py-qt4* and py-qt5* portsDmitry Marakasov2018-02-037-4/+7 * Multiple ports:Jason W. Bacon2018-01-311-1/+0 * lang/mono: update to version 5.2.0.215 (and enhance USES=mono)David Naylor2018-01-313-1/+3 * Update to 2.3.4-12.el7_4.Tijl Coosemans2018-01-302-9/+9 * Update Qt5 to 5.9.4.Raphael Kubo da Costa2018-01-291-0/+4 * Revert r460248Baptiste Daroussin2018-01-2910-0/+494 * Remove swt-develBaptiste Daroussin2018-01-2910-494/+0 * - Update textproc/py-sphinx to 1.6.5. [0]Marcelo Araujo2018-01-292-274/+275 * Unbreak x11-toolkits/diorite after vala upgrade from 0.36.4 to 0.36.9.Don Lewis2018-01-282-4/+17 * Unbreak and undeprecate (chase libsigc++20 update).Alexey Dokuchaev2018-01-281-5/+3 * New port: x11-toolkits/nanogui: Minimalistic GUI library for OpenGLYuri Victorovich2018-01-276-0/+197 * Fix build with clang 6Antoine Brodin2018-01-251-0/+1 * x11-toolkits/bwidget: update to 1.9.12Pietro Cerutti2018-01-233-5/+5 * Drop %%DEBUG%% from several plist entries.Raphael Kubo da Costa2018-01-212-26/+27 * devel/boost-*: update to 1.66.0Jan Beich2018-01-181-1/+1 * x11-toolkits/kf5-kwidgetsaddons: use respun tarballTobias C. Berner2018-01-172-4/+7 * Update KDE Frameworks to 5.42.0Tobias C. Berner2018-01-1714-38/+37 * - Add NOTIFY option, enabled by defaultGuido Falsi2018-01-141-3/+13 * Remove superfluous linefeeds and fix some other minor whitespace bugs.Alexey Dokuchaev2018-01-122-2/+0 * Do not abuse INSTALL_MAN when installing documentation, examples, andAlexey Dokuchaev2018-01-111-2/+2 * x11-toolkits/tk86: fix plistPietro Cerutti2018-01-102-1/+2 * Remove support for variables that have been deprecated for a while.Mathieu Arnold2018-01-091-381/+0 * New port: x11-toolkits/qt5-gtkplatformRaphael Kubo da Costa2018-01-095-0/+48 * x11-toolkits/gtkmm20: unbreak build with Clang 6 (C++14 by default)Jan Beich2018-01-094-26/+96 * Fix the build on i386 with clang 6.0.Raphael Kubo da Costa2018-01-081-0/+48 * x11-toolkits/qt5-gui, fix build with clang 6Tobias C. Berner2018-01-071-1/+2 * x11-toolkits/attica fix build with clang6Tobias C. Berner2018-01-071-1/+2 * Update Qt5 ports to 5.9.3.Raphael Kubo da Costa2018-01-0716-143/+762 * Unbreak poudriere bulk -a, py-opencv works only with python 2.7Antoine Brodin2018-01-061-1/+1 * Update ancillary mono portsDavid Naylor2018-01-068-48/+44 * x11-toolkits: update to 1.10.0David Naylor2018-01-063-2040/+915 * x11-toolkits/pure-tk: adjust for new Tk pkg-config filePietro Cerutti2018-01-041-1/+1 * x11-toolkits/tk8[56]: adjust pkgconf files to reflect their tcl equivalentsPietro Cerutti2018-01-042-0/+6 * lang/pypy(3): update to 5.10, add flavors to ancillary portsDavid Naylor2018-01-041-1/+0 * Update SIP to 4.19.6, PyQt4 to 4.12.1 and PyQt5 to 5.9.2.Raphael Kubo da Costa2018-01-034-2/+5 * lang/tcl86, x11-toolkits/tk86: update to 8.6.8Pietro Cerutti2018-01-024-6/+6 * Update to 0.45Sunpoet Po-Chuan Hsieh2018-01-022-4/+7 * Update to 1.11.1Sunpoet Po-Chuan Hsieh2017-12-283-4/+5 * Update to version 2.2.15Pawel Pekala2017-12-282-5/+4 * Deprecate ports broken for more than 6 monthsAntoine Brodin2017-12-271-0/+2 * - Update x11-toolkits/girara to 0.2.8Guido Falsi2017-12-263-19/+18 * x11-toolkits/mygui: lift BROKEN after r456766Jan Beich2017-12-201-3/+0 * - Update to latest git, fixes c++11 problemsDmitry Marakasov2017-12-203-10/+6 * Mark more recently failing ports broken on aarch64.Mark Linimon2017-12-191-0/+1 * Update KDE Frameworks to 5.41Tobias C. Berner2017-12-1513-33/+35 * - Update WWWDmitry Marakasov2017-12-141-1/+1 * - Those ports fail to build with python3Antoine Brodin2017-12-112-4/+4 * Mark more ports broken that fail on both armv6 and armv7.Mark Linimon2017-12-091-2/+4 * x11-toolkits/gtk30: add dependency on librsvg2Steve Wills2017-12-081-2/+3 * Update 2.3.7 --> 2.3.8Cy Schubert2017-12-062-4/+4 * Adjust MASTER_SITES to replace a hardcoded version number withCy Schubert2017-12-061-1/+1 * py-wax doesn't work with python3Antoine Brodin2017-12-051-1/+1 * Fix configure options for gnustep-makeDavid Chisnall2017-12-032-1/+2 * - Add LICENSEDmitry Marakasov2017-12-021-5/+5 * - Add LICENSEDmitry Marakasov2017-12-011-3/+4 * Cleanup LIB_DEPENDS on libpngAntoine Brodin2017-12-013-3/+3 * Convert Python ports to FLAVORS.Mathieu Arnold2017-11-3023-65/+49 * For ports that are marked BROKEN on armv6, and also fail to build onMark Linimon2017-11-301-0/+1 * - Switch to USES=localbaseDmitry Marakasov2017-11-282-4/+3 * Remove `groff' from USES.Alexey Dokuchaev2017-11-222-1/+11 * Remove expired ports:Rene Ladan2017-11-229-756/+0 * Update to 3.2.1Sunpoet Po-Chuan Hsieh2017-11-222-4/+4 * Update to 3.2.1Sunpoet Po-Chuan Hsieh2017-11-222-4/+4 * Update to 3.2.1Sunpoet Po-Chuan Hsieh2017-11-222-4/+4 * Update to 3.2.1Sunpoet Po-Chuan Hsieh2017-11-222-4/+4 * Update to 3.2.1Sunpoet Po-Chuan Hsieh2017-11-222-4/+4 * Update to 3.2.1Sunpoet Po-Chuan Hsieh2017-11-222-4/+4 * Update to 3.2.1Sunpoet Po-Chuan Hsieh2017-11-222-4/+4 * Update to 3.2.1Sunpoet Po-Chuan Hsieh2017-11-222-4/+4 * Update to 3.2.1Sunpoet Po-Chuan Hsieh2017-11-222-4/+4 * Update KDE Frameworks to 5.40.0Tobias C. Berner2017-11-1624-80/+43 * x11-toolkits/kf5-kirigami -- add upstream patchTobias C. Berner2017-11-112-0/+28 * Fix the context of some patches so that they apply with stricter patch(1)Antoine Brodin2017-11-102-4/+6 * Update to 3.2.0Sunpoet Po-Chuan Hsieh2017-11-102-6/+7 * Update to 3.2.0Sunpoet Po-Chuan Hsieh2017-11-102-4/+4 * Update to 3.2.0Sunpoet Po-Chuan Hsieh2017-11-102-4/+4 * Update to 3.2.0Sunpoet Po-Chuan Hsieh2017-11-102-4/+4 * Update to 3.2.0Sunpoet Po-Chuan Hsieh2017-11-102-4/+4 * Update to 3.2.0Sunpoet Po-Chuan Hsieh2017-11-102-4/+4 * Update to 3.2.0Sunpoet Po-Chuan Hsieh2017-11-102-4/+4 * Update to 3.2.0Sunpoet Po-Chuan Hsieh2017-11-102-4/+4 * Update to 3.2.0Sunpoet Po-Chuan Hsieh2017-11-102-4/+4 * devel/icu: update to 60.1Jan Beich2017-11-091-1/+1 * Update to 1.047Sunpoet Po-Chuan Hsieh2017-11-092-3/+4 * New port: x11-toolkits/ntk: Fork of FLTK 1.3.0 which adds graphics rendering ...Yuri Victorovich2017-11-055-0/+216 * Update license of ports using MPL (without version)Danilo G. Baio2017-11-041-1/+1 * Fix whitespace issues (mixed tab/spaces, alignment) in a few ports.Jimmy Olgeni2017-10-311-1/+1 * Fix pkg-plist.Tijl Coosemans2017-10-282-2/+0 * Remove accidentially added lineSteve Wills2017-10-281-1/+0 * x11-toolkits/qtermwidget-l10n: create portSteve Wills2017-10-273-0/+54 * x11-toolkits/qtermwidget: Update to 0.8.0Steve Wills2017-10-275-32/+51 * Update to 0.9.3.0.Vanilla I. Shu2017-10-273-6/+6 * Update Linux CentOS 7 ports to 7.4.1708.Tijl Coosemans2017-10-2712-89/+64 * Update some of the KDE Frameworks 5 ports with DISTVERSION, LICENSEAdriaan de Groot2017-10-251-1/+7 * x11-toolkits/bwidget: update to 1.9.11Pietro Cerutti2017-10-242-3/+4 * * Updated to 2.1.0Richard Gallamore2017-10-232-4/+4 * multimedia/ffmpeg: update to 3.4Jan Beich2017-10-211-1/+1 * x11-toolkits/nucleo: unbreak FFMPEG=on with Clang 4.0Jan Beich2017-10-201-1/+2 * lang/tcl84, x11-toolkits/tk84: extend expiration for another monthPietro Cerutti2017-10-201-1/+1 * x11-toolkits/ocaml-labltk: remove TK option, Tcl/Tk 8.4 have expiredPietro Cerutti2017-10-201-1/+2 * Revert 452511, I missed some portsPietro Cerutti2017-10-2010-2/+757 * lang/tcl84, x11-toolkits/tk84: remove expired portsPietro Cerutti2017-10-2010-757/+2 * Update to 3.1.9Sunpoet Po-Chuan Hsieh2017-10-202-4/+4 * Update to 3.1.9Sunpoet Po-Chuan Hsieh2017-10-202-4/+4 * Update to 3.1.9Sunpoet Po-Chuan Hsieh2017-10-202-4/+4 * Update to 3.1.9Sunpoet Po-Chuan Hsieh2017-10-202-4/+4 * Update to 3.1.9Sunpoet Po-Chuan Hsieh2017-10-202-4/+4 * Update to 3.1.9Sunpoet Po-Chuan Hsieh2017-10-203-16/+5 * Update to 3.1.9Sunpoet Po-Chuan Hsieh2017-10-202-4/+4 * Update to 3.1.9Sunpoet Po-Chuan Hsieh2017-10-202-4/+4 * Update to 3.1.9Sunpoet Po-Chuan Hsieh2017-10-202-4/+4 * Update KDE Frameworks to 5.39Tobias C. Berner2017-10-1812-33/+46 * x11-toolkits/p5-Gtk2: update to 1.24992Steve Wills2017-10-172-4/+4 * x11-toolkits/p5-Tk: update 804.033 -> 804.034Kurt Jaeger2017-10-103-5/+10 * Update to 6.1.3.Vanilla I. Shu2017-10-073-13/+13 * Update to 6.1.3.Vanilla I. Shu2017-10-076-21/+38 * Use helpers to avoid including pre.mk/post.mkBaptiste Daroussin2017-10-051-6/+4 * Update databases/kdb, databases/kexi, textproc/kreport and x11-toolkits/kprop...Tobias C. Berner2017-10-013-25/+4 * - Update to 0.20Wen Heping2017-09-30