Skip to content
This repository was archived by the owner on Mar 10, 2026. It is now read-only.
This repository was archived by the owner on Mar 10, 2026. It is now read-only.

Build against PHP 5.4 #3999

Closed
Closed

Description

@michaelrsweet

Version: 1.5.0
CUPS.org User: remi

function_entry have been removed from PHP 5.4.
Should use zend_function_entry which is available since PHP 5.0.0

See trivial attached patch

Activity

  1. michaelrsweet commented on Jan 3, 2012

    @michaelrsweet
    ContributorAuthor

    CUPS.org User: mike

    Will apply for a future 1.5.x release, however the PHP module has been removed from CUPS 1.6 and later.

  2. michaelrsweet commented on Jan 27, 2012

    @michaelrsweet
    ContributorAuthor

    CUPS.org User: mike

    Fixed in Subversion repository.

  3. michaelrsweet commented on Jan 27, 2012

    @michaelrsweet
    ContributorAuthor

    "cups-php54.patch":

    diff -up cups-1.5.0/scripting/php/phpcups.c.orig cups-1.5.0/scripting/php/phpcups.c
    --- cups-1.5.0/scripting/php/phpcups.c.orig 2011-12-27 16:54:21.520359399 +0100
    +++ cups-1.5.0/scripting/php/phpcups.c 2011-12-27 16:54:55.461360314 +0100
    @@ -40,7 +40,7 @@

    • PHP function list...
      */

    -function_entry phpcups_functions[] =
    +zend_function_entry phpcups_functions[] =
    {
    PHP_FE(cups_cancel_job, NULL)
    PHP_FE(cups_get_dests, NULL)

  4. added this to the Stable milestone on Mar 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions