Bug 182211 - [maintainer update] security/yapet: patch fixing build error on 10.0-CURRENT (2)
Summary: [maintainer update] security/yapet: patch fixing build error on 10.0-CURRENT (2)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: William Grzybowski
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-18 19:40 UTC by Rafael Ostertag
Modified: 2013-09-19 17:20 UTC (History)
0 users

See Also:


Attachments
yapet.diff (1.92 KB, patch)
2013-09-18 19:40 UTC, Rafael Ostertag
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Ostertag 2013-09-18 19:40:00 UTC
 - Patch fixing build errors on 10.0-CURRENT

New Directories
---------------
(none)

New Files
---------
files/patch-ui-basewindow.cc
files/patch-ui-secstring.h

Updated Files
-------------
(none)

Deleted Files
-------------
(none)
Comment 1 William Grzybowski freebsd_committer freebsd_triage 2013-09-19 16:59:02 UTC
Responsible Changed
From-To: freebsd-ports-bugs->wg

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-09-19 17:15:37 UTC
Author: wg
Date: Thu Sep 19 16:15:30 2013
New Revision: 327637
URL: http://svnweb.freebsd.org/changeset/ports/327637

Log:
  security/yapet: fix build on CURRENT
  
  - Fix build on CURRENT
  
  PR:		ports/182211
  Submitted by:	Rafael Ostertag <rafi guengel.ch> (maintainer)

Added:
  head/security/yapet/files/patch-ui-basewindow.cc   (contents, props changed)
  head/security/yapet/files/patch-ui-secstring.h   (contents, props changed)

Added: head/security/yapet/files/patch-ui-basewindow.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/yapet/files/patch-ui-basewindow.cc	Thu Sep 19 16:15:30 2013	(r327637)
@@ -0,0 +1,13 @@
+--- ui/basewindow.cc.orig	2013-09-17 22:04:34.000000000 +0200
++++ ui/basewindow.cc	2013-09-17 22:05:18.000000000 +0200
+@@ -33,6 +33,10 @@
+ # include <stdio.h>
+ #endif
+ 
++#ifdef HAVE_STDLIB_H
++# include <stdlib.h>
++#endif
++
+ #ifdef HAVE_ALGORITHM
+ # include <algorithm>
+ #endif

Added: head/security/yapet/files/patch-ui-secstring.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/yapet/files/patch-ui-secstring.h	Thu Sep 19 16:15:30 2013	(r327637)
@@ -0,0 +1,11 @@
+--- ui/secstring.h.orig	2013-09-18 19:44:08.000000000 +0200
++++ ui/secstring.h	2013-09-18 19:44:30.000000000 +0200
+@@ -61,7 +61,7 @@
+             public:
+                 void deallocate (typename std::allocator<T>::pointer p,
+                                  typename std::allocator<T>::size_type n) {
+-                    memset (p, '0', n*sizeof (std::allocator<T>::value_type) );
++                    memset (p, '0', n*sizeof (typename std::allocator<T>::value_type) );
+                     std::allocator<T>::deallocate (p, n);
+                 }
+ 
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 William Grzybowski freebsd_committer freebsd_triage 2013-09-19 17:19:50 UTC
State Changed
From-To: open->closed

Committed. Thanks!