1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-18 08:02:48 +00:00

- Switch to options helpers

- Regenerate patches with `make makepatch`
This commit is contained in:
Dmitry Marakasov 2016-01-31 21:46:24 +00:00
parent c53fb64def
commit b2c43980fb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=407669
4 changed files with 21 additions and 19 deletions

View File

@ -40,10 +40,12 @@ post-patch:
/CXXFLAGS=/s|-f[a-zA-Z-]+||g' ${WRKSRC}/configure
do-install:
(cd ${WRKSRC} && ${INSTALL_PROGRAM} gxemul \
${STAGEDIR}${PREFIX}/bin)
(cd ${WRKSRC}/man && ${INSTALL_MAN} gxemul.1 \
${STAGEDIR}${MAN1PREFIX}/man/man1)
${INSTALL_PROGRAM} ${WRKSRC}/gxemul \
${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/man/gxemul.1 \
${STAGEDIR}${MAN1PREFIX}/man/man1
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . \
${STAGEDIR}${DOCSDIR})

View File

@ -1,6 +1,6 @@
--- src/devices/dev_wdc.cc.orig 2013-06-27 18:10:50.000000000 -0700
+++ src/devices/dev_wdc.cc 2013-06-27 18:11:13.000000000 -0700
@@ -274,12 +274,12 @@
--- src/devices/dev_wdc.cc.orig 2014-08-17 08:45:12 UTC
+++ src/devices/dev_wdc.cc
@@ -274,12 +274,12 @@ void wdc__read(struct cpu *cpu, struct w
+ (int64_t)d->head * d->sectors_per_track[d->drive] +
(int64_t)d->heads[d->drive] * d->sectors_per_track[d->drive] * cyl);
@ -15,7 +15,7 @@
#endif
while (count > 0) {
@@ -320,12 +320,12 @@
@@ -320,12 +320,12 @@ void wdc__write(struct cpu *cpu, struct
uint64_t offset = 512 * (d->sector - 1
+ (int64_t)d->head * d->sectors_per_track[d->drive] +
(int64_t)d->heads[d->drive] * d->sectors_per_track[d->drive] * cyl);

View File

@ -0,0 +1,11 @@
--- src/include/refcount_ptr.h.orig 2014-08-17 08:45:13 UTC
+++ src/include/refcount_ptr.h
@@ -33,6 +33,8 @@ template <class T>
class refcount_ptr;
+#include <stddef.h>
+
/**
* \brief Base class for reference countable objects.
*

View File

@ -1,11 +0,0 @@
--- src/include/refcount_ptr.h 2010-02-14 02:33:54.000000000 -0700
+++ src/include/refcount_ptr.h 2014-02-24 03:48:14.000000000 -0700
@@ -28,6 +28,8 @@
* SUCH DAMAGE.
*/
+#include <stddef.h>
+
/**
* \brief Base class for reference countable objects.
*