Package Details: patchfork-git 20150303-1

Package Base: patchfork-git
Description: A web client for MPD written in PHP and Ajax (pitchfork fork)
Upstream URL: http://git.joshuawise.com/patchfork.git/
Category: multimedia
Licenses: GPL
Conflicts: pitchfork
Replaces: pitchfork
Submitter: unhammer
Maintainer: kirill.str
Last Packager: kirill.str
Votes: 5
First Submitted: 2011-11-22 10:40
Last Updated: 2015-03-03 15:28

Dependencies (3)

Required by (0)

Sources

  • patchfork.conf

Latest Comments

Comment by kirill.str

2015-03-03 15:39

Updated PKGBUILD:
- Added missing package() function
- Replaced deprecated $startdir with $srcdir and $pkgdir

Also, please take note that you may see your httpd's error_log get flooded with the following notices:

PHP Notice: Undefined variable: need_rw in /srv/http/patchfork/inc/base.php on line 53, referer: http://localhost:8010/patchfork/player/index.php

I've notified upstream developer and hopefully this will get fixed soon. As a temporary solution it seems to be safe enough to remove that $need_rw variable since it is only initialized once to 'true' and accessed only in this file.

Replace line 53 in /srv/http/patchfork/inc/base.php
- if(!isset($_SESSION['logged_in'])||!$_SESSION['logged_in'] || ($need_rw && !$rw)) {
+ if(!isset($_SESSION['logged_in'])||!$_SESSION['logged_in'] || !$rw) {

Comment by unhammer

2015-02-27 14:54

orphaning since I can't even remember what this is

Comment by mst

2015-01-02 17:20

Missing package() function
Makepkg was unable to build patchfork-git