Bug 112858 - [fix] databases/php5-oci8 broken since 5.2.2
Summary: [fix] databases/php5-oci8 broken since 5.2.2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Alex Dupre
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-22 11:50 UTC by Šimun Mikecin
Modified: 2007-05-26 22:10 UTC (History)
0 users

See Also:


Attachments
file.diff (812 bytes, patch)
2007-05-22 11:50 UTC, Šimun Mikecin
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Šimun Mikecin 2007-05-22 11:50:01 UTC
Since PHP got upgraded to 5.2.2 this port is broken (compilation fails).
This is because of using a feature of Oracle OCI that is not supported by the version we use on FreeBSD (oracle8-client port) regarding finding maximum number of bytes per characted for particular OCI session.
To be on the safe side this patch always returnes 4 as maximum number of bytes per character. This should be sufficient for all encodings that I know of.

Fix: Patch attached with submission follows:
How-To-Repeat: try installing or upgrading to php5-oci8 port version 5.2.2.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-05-22 11:50:13 UTC
Class Changed
From-To: maintainer-update->change-request

Fix category (submitter is not maintainer)
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2007-05-22 11:50:21 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

Over to maintainer
Comment 3 dfilter service freebsd_committer freebsd_triage 2007-05-26 22:07:05 UTC
ale         2007-05-26 21:06:59 UTC

  FreeBSD ports repository

  Added files:
    databases/php5-oci8/files patch-oci8_lob.c 
  Log:
  Fix build.
  
  PR:             ports/112858
  Submitted by:   Simun Mikecin <numisemis@yahoo.com>
  
  Revision  Changes    Path
  1.1       +20 -0     ports/databases/php5-oci8/files/patch-oci8_lob.c (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 Alex Dupre freebsd_committer freebsd_triage 2007-05-26 22:07:16 UTC
State Changed
From-To: open->closed

Committed, thanks!