mirror of
https://git.freebsd.org/ports.git
synced 2025-06-03 03:46:30 -04:00
- Improve C++ standards conformance in installed header [1]
- Mute REINPLACE_CMD in `post-patch' stage - Bump PORTREVISION [1] is needed to unbreak dependent `emulators/vx68k' port.
This commit is contained in:
parent
2356b8da50
commit
d62db64867
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=124881
2 changed files with 40 additions and 2 deletions
|
@ -8,7 +8,7 @@
|
|||
|
||||
PORTNAME= libvm68k
|
||||
PORTVERSION= 1.0.6
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= emulators
|
||||
MASTER_SITES= ftp://ftp.hypercore.co.jp/vx68k/${PORTNAME}-${PORTVERSION:R}/
|
||||
|
||||
|
@ -22,7 +22,7 @@ INSTALLS_SHLIB= yes
|
|||
post-patch:
|
||||
@${REINPLACE_CMD} -e '/^#define _POSIX_C_SOURCE 199506L/d' \
|
||||
${WRKSRC}/memory.cc ${WRKSRC}/memory_map.cc ${WRKSRC}/version.cc
|
||||
${REINPLACE_CMD} -e '/^LTLIBRELEASE=/d' \
|
||||
@${REINPLACE_CMD} -e '/^LTLIBRELEASE=/d' \
|
||||
-e '/^LIBTOOL=/s^\$$(top_builddir)/libtool^${LIBTOOL}^' \
|
||||
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
|
||||
|
||||
|
|
38
emulators/libvm68k/files/patch-vm68k_iterator.h
Normal file
38
emulators/libvm68k/files/patch-vm68k_iterator.h
Normal file
|
@ -0,0 +1,38 @@
|
|||
--- vm68k/iterator.h.orig Tue Jul 3 20:43:58 2001
|
||||
+++ vm68k/iterator.h Fri Dec 3 18:09:53 2004
|
||||
@@ -127,7 +127,7 @@
|
||||
/* Implementation of `class basic_uint16_iterator'. */
|
||||
|
||||
template <class T>
|
||||
- inline basic_uint16_iterator<T>::ref &
|
||||
+ inline typename basic_uint16_iterator<T>::ref &
|
||||
basic_uint16_iterator<T>::ref::operator=(const uint16_type &value)
|
||||
{
|
||||
p[0] = value >> 8;
|
||||
@@ -262,7 +262,7 @@
|
||||
}
|
||||
|
||||
template <class T>
|
||||
- inline basic_uint16_iterator<T>::ref
|
||||
+ inline typename basic_uint16_iterator<T>::ref
|
||||
basic_uint16_iterator<T>::operator[](ptrdiff_t n)
|
||||
{
|
||||
return *(*this + n);
|
||||
@@ -287,7 +287,7 @@
|
||||
/* Implementation of `class basic_uint32_iterator'. */
|
||||
|
||||
template <class T>
|
||||
- inline basic_uint32_iterator<T>::ref &
|
||||
+ inline typename basic_uint32_iterator<T>::ref &
|
||||
basic_uint32_iterator<T>::ref::operator=(const uint32_type &value)
|
||||
{
|
||||
p[0] = value >> 24;
|
||||
@@ -425,7 +425,7 @@
|
||||
}
|
||||
|
||||
template <class T>
|
||||
- inline basic_uint32_iterator<T>::ref
|
||||
+ inline typename basic_uint32_iterator<T>::ref
|
||||
basic_uint32_iterator<T>::operator[](ptrdiff_t n)
|
||||
{
|
||||
return *(*this + n);
|
Loading…
Add table
Reference in a new issue