diff options
author | TAKATSU Tomonari <tota@FreeBSD.org> | 2017-01-29 15:42:46 +0000 |
---|---|---|
committer | TAKATSU Tomonari <tota@FreeBSD.org> | 2017-01-29 15:42:46 +0000 |
commit | 2067d201a497e8725db11f7b5f662959e8b68589 (patch) | |
tree | 7dc3e7a7c5075d47726d6d5adeb54c9f8ca38d8a | |
parent | - Update (diff) |
- Add patch-include_darray.h to fix typo
- Rename patch-src-Sblib.cxx to patch-src_Sblib.cxx and
regenerate with 'make makepatch'
- Add patch-src_fs.cxx to enable Dposix_fadvise
- Add patch-src_wit.cxx to fix fails to build with clang 4.0 [1]
PR: 216235 [1]
Submitted by: jbeich@ [1]
MFH: 2017Q1
Notes
Notes:
svn path=/head/; revision=432760
-rw-r--r-- | devel/silentbob/Makefile | 1 | ||||
-rw-r--r-- | devel/silentbob/files/patch-include_darray.h | 11 | ||||
-rw-r--r-- | devel/silentbob/files/patch-src_Sblib.cxx (renamed from devel/silentbob/files/patch-src-Sblib.cxx) | 6 | ||||
-rw-r--r-- | devel/silentbob/files/patch-src_fs.cxx | 11 | ||||
-rw-r--r-- | devel/silentbob/files/patch-src_wit.cxx | 11 |
5 files changed, 37 insertions, 3 deletions
diff --git a/devel/silentbob/Makefile b/devel/silentbob/Makefile index 933aae84c368..95b2a9fb9fff 100644 --- a/devel/silentbob/Makefile +++ b/devel/silentbob/Makefile @@ -3,6 +3,7 @@ PORTNAME= silentbob PORTVERSION= 3.0 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= SF/${PORTNAME}/${PORTNAME}2/${PORTNAME}-${PORTVERSION:C@\.[0-9]+$@@}/ diff --git a/devel/silentbob/files/patch-include_darray.h b/devel/silentbob/files/patch-include_darray.h new file mode 100644 index 000000000000..5584522df2c3 --- /dev/null +++ b/devel/silentbob/files/patch-include_darray.h @@ -0,0 +1,11 @@ +--- include/darray.h.orig 2013-11-27 15:00:46 UTC ++++ include/darray.h +@@ -6,7 +6,7 @@ + */ + + #ifndef DEFINE_DARRAY_H +-#define DEFINE_DARRAy_H ++#define DEFINE_DARRAY_H + + class DArray + { diff --git a/devel/silentbob/files/patch-src-Sblib.cxx b/devel/silentbob/files/patch-src_Sblib.cxx index 17954638a333..ec5000f5af03 100644 --- a/devel/silentbob/files/patch-src-Sblib.cxx +++ b/devel/silentbob/files/patch-src_Sblib.cxx @@ -1,6 +1,6 @@ ---- src/Sblib.cxx.orig 2013-11-28 00:00:47.000000000 +0900 -+++ src/Sblib.cxx 2013-12-03 11:42:09.000000000 +0900 -@@ -125,7 +125,7 @@ +--- src/Sblib.cxx.orig 2013-11-27 15:00:47 UTC ++++ src/Sblib.cxx +@@ -125,7 +125,7 @@ int sblib_find (const char * path, const lseek (fd, 0, SEEK_END); dup2 (devnull, 2); dup2 (fd, 1); diff --git a/devel/silentbob/files/patch-src_fs.cxx b/devel/silentbob/files/patch-src_fs.cxx new file mode 100644 index 000000000000..25740c1992c0 --- /dev/null +++ b/devel/silentbob/files/patch-src_fs.cxx @@ -0,0 +1,11 @@ +--- src/fs.cxx.orig 2013-11-27 15:00:47 UTC ++++ src/fs.cxx +@@ -110,7 +110,7 @@ __export int logToFile (char * fileName, + return 0; + } + +-#ifdef __linux ++#if defined(__linux__) || defined(__FreeBSD__) + int Dposix_fadvise (int fd, int offset, int len, int advice) + { + return posix_fadvise (fd, offset, len, advice); diff --git a/devel/silentbob/files/patch-src_wit.cxx b/devel/silentbob/files/patch-src_wit.cxx new file mode 100644 index 000000000000..91c32189370a --- /dev/null +++ b/devel/silentbob/files/patch-src_wit.cxx @@ -0,0 +1,11 @@ +--- src/wit.cxx.orig 2013-11-27 15:00:47 UTC ++++ src/wit.cxx +@@ -18,7 +18,7 @@ int what_is_this (char * d_op, char ch) + + d_words_count = words_count (d_op); + +- if (words_count <= 0) ++ if (d_words_count <= 0) + return OT::Other; + + if (d_words_count == 1) { |