Commit graph

23 commits

Author SHA1 Message Date
Jan Beich
05b122ad1e audio/zinf: unbreak with gcc5 or earlier after r433187
src/player.cpp: In member function 'void Player::HandlePrefsChanged(Event*)':
src/player.cpp:1970:40: error: 'stoi' was not declared in this scope
         nPort = stoi(buffer.substr(pos));
                                        ^

Reported by:	marino
Pointy hat to:	jbeich (forgot libc++ leaks C++11)
2017-02-08 18:08:31 +00:00
Jan Beich
fabeb6eea8 audio/zinf: unbreak with libc++ 3.9
src/Http.cpp:771:11: error: cannot initialize a variable of type 'char *' with an rvalue of type 'const char *'
    char* cp = strstr(buffer, "Content-Length:");
          ^    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/downloadmanager.cpp:401:15: error: cannot initialize a variable of type 'char *' with an rvalue
      of type 'const char *'
        char* extension = strrchr(url, '.');
              ^           ~~~~~~~~~~~~~~~~~
src/downloadmanager.cpp:561:11: error: cannot initialize a variable of type 'char *' with an rvalue
      of type 'const char *'
    char* cp = strstr(buffer, "Content-Length:");
          ^    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/downloadmanager.cpp:575:11: error: cannot initialize a variable of type 'char *' with an rvalue
      of type 'const char *'
    char* cp = strstr(buffer, "Last-Modified:");
          ^    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/downloadmanager.cpp:799:24: error: assigning to 'char *' from incompatible type 'const char *'
                file = strchr(item->SourceURL().c_str() + 7, '/');
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/player.cpp:552:21: error: assigning to 'char *' from incompatible type 'const char *'
        extension = strrchr(url.c_str(), '.');
                    ^~~~~~~~~~~~~~~~~~~~~~~~~
src/player.cpp:1109:17: error: assigning to 'char *' from incompatible type 'const char *'
   temp_proto = strstr(title, "://");
                ^~~~~~~~~~~~~~~~~~~~
src/player.cpp:1129:15: error: assigning to 'char *' from incompatible type 'const char *'
   temp_ext = strrchr(title, '.');
              ^~~~~~~~~~~~~~~~~~~
src/player.cpp:1964:14: error: cannot initialize a variable of type 'char *' with an rvalue of type
      'const char *'
       char *port = strchr(buffer.c_str(),':');
             ^      ~~~~~~~~~~~~~~~~~~~~~~~~~~
src/playlist.cpp:1964:15: error: cannot initialize a variable of type 'char *' with an rvalue of type
      'const char *'
        char* extension = strrchr(url, '.');
              ^           ~~~~~~~~~~~~~~~~~
src/playlist.cpp:2045:15: error: cannot initialize a variable of type 'char *' with an rvalue of type
      'const char *'
        char* extension = strrchr(url, '.');
              ^           ~~~~~~~~~~~~~~~~~
src/ThemeZip.cpp:150:15: error: assigning to 'char *' from incompatible type 'const char *'
       pPtr = strrchr(oFile.c_str(), DIR_MARKER);
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/wavoutpmo.cpp:127:10: error: cannot initialize a variable of type 'char *' with an rvalue of type
      'const char *'
   char *pPtr = strrchr(GetUrl().c_str(), DIR_MARKER);
         ^      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ZinfTheme.cpp:1768:26: error: assigning to 'char *' from incompatible type 'const char *'
            pExtension = strrchr((*i).c_str(), '.');
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~
    pPtr = strrchr(m_oPath.c_str(), '/');
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
unix/src/cdpmo.cpp:116:10: error: cannot initialize a variable of type 'char *' with an rvalue of
      type 'const char *'
   char *tracknumber = strrchr(url, '/');
         ^             ~~~~~~~~~~~~~~~~~
unix/src/GTKPreferenceWindow.cpp:1755:20: error: cannot initialize a variable of type 'char *' with
      an rvalue of type 'const char *'
             char *name = strrchr((*i).second.c_str(), '/');
                   ^      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
unix/src/gtkmusicbrowser.cpp:1206:11: error: cannot initialize a variable of type 'char *' with an rvalue of type 'const char *'
    char *ext = strrchr(m_currentListName.c_str(), '.');
          ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
misc.cpp:109:14: error: assigning to 'char *' from incompatible type 'const char *'
        cp = strrchr(url, '.');
             ^~~~~~~~~~~~~~~~~
id3lib.cpp:366:11: error: cannot initialize a variable of type 'char *' with an rvalue of type
      'const char *'
    char *ptr = strrchr(url, '.');
          ^     ~~~~~~~~~~~~~~~~~
id3lib.cpp:426:11: error: assigning to 'char *' from incompatible type 'const char *'
    ptr = strrchr(url, '.');
          ^~~~~~~~~~~~~~~~~
id3lib.cpp:488:11: error: cannot initialize a variable of type 'char *' with an rvalue of type
      'const char *'
    char *ptr = strrchr(url.c_str(), '.');
          ^     ~~~~~~~~~~~~~~~~~~~~~~~~~
vorbis.cpp:151:11: error: assigning to 'char *' from incompatible type 'const char *'
    ptr = strrchr(url, '.');
          ^~~~~~~~~~~~~~~~~

Reported by:	pkg-fallout
2017-02-03 00:46:44 +00:00
John Marino
a819ff5bf7 audio/zinf: document ncurses requirement
While here, import several dports patches to add missing headers
for c++.
2016-08-23 21:21:05 +00:00
Mathieu Arnold
9fa9eb9ac7 Cleanup patches, a* categories.
Rename them to follow the make makepatch naming, and regenerate them.

With hat:	portmgr
Sponsored by:	Absolight
2016-07-26 16:51:15 +00:00
Pawel Pekala
bcccbdfaf8 - Fix build with clang
- Support staging
- Convert to new options framework

PR:		ports/186803 (based on)
Submitted by:	Mathias Monnerville <mathias@monnerville.com>
MFH:		2014Q1
2014-02-18 17:58:16 +00:00
Philip M. Gollucci
0e00d61112 - Remove LIB_DEPENDS on musicbrainz its toast
- Bump PORTREVISION

PR:             ports/165834
Submitted by:   Jason E. Hale <bsdkaffee@gmail.com>
2012-03-09 02:11:39 +00:00
Alexey Dokuchaev
d4a953bdca - Fix the build with GCC 4.2 [1]
- Drop stupid -esound suffix, it just one of many sound servers/proxies
  available today, nothing special to require such attribution
- Kill EOL whitespace in pkg-descr

Reported by:	pointyhat (logs) [1]
2007-06-29 10:53:24 +00:00
Kirill Ponomarev
1cc6d6f680 - Fix build against rerolled tarball
* New version just includes removed
  files/patch-ui-musicbrowser-unix-src-musicsearch.cpp

PR:		ports/63589
Submitted by:	Ports Fury
2004-03-01 18:50:35 +00:00
Kirill Ponomarev
786835fc3e - Update to version 2.2.5
PR:		ports/63004
Submitted by:	Ports Fury
2004-02-18 18:52:52 +00:00
Kirill Ponomarev
0958bb50c5 - Fix build on big-endian architecture (hopefully)
PR:		60460
Submitted by:	Ports Fury
2003-12-21 15:45:38 +00:00
Edwin Groothuis
e95a885a95 Update port: audio/zinf to 2.2.4
- Update to version 2.2.4

PR:		ports/57001
Submitted by:	KATO Tsuguru <tkato@prontomail.com>
2003-09-27 03:59:35 +00:00
Tilman Keskinoz
e557d5bf4d Update to 2.2.3
PR:		51670
Submitted by:	KATO Tsuguru <tkato@prontomail.com>
2003-05-01 22:14:44 +00:00
Adam Weinberger
0707c24745 Update to 2.2.2.
PR:		47322
Submitted by:	KATO Tsuguru <tkato@prontomail.com>
2003-01-28 06:24:24 +00:00
Christian Weisgerber
a1d0bb8bc3 Fix build of included id3lib on 64-bit platforms.
Obtained from:	id3lib 3.8.0
2002-12-21 20:14:59 +00:00
David W. Chapman Jr.
60750aed3a Update to 2.2.1
PR:		44221
Submitted by:	tkato@prontomail.com
2002-10-24 14:17:53 +00:00
Joe Marcus Clarke
d200ec4eeb Fix install.
PR:		43499
Submitted by:	Tilman Linneweh <tilman@arved.de> (with slight modification)
2002-09-30 01:41:22 +00:00
Anders Nordby
266f4a970e Update freeamp 2.1.1 to zinf 2.2.0.
Add zlib patches for working around zlib 1.1.4 problems (obtained from
src/lib/zlibz in current) + a file that was forgotten in the zlib 1.1.3 to
1.1.4 upgrade between freeamp 2.1.1 and zinf 2.2.0.
2002-08-08 19:17:19 +00:00
Joseph Koshy
8b5aa37d98 Fix a bug that was preventing freeamp from playing RTP (multicast)
streams.  Bump PORTREVISION.
2002-06-10 10:46:45 +00:00
Dmitry Sivachenko
a517ea22e4 Fix build on -current;
Fix detection of freetype library.

PR:		36657
Submitted by:	MAINTAINER
2002-05-01 07:26:03 +00:00
Patrick Li
14449954e0 Remove unnecessary ORBit dependency that installs an experimental UI plugin
and unbreaks build if ORBit is not installed. Bump PORTREVISION.

PR:		35915
Submitted by:	maintainer
Noticed by:	kris
2002-03-15 05:24:22 +00:00
Ying-Chieh Liao
5579dde896 upgrade to 2.1.1
PR:		32938
Submitted by:	maintainer, Ports Fury
2001-12-17 18:50:46 +00:00
Kevin Lo
a2cad3a1c1 - Fix dependency stuff
- Support CXXFLAGS/PREFIX properly
- Supoprt PTHREAD_CFLAGS/PTHREAD_LIBS

PR: 28645
Submitted by: Ports Fury
2001-07-03 12:46:58 +00:00
Torsten Blum
98d2a1cac1 - upgrade to FreeAmp 2.1.0 (which also unbreaks it)
- install a sdr plugin - freeamp supports rtp (and unicast sucks for
  "streaming" anyways ;)
2001-07-02 08:24:09 +00:00