Update to moe-1.11

This commit is contained in:
bcallah 2021-01-14 23:42:58 +00:00
parent d5b02975d2
commit 0e02f54568
4 changed files with 22 additions and 17 deletions

View File

@ -1,7 +1,7 @@
# $OpenBSD: Makefile,v 1.13 2019/07/12 20:46:06 sthen Exp $
# $OpenBSD: Makefile,v 1.14 2021/01/14 23:42:58 bcallah Exp $
COMMENT = powerful and user-friendly console text editor
DISTNAME = moe-1.10
DISTNAME = moe-1.11
EXTRACT_SUFX = .tar.lz
CATEGORIES = editors

View File

@ -1,2 +1,2 @@
SHA256 (moe-1.10.tar.lz) = jP1Eq1Yj7UGF7lOWK4ef2b3RjqtHv13ZvbgnHxv31Ts=
SIZE (moe-1.10.tar.lz) = 84050
SHA256 (moe-1.11.tar.lz) = DvvLz1pKjZZlQcbLCZugq2QWeANm286C2f+ZWoWl4vk=
SIZE (moe-1.11.tar.lz) = 89532

View File

@ -0,0 +1,18 @@
$OpenBSD: patch-configure,v 1.1 2021/01/14 23:42:58 bcallah Exp $
Remove these hardcoded bits
Index: configure
--- configure.orig
+++ configure
@@ -21,10 +21,6 @@ datarootdir='$(prefix)/share'
infodir='$(datarootdir)/info'
mandir='$(datarootdir)/man'
sysconfdir='$(prefix)/etc'
-CXX=g++
-CPPFLAGS=
-CXXFLAGS='-Wall -W -O2'
-LDFLAGS=
# checking whether we are using GNU C++.
/bin/sh -c "${CXX} --version" > /dev/null 2>&1 || { CXX=c++ ; CXXFLAGS=-O2 ; }

View File

@ -1,13 +0,0 @@
$OpenBSD: patch-window_vector_cc,v 1.3 2019/01/04 03:15:59 bcallah Exp $
Index: window_vector.cc
--- window_vector.cc.orig
+++ window_vector.cc
@@ -1058,7 +1058,7 @@ const char * Window_vector::copyright_update()
{
int year = 1900 + t->tm_year;
while( year )
- { year_string.insert( 0U, 1U, '0' + ( year % 10 ) ); year /= 10; }
+ { char c = '0' + ( year % 10 ); year_string.insert( 0U, 1U, c ); year /= 10; }
}
history.push_back( year_string );
if( Screen::get_string( "Year to add (^C to abort): ", history ) <= 0 )