svn commit: r420749 - in head/audio/zinf: . files
John Marino
marino at FreeBSD.org
Tue Aug 23 21:21:08 UTC 2016
Author: marino
Date: Tue Aug 23 21:21:05 2016
New Revision: 420749
URL: https://svnweb.freebsd.org/changeset/ports/420749
Log:
audio/zinf: document ncurses requirement
While here, import several dports patches to add missing headers
for c++.
Added:
head/audio/zinf/files/patch-base_include_metadata.h (contents, props changed)
head/audio/zinf/files/patch-base_src_preferences.cpp (contents, props changed)
head/audio/zinf/files/patch-base_src_prefixprefs.cpp (contents, props changed)
head/audio/zinf/files/patch-base_unix_src_browser.cpp (contents, props changed)
head/audio/zinf/files/patch-base_unix_src_win32impl.cpp (contents, props changed)
head/audio/zinf/files/patch-lib_unzip_src_zip_wrapper.cpp (contents, props changed)
head/audio/zinf/files/patch-lib_xml_src_Parse.cpp (contents, props changed)
head/audio/zinf/files/patch-ui_musicbrowser_unix_src_fileselector.cpp (contents, props changed)
head/audio/zinf/files/patch-ui_zinf_unix_src_GTKUtility.cpp (contents, props changed)
head/audio/zinf/files/patch-ui_zinf_unix_src_ThemeManager.cpp (contents, props changed)
Modified:
head/audio/zinf/Makefile
head/audio/zinf/files/patch-base_src_utility.cpp
head/audio/zinf/files/patch-io_obs_obsinput.cpp
head/audio/zinf/files/patch-lib_http_src_Http.cpp
head/audio/zinf/files/patch-ui_zinf_src_ThemeZip.cpp
head/audio/zinf/files/patch-ui_zinf_unix_src_GTKFileSelector.cpp
Modified: head/audio/zinf/Makefile
==============================================================================
--- head/audio/zinf/Makefile Tue Aug 23 21:06:20 2016 (r420748)
+++ head/audio/zinf/Makefile Tue Aug 23 21:21:05 2016 (r420749)
@@ -3,7 +3,7 @@
PORTNAME= zinf
PORTVERSION= 2.2.5
-PORTREVISION= 19
+PORTREVISION= 20
CATEGORIES= audio ipv6
MASTER_SITES= SF
@@ -13,7 +13,7 @@ COMMENT= GTK-based MP3 player
LIB_DEPENDS= libid3.so:audio/id3lib \
libgdbm.so:databases/gdbm
-USES= pathfix libtool pkgconfig gettext gmake perl5
+USES= gettext gmake libtool ncurses pathfix perl5 pkgconfig
USE_GNOME= gtk20
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-ipv6 \
Added: head/audio/zinf/files/patch-base_include_metadata.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/audio/zinf/files/patch-base_include_metadata.h Tue Aug 23 21:21:05 2016 (r420749)
@@ -0,0 +1,10 @@
+--- base/include/metadata.h.orig 2003-09-16 20:34:53.000000000 +0300
++++ base/include/metadata.h
+@@ -25,6 +25,7 @@ ________________________________________
+ #define INCLUDED_METADATA_H_
+
+ #include <string>
++#include <cstring>
+ #include <map>
+
+
Added: head/audio/zinf/files/patch-base_src_preferences.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/audio/zinf/files/patch-base_src_preferences.cpp Tue Aug 23 21:21:05 2016 (r420749)
@@ -0,0 +1,12 @@
+--- base/src/preferences.cpp.orig 2004-02-14 00:24:01.000000000 +0200
++++ base/src/preferences.cpp
+@@ -31,6 +31,9 @@ ________________________________________
+ #include <string>
+ #include <stdlib.h>
+
++extern "C" {
++#include <strings.h>
++}
+ #ifdef __QNX__
+ #include <strings.h>
+ #endif
Added: head/audio/zinf/files/patch-base_src_prefixprefs.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/audio/zinf/files/patch-base_src_prefixprefs.cpp Tue Aug 23 21:21:05 2016 (r420749)
@@ -0,0 +1,10 @@
+--- base/src/prefixprefs.cpp.orig 2003-09-16 20:34:54.000000000 +0300
++++ base/src/prefixprefs.cpp
+@@ -24,6 +24,7 @@ ________________________________________
+
+ #include <stdlib.h>
+ #include <string>
++#include <cstring>
+ using namespace std;
+ #include "prefixprefs.h"
+
Modified: head/audio/zinf/files/patch-base_src_utility.cpp
==============================================================================
--- head/audio/zinf/files/patch-base_src_utility.cpp Tue Aug 23 21:06:20 2016 (r420748)
+++ head/audio/zinf/files/patch-base_src_utility.cpp Tue Aug 23 21:21:05 2016 (r420749)
@@ -1,6 +1,14 @@
--- base/src/utility.cpp.orig 2004-02-10 18:20:22 UTC
+++ base/src/utility.cpp
-@@ -56,7 +56,7 @@ using namespace std;
+@@ -33,6 +33,7 @@ ________________________________________
+ #include <time.h>
+ #include <ctype.h>
+ #include <stdio.h>
++#include <cstdlib>
+
+ #include <string>
+ #include <vector>
+@@ -56,7 +57,7 @@ using namespace std;
#include "win32impl.h"
#include "browser.h"
#include <unistd.h>
@@ -9,7 +17,7 @@
#define MKDIR(z) mkdir(z, 0755)
#define _stat stat
#ifndef _S_IFDIR
-@@ -825,13 +825,13 @@ SplitPath(const string& path)
+@@ -825,13 +826,13 @@ SplitPath(const string& path)
if (subpath.size()) {
#ifndef WIN32
Added: head/audio/zinf/files/patch-base_unix_src_browser.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/audio/zinf/files/patch-base_unix_src_browser.cpp Tue Aug 23 21:21:05 2016 (r420749)
@@ -0,0 +1,10 @@
+--- base/unix/src/browser.cpp.orig 2003-09-16 20:34:54.000000000 +0300
++++ base/unix/src/browser.cpp
+@@ -9,6 +9,7 @@
+ #include <unistd.h>
+ #include <sys/stat.h>
+ #include <string>
++#include <cstring>
+
+ using namespace std;
+ #include "browser.h"
Added: head/audio/zinf/files/patch-base_unix_src_win32impl.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/audio/zinf/files/patch-base_unix_src_win32impl.cpp Tue Aug 23 21:21:05 2016 (r420749)
@@ -0,0 +1,10 @@
+--- base/unix/src/win32impl.cpp.orig 2003-09-16 20:34:55.000000000 +0300
++++ base/unix/src/win32impl.cpp
+@@ -1,6 +1,7 @@
+ #include <dlfcn.h>
+ #include <dirent.h>
+ #include <string>
++#include <cstring>
+ #include <iostream>
+ #include <stdio.h>
+ #include <sys/stat.h>
Modified: head/audio/zinf/files/patch-io_obs_obsinput.cpp
==============================================================================
--- head/audio/zinf/files/patch-io_obs_obsinput.cpp Tue Aug 23 21:06:20 2016 (r420748)
+++ head/audio/zinf/files/patch-io_obs_obsinput.cpp Tue Aug 23 21:21:05 2016 (r420749)
@@ -1,6 +1,14 @@
--- io/obs/obsinput.cpp.orig 2003-09-16 17:35:02 UTC
+++ io/obs/obsinput.cpp
-@@ -198,6 +198,7 @@ Error ObsInput::Open(void)
+@@ -42,6 +42,7 @@ ________________________________________
+ #include <arpa/inet.h>
+ #include <netdb.h>
+ #include <fcntl.h>
++#include <limits.h> // for PATH_MAX
+ #endif
+
+
+@@ -198,6 +199,7 @@ Error ObsInput::Open(void)
m_pSin = (struct sockaddr_in *)malloc(sizeof(struct sockaddr_in));
assert(m_pSin);
@@ -8,7 +16,7 @@
iReuse = 1;
m_pSin->sin_family = AF_INET;
-@@ -218,6 +219,7 @@ Error ObsInput::Open(void)
+@@ -218,6 +220,7 @@ Error ObsInput::Open(void)
else
m_pSin->sin_addr.s_addr = htonl(INADDR_ANY);
Modified: head/audio/zinf/files/patch-lib_http_src_Http.cpp
==============================================================================
--- head/audio/zinf/files/patch-lib_http_src_Http.cpp Tue Aug 23 21:06:20 2016 (r420748)
+++ head/audio/zinf/files/patch-lib_http_src_Http.cpp Tue Aug 23 21:21:05 2016 (r420749)
@@ -8,3 +8,11 @@
#include <sys/types.h>
#include <sys/stat.h>
#ifndef WIN32
+@@ -39,6 +40,7 @@ ________________________________________
+ #include <fcntl.h>
+ #include <errno.h>
+ #include <ctype.h>
++#include <cstring>
+
+ #ifdef WIN32
+ #include <io.h>
Added: head/audio/zinf/files/patch-lib_unzip_src_zip_wrapper.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/audio/zinf/files/patch-lib_unzip_src_zip_wrapper.cpp Tue Aug 23 21:21:05 2016 (r420749)
@@ -0,0 +1,10 @@
+--- lib/unzip/src/zip_wrapper.cpp.orig 2003-09-16 20:35:10.000000000 +0300
++++ lib/unzip/src/zip_wrapper.cpp
+@@ -2,6 +2,7 @@
+ #include <iostream>
+ #include <stdlib.h>
+ #include <string>
++#include <cstring>
+ #include <vector>
+
+ using namespace std;
Added: head/audio/zinf/files/patch-lib_xml_src_Parse.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/audio/zinf/files/patch-lib_xml_src_Parse.cpp Tue Aug 23 21:21:05 2016 (r420749)
@@ -0,0 +1,10 @@
+--- lib/xml/src/Parse.cpp.orig 2003-09-16 20:35:11.000000000 +0300
++++ lib/xml/src/Parse.cpp
+@@ -29,6 +29,7 @@ ________________________________________
+ #endif
+
+ #include <stdio.h>
++#include <cstring>
+ #include <map>
+ #include <assert.h>
+ using namespace std;
Added: head/audio/zinf/files/patch-ui_musicbrowser_unix_src_fileselector.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/audio/zinf/files/patch-ui_musicbrowser_unix_src_fileselector.cpp Tue Aug 23 21:21:05 2016 (r420749)
@@ -0,0 +1,15 @@
+--- ui/musicbrowser/unix/src/fileselector.cpp.orig 2003-09-16 20:35:29.000000000 +0300
++++ ui/musicbrowser/unix/src/fileselector.cpp
+@@ -25,7 +25,12 @@ ________________________________________
+ #include <unistd.h>
+ #include <dirent.h>
+ #include <string>
++#include <cstring>
+ #include <vector>
++
++extern "C" {
++#include <strings.h>
++}
+ #ifdef __QNX__
+ #include <strings.h>
+ #endif
Modified: head/audio/zinf/files/patch-ui_zinf_src_ThemeZip.cpp
==============================================================================
--- head/audio/zinf/files/patch-ui_zinf_src_ThemeZip.cpp Tue Aug 23 21:06:20 2016 (r420748)
+++ head/audio/zinf/files/patch-ui_zinf_src_ThemeZip.cpp Tue Aug 23 21:21:05 2016 (r420749)
@@ -14,3 +14,11 @@
#ifdef WIN32
#include <windows.h>
+@@ -44,6 +45,7 @@ ________________________________________
+ #include <strings.h>
+ #endif
+ #include <string>
++#include <cstring>
+
+ using namespace std;
+ #include "zlib.h"
Modified: head/audio/zinf/files/patch-ui_zinf_unix_src_GTKFileSelector.cpp
==============================================================================
--- head/audio/zinf/files/patch-ui_zinf_unix_src_GTKFileSelector.cpp Tue Aug 23 21:06:20 2016 (r420748)
+++ head/audio/zinf/files/patch-ui_zinf_unix_src_GTKFileSelector.cpp Tue Aug 23 21:21:05 2016 (r420749)
@@ -1,8 +1,10 @@
--- ui/zinf/unix/src/GTKFileSelector.cpp.orig 2003-09-16 17:36:23 UTC
+++ ui/zinf/unix/src/GTKFileSelector.cpp
-@@ -25,7 +25,8 @@ ________________________________________
+@@ -24,8 +24,10 @@ ________________________________________
+
#include <unistd.h>
#include <dirent.h>
++#include <cstring>
-#if defined(solaris)
+#if defined(solaris) || defined(__FreeBSD__)
Added: head/audio/zinf/files/patch-ui_zinf_unix_src_GTKUtility.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/audio/zinf/files/patch-ui_zinf_unix_src_GTKUtility.cpp Tue Aug 23 21:21:05 2016 (r420749)
@@ -0,0 +1,10 @@
+--- ui/zinf/unix/src/GTKUtility.cpp.orig 2003-09-16 20:36:23.000000000 +0300
++++ ui/zinf/unix/src/GTKUtility.cpp
+@@ -25,6 +25,7 @@ ________________________________________
+
+ #include <stdio.h>
+ #include <string>
++#include <cstdlib>
+ #include "thread.h"
+ #include "GTKUtility.h"
+ #include "facontext.h"
Added: head/audio/zinf/files/patch-ui_zinf_unix_src_ThemeManager.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/audio/zinf/files/patch-ui_zinf_unix_src_ThemeManager.cpp Tue Aug 23 21:21:05 2016 (r420749)
@@ -0,0 +1,13 @@
+--- ui/zinf/unix/src/ThemeManager.cpp.orig 2003-09-16 20:36:23.000000000 +0300
++++ ui/zinf/unix/src/ThemeManager.cpp
+@@ -28,6 +28,10 @@ ________________________________________
+ #include <unistd.h>
+ #include <netinet/in.h>
+ #include <string>
++#include <cstring>
++extern "C" {
++#include <strings.h>
++}
+
+ #ifndef WIN32
+ #include <unistd.h>
More information about the svn-ports-head
mailing list