Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jan 2017 04:25:13 +0000 (UTC)
From:      TAKATSU Tomonari <tota@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r432899 - in branches/2017Q1/devel/silentbob: . files
Message-ID:  <201701310425.v0V4PDYU049470@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tota
Date: Tue Jan 31 04:25:13 2017
New Revision: 432899
URL: https://svnweb.freebsd.org/changeset/ports/432899

Log:
  MFH: r432760
  
  - 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]
  Approved by:	ports-secteam (feld)

Added:
  branches/2017Q1/devel/silentbob/files/patch-include_darray.h
     - copied unchanged from r432760, head/devel/silentbob/files/patch-include_darray.h
  branches/2017Q1/devel/silentbob/files/patch-src_Sblib.cxx
     - copied unchanged from r432760, head/devel/silentbob/files/patch-src_Sblib.cxx
  branches/2017Q1/devel/silentbob/files/patch-src_fs.cxx
     - copied unchanged from r432760, head/devel/silentbob/files/patch-src_fs.cxx
  branches/2017Q1/devel/silentbob/files/patch-src_wit.cxx
     - copied unchanged from r432760, head/devel/silentbob/files/patch-src_wit.cxx
Deleted:
  branches/2017Q1/devel/silentbob/files/patch-src-Sblib.cxx
Modified:
  branches/2017Q1/devel/silentbob/Makefile
Directory Properties:
  branches/2017Q1/   (props changed)

Modified: branches/2017Q1/devel/silentbob/Makefile
==============================================================================
--- branches/2017Q1/devel/silentbob/Makefile	Tue Jan 31 03:42:07 2017	(r432898)
+++ branches/2017Q1/devel/silentbob/Makefile	Tue Jan 31 04:25:13 2017	(r432899)
@@ -3,6 +3,7 @@
 
 PORTNAME=	silentbob
 PORTVERSION=	3.0
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}2/${PORTNAME}-${PORTVERSION:C@\.[0-9]+$@@}/
 

Copied: branches/2017Q1/devel/silentbob/files/patch-include_darray.h (from r432760, head/devel/silentbob/files/patch-include_darray.h)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/2017Q1/devel/silentbob/files/patch-include_darray.h	Tue Jan 31 04:25:13 2017	(r432899, copy of r432760, head/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
+ {

Copied: branches/2017Q1/devel/silentbob/files/patch-src_Sblib.cxx (from r432760, head/devel/silentbob/files/patch-src_Sblib.cxx)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/2017Q1/devel/silentbob/files/patch-src_Sblib.cxx	Tue Jan 31 04:25:13 2017	(r432899, copy of r432760, head/devel/silentbob/files/patch-src_Sblib.cxx)
@@ -0,0 +1,11 @@
+--- 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);
+-		execlp ("find", "find", "-name", name, NULL);
++		execlp ("find", "find", path, "-name", name, NULL);
+ 	} else if (pid > 0) {
+ 		waitpid (pid, &status, 0);
+ 		return status;

Copied: branches/2017Q1/devel/silentbob/files/patch-src_fs.cxx (from r432760, head/devel/silentbob/files/patch-src_fs.cxx)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/2017Q1/devel/silentbob/files/patch-src_fs.cxx	Tue Jan 31 04:25:13 2017	(r432899, copy of r432760, head/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);

Copied: branches/2017Q1/devel/silentbob/files/patch-src_wit.cxx (from r432760, head/devel/silentbob/files/patch-src_wit.cxx)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/2017Q1/devel/silentbob/files/patch-src_wit.cxx	Tue Jan 31 04:25:13 2017	(r432899, copy of r432760, head/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) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701310425.v0V4PDYU049470>