Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Dec 2001 00:33:38 +0100
From:      "Idar Tollefsen" <idart@hotmail.com>
To:        gnome@freebsd.org
Subject:   guile-gnome v. 0.20, port v. 3
Message-ID:  <F34SktLxHbHucVXqxsD00003b6a@hotmail.com>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_2986_5989_503
Content-Type: text/plain; format=flowed

FreeBSD GNOME team,

I had some difficulties building guile-gnome on Alpha (21164A).

I've attached three patches to show what I did to work around the
problems.

In all cases, the problem was that struct members who where to
contain the size of the object was attempted initialized with a
string.

For ghttp-glue.c and gtkhtml-glue.c, the string "sizeof([Object])"
was replaced with "sizeof(GtkTypeInfo)". For gnorba-glue.c, the
string was replaced with a real call to sizeof with the argument
I believed it was intented to have.

Altough these where made in a hurry and just put together to get
guile-gnome to build, I believe that ghttp-glue.c.diff and 
gtkhtml-glue.c.diff holds the correct fixes for the problems. 
gnorba-glue.c.diff on the other hand could be just plain wrong.

None of the three have recived proper testing as I have not yet
succedeed in building the entire GNOME collection.

Thank you for your time.


- IT

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.

------=_NextPart_000_2986_5989_503
Content-Type: application/octet-stream; name="ghttp-glue.c.diff"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="ghttp-glue.c.diff"

LS0tIC91c3IvcG9ydHMveDExLXRvb2xraXRzL2d1aWxlLWdub21lL3dvcmsv
Z25vbWUtZ3VpbGUtMC4yMC9ndWlsZS1nbm9tZS9naHR0cC9naHR0cC1nbHVl
LmMJRnJpIEZlYiAgMiAwMzoyMToxMSAyMDAxCisrKyAuL2dodHRwLWdsdWUu
YwlNb24gRGVjIDE3IDE5OjI5OjIwIDIwMDEKQEAgLTUzLDcgKzUzLDkgQEAK
IH07CiAKIEd0a1R5cGVJbmZvIHNndGtfZ2h0dHBfcmVxdWVzdF9pbmZvX2d0
ayA9IHsKLSAgImdodHRwcmVxdWVzdCIsICJzaXplb2YgKGdodHRwX3JlcXVl
c3QpIiwgMCwKKyAgImdodHRwcmVxdWVzdCIsCisgIHNpemVvZiAoR3RrVHlw
ZUluZm8pLAorICAwLAogICAoR3RrQ2xhc3NJbml0RnVuYykgTlVMTCwKICAg
KEd0a09iamVjdEluaXRGdW5jKSBOVUxMLAogICAoR3RrQXJnU2V0RnVuYykg
TlVMTCwK


------=_NextPart_000_2986_5989_503
Content-Type: application/octet-stream; name="gnorba-glue.c.diff"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="gnorba-glue.c.diff"

LS0tIC91c3IvcG9ydHMveDExLXRvb2xraXRzL2d1aWxlLWdub21lL3dvcmsv
Z25vbWUtZ3VpbGUtMC4yMC9ndWlsZS1nbm9tZS9nbm9yYmEtZ2x1ZS5jCUZy
aSBGZWIgIDIgMDM6MjA6NTIgMjAwMQorKysgLi9nbm9yYmEtZ2x1ZS5jCU1v
biBEZWMgMTcgMTk6Mjk6MDYgMjAwMQpAQCAtNDEsNyArNDEsOSBAQAogfTsK
IAogR3RrVHlwZUluZm8gc2d0a19jb3JiYV9vcmJfaW5mb19ndGsgPSB7Ci0g
ICJDT1JCQU9SQiIsICJzaXplb2YgKENPUkJBX09SQikiLCAwLAorICAiQ09S
QkFPUkIiLCAKKyAgc2l6ZW9mIChHdGtUeXBlSW5mbyksCisgIDAsCiAgIChH
dGtDbGFzc0luaXRGdW5jKSBOVUxMLAogICAoR3RrT2JqZWN0SW5pdEZ1bmMp
IE5VTEwsCiAgIChHdGtBcmdTZXRGdW5jKSBOVUxMLApAQCAtNTcsNyArNTks
OSBAQAogfTsKIAogR3RrVHlwZUluZm8gc2d0a19jb3JiYV9lbnZpcm9ubWVu
dF9pbmZvX2d0ayA9IHsKLSAgIkNPUkJBRW52aXJvbm1lbnQiLCAic2l6ZW9m
IChDT1JCQV9FbnZpcm9ubWVudCkiLCAwLAorICAiQ09SQkFFbnZpcm9ubWVu
dCIsCisgIHNpemVvZiAoR3RrVHlwZ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DAsCisgICJDT1JCQU9iamVjdCIsCisgIHNpemVvZiAoQ09S
QkFfT2JqZWN0KSwKKyAgMCwKICAgKEd0a0NsYXNzSW5pdEZ1bmMpIE5VTEws
CiAgIChHdGtPYmplY3RJbml0RnVuYykgTlVMTCwKICAgKEd0a0FyZ1NldEZ1
bmMpIE5VTEwsCg==


------=_NextPart_000_2986_5989_503
Content-Type: application/octet-stream; name="gtkhtml-glue.c.diff"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="gtkhtml-glue.c.diff"

LS0tIC91c3IvcG9ydHMveDExLXRvb2xraXRzL2d1aWxlLWdub21lL3dvcmsv
Z25vbWUtZ3VpbGUtMC4yMC9ndWlsZS1nbm9tZS9ndGtodG1sL2d0a2h0bWwt
Z2x1ZS5jCVR1ZSBEZWMgMjUgMTg6MTk6MzEgMjAwMQorKysgLi9ndGtodG1s
LWdsdWUuYwlNb24gRGVjIDE3IDE5OjI5OjMzIDIwMDEKQEAgLTExMCw3ICsx
MTAsOSBAQAogZXh0ZXJuIHNndGtfYm94ZWRfaW5mbyBzZ3RrX2d0aW1lcl9p
bmZvOwogCiBHdGtUeXBlSW5mbyBzZ3RrX2d0a19odG1sc3RyZWFtX2luZm9f
Z3RrID0gewotICAiR3RrSFRNTFN0cmVhbSIsICJzaXplb2YgKEd0a0hUTUxT
dHJlYW0pIiwgMCwKKyAgIkd0a0hUTUxTdHJlYW0iLCAKKyAgc2l6ZW9mIChH
dGtUeXBlSW5mbyksCisgIDAsCiAgIChHdGtDbGFzc0luaXRGdW5jKSBOVUxM
LAogICAoR3RrT2JqZWN0SW5pdEZ1bmMpIE5VTEwsCiAgIChHdGtBcmdTZXRG
dW5jKSBOVUxMLAo=


------=_NextPart_000_2986_5989_503--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-gnome" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F34SktLxHbHucVXqxsD00003b6a>