how to install smarty patch

Open Harvester Systems support questions and answers, bug reports, and development issues.

Moderators: jmacgreg, michael, John

Forum rules
The Public Knowledge Project Support Forum is moving to

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.
Posts: 2
Joined: Fri Sep 29, 2006 5:45 am

how to install smarty patch

Postby bart » Fri Sep 29, 2006 5:57 am


I've run in to the same problem using harvester2 on a server(Solaris) with php 5.1.4 concerning the number of items displayed on a page. Exactly one that is. I've tried to install the patch from the basedir of the harvester using: patch -up0 < smartypatch , where smartypatch is the patchfile retrieved from bugzilla.

I keep getting:
Looks lik a unified context diff.
File to patch:
No file found -- skip this patch? [no] y
Skipping patch...

and so on

Due to closed off ports I am not able to use the CVS, even getting the patchfile was a bit hard, having to use a computer on another network etc.

Is it possible to explain the correct patch command to apply the patch in a soothing blissful way?

many many thanks in advance

Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Postby asmecher » Fri Sep 29, 2006 7:42 am

Hi Bart,

The patch tool that ships with Solaris doesn't seem to be compatible with the patch format that everyone else in the known universe uses. Try downloading the GNU patch tool and compiling it for Solaris; it should be available at

Alec Smecher
Open Journal Systems Team

Posts: 2
Joined: Fri Sep 29, 2006 5:45 am

Postby bart » Fri Sep 29, 2006 8:32 am

Thanks for the swift reply,

I guess you're right, when applying the patch to a local copy on my mac the procedure was indeed more graceful, except for the absence of the diffs..

It may be a workaround for me to copy my local copy onto the server.

Return to “Open Harvester Systems Support and Development”

Who is online

Users browsing this forum: No registered users and 1 guest