Bug 94941 - [PATCH] databases/libgda2: [Fix build on FreeBSD 4.x]
Summary: [PATCH] databases/libgda2: [Fix build on FreeBSD 4.x]
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: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-26 02:50 UTC by Tod McQuillin
Modified: 2006-04-01 00:43 UTC (History)
1 user (show)

See Also:


Attachments
libgda2-1.9.102.patch (4.64 KB, patch)
2006-03-26 02:50 UTC, Tod McQuillin
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tod McQuillin 2006-03-26 02:50:12 UTC
Fix several C99isms so that the code will compile on FreeBSD 4.x
which uses gcc 2.95.

In libgda/gda-query-target.c move a variable declaration to the
top of the block.

In libgda/handlers/gda-handler-numerical.c,
providers/ibmdb2/gda-ibmdb2-types.c,
providers/mysql/gda-mysql-recordset.c, providers/oracle/utils.c,
change calls to atoll() to use strtoll() instead, which is supported
on FreeBSD 4.x.

Added file(s):
- files/patch-libgda_gda-query-target.c
- files/patch-libgda_handlers_gda-handler-numerical.c
- files/patch-providers_ibmdb2_gda-ibmdb2-types.c
- files/patch-providers_oracle_utils.c

Port maintainer (gnome@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.63
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-03-26 02:54:36 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gnome

Over to maintainer
Comment 2 Tod McQuillin 2006-03-28 04:47:37 UTC
This port has since been renamed to libgda3, but the patch still applies.

Thanks,
-- 
Tod McQuillin
Comment 3 Joe Marcus Clarke freebsd_committer freebsd_triage 2006-04-01 00:43:08 UTC
State Changed
From-To: open->closed

Committed, thanks!