Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
b2edd63d
Commit
b2edd63d
authored
Nov 10, 2008
by
Led
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
0.11.5-alt1.2
parent
7354345f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
4 deletions
+19
-4
rules
.gear/rules
+1
-1
mpd-empty-db-line-fix.patch
mpd-empty-db-line-fix.patch
+12
-0
mpd.spec
mpd.spec
+6
-3
No files found.
.gear/rules
View file @
b2edd63d
tar.gz: @version@:.
copy: *.conf
copy: *.conf
*.patch
mpd-empty-db-line-fix.patch
0 → 100644
View file @
b2edd63d
--- mpd-0.11.5/src/song.c.orig 2005-11-02 09:24:16 +0300
+++ mpd-0.11.5/src/song.c 2005-11-02 09:25:29 +0300
@@ -247,6 +247,9 @@ void readSongInfoIntoList(FILE * fp, Son
else if(0==strncmp(SONG_MTIME,buffer,strlen(SONG_MTIME))) {
song->mtime = atoi(&(buffer[strlen(SONG_TITLE)]));
}
+ else if (0==strlen(buffer)) {
+ /*do nothing (empty line in song database fix)*/
+ }
else {
ERROR("songinfo: unknown line in db: %s\n",buffer);
exit(EXIT_FAILURE);
mpd.spec
View file @
b2edd63d
Name: mpd
Version: 0.11.5
Release:
alt1.1
Release:
alt1.2
Summary: Music Player Daemon (MPD) allows remote access for playing music and managing playlists.
License: GPL
...
...
@@ -11,6 +11,8 @@ Url: http://musicpd.org/
Source: %name-%version.tar.gz
Source1: %name.conf
Patch0: %name-empty-db-line-fix.patch
# Automatically added by buildreq on Thu Feb 10 2005
BuildRequires: gcc-c++ gcc-g77 hostinfo libalsa-devel libao-devel libaudiofile-devel libfaad-devel libflac-devel libid3tag-devel libmikmod-devel libogg-devel libstdc++-devel libvorbis-devel zlib-devel
...
...
@@ -25,6 +27,7 @@ like frontend options, or restart X often.
%prep
%setup -q
%patch0 -p1
%build
%configure
...
...
@@ -42,8 +45,8 @@ like frontend options, or restart X often.
%_man1dir/%name.1.gz
%changelog
*
Tue Feb 22 2005 ALT QA Team Robot <qa-robot@altlinux.org> 0.11.5-alt1.1
-
Rebuilt with libflac-1.1.2-alt1
*
Wed Nov 02 2005 Alex Gorbachenko (agent_007) <algor@altlinux.ru> 0.11.5-alt1.2
-
fix for #8395 (10x to Alexei V. Mezin).
* Thu Feb 10 2005 Alex Gorbachenko (agent_007) <algor@altlinux.ru> 0.11.5-alt1
- initial build.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment