All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] sasl, tls: fix compilation on systems with nonstandard install points
@ 2009-04-22 19:07 Steven Noonan
  2009-04-22 19:09 ` [Qemu-devel] " Steven Noonan
  0 siblings, 1 reply; 3+ messages in thread
From: Steven Noonan @ 2009-04-22 19:07 UTC (permalink / raw)
  To: qemu-devel; +Cc: Steven Noonan

Users of MacPorts will experience this problem if they install
gnutls through 'port install'. The object files vnc-tls.o and
vnc-auth-vencrypt.o aren't compiled with the right flags and
end up causing compiler errors about missing headers, etc. This
patch corrects this by adding the flags to the objects which
complain without them.

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
---
 Makefile |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index ed887de..fb4cb4f 100644
--- a/Makefile
+++ b/Makefile
@@ -194,14 +194,20 @@ vnc.h: vnc-tls.h vnc-auth-vencrypt.h vnc-auth-sasl.h keymaps.h
 
 vnc.o: vnc.c vnc.h vnc_keysym.h vnchextile.h d3des.c d3des.h acl.h
 
-vnc.o: CFLAGS += $(CONFIG_VNC_TLS_CFLAGS)
+vnc.o: CFLAGS += $(CONFIG_VNC_TLS_CFLAGS) $(CONFIG_VNC_SASL_CFLAGS)
 
 vnc-tls.o: vnc-tls.c vnc.h
 
+vnc-tls.o: CFLAGS += $(CONFIG_VNC_TLS_CFLAGS) $(CONFIG_VNC_SASL_CFLAGS)
+
 vnc-auth-vencrypt.o: vnc-auth-vencrypt.c vnc.h
 
+vnc-auth-vencrypt.o: CFLAGS += $(CONFIG_VNC_TLS_CFLAGS) $(CONFIG_VNC_SASL_CFLAGS)
+
 vnc-auth-sasl.o: vnc-auth-sasl.c vnc.h
 
+vnc-auth-sasl.o: CFLAGS += $(CONFIG_VNC_TLS_CFLAGS) $(CONFIG_VNC_SASL_CFLAGS)
+
 curses.o: curses.c keymaps.h curses_keys.h
 
 bt-host.o: CFLAGS += $(CONFIG_BLUEZ_CFLAGS)
-- 
1.6.2.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Qemu-devel] Re: [PATCH] sasl, tls: fix compilation on systems with nonstandard install points
  2009-04-22 19:07 [Qemu-devel] [PATCH] sasl, tls: fix compilation on systems with nonstandard install points Steven Noonan
@ 2009-04-22 19:09 ` Steven Noonan
  0 siblings, 0 replies; 3+ messages in thread
From: Steven Noonan @ 2009-04-22 19:09 UTC (permalink / raw)
  To: qemu-devel; +Cc: Steven Noonan

[-- Attachment #1: Type: text/plain, Size: 1571 bytes --]

Sorry, did not intend to send this twice. Took a bit to get postfix working
and then it sent a ton of queued messages.

On Wed, Apr 22, 2009 at 12:07 PM, Steven Noonan <steven@uplinklabs.net>wrote:

> Users of MacPorts will experience this problem if they install
> gnutls through 'port install'. The object files vnc-tls.o and
> vnc-auth-vencrypt.o aren't compiled with the right flags and
> end up causing compiler errors about missing headers, etc. This
> patch corrects this by adding the flags to the objects which
> complain without them.
>
> Signed-off-by: Steven Noonan <steven@uplinklabs.net>
> ---
>  Makefile |    8 +++++++-
>  1 files changed, 7 insertions(+), 1 deletions(-)
>
> diff --git a/Makefile b/Makefile
> index ed887de..fb4cb4f 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -194,14 +194,20 @@ vnc.h: vnc-tls.h vnc-auth-vencrypt.h vnc-auth-sasl.h
> keymaps.h
>
>  vnc.o: vnc.c vnc.h vnc_keysym.h vnchextile.h d3des.c d3des.h acl.h
>
> -vnc.o: CFLAGS += $(CONFIG_VNC_TLS_CFLAGS)
> +vnc.o: CFLAGS += $(CONFIG_VNC_TLS_CFLAGS) $(CONFIG_VNC_SASL_CFLAGS)
>
>  vnc-tls.o: vnc-tls.c vnc.h
>
> +vnc-tls.o: CFLAGS += $(CONFIG_VNC_TLS_CFLAGS) $(CONFIG_VNC_SASL_CFLAGS)
> +
>  vnc-auth-vencrypt.o: vnc-auth-vencrypt.c vnc.h
>
> +vnc-auth-vencrypt.o: CFLAGS += $(CONFIG_VNC_TLS_CFLAGS)
> $(CONFIG_VNC_SASL_CFLAGS)
> +
>  vnc-auth-sasl.o: vnc-auth-sasl.c vnc.h
>
> +vnc-auth-sasl.o: CFLAGS += $(CONFIG_VNC_TLS_CFLAGS)
> $(CONFIG_VNC_SASL_CFLAGS)
> +
>  curses.o: curses.c keymaps.h curses_keys.h
>
>  bt-host.o: CFLAGS += $(CONFIG_BLUEZ_CFLAGS)
> --
> 1.6.2.1
>
>

[-- Attachment #2: Type: text/html, Size: 2037 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Qemu-devel] [PATCH] sasl, tls: fix compilation on systems with nonstandard install points
@ 2009-04-22 18:45 Steven Noonan
  0 siblings, 0 replies; 3+ messages in thread
From: Steven Noonan @ 2009-04-22 18:45 UTC (permalink / raw)
  To: qemu-devel; +Cc: Steven Noonan

Users of MacPorts will experience this problem if they install
gnutls through 'port install'. The object files vnc-tls.o and
vnc-auth-vencrypt.o aren't compiled with the right flags and
end up causing compiler errors about missing headers, etc. This
patch corrects this by adding the flags to the objects which
complain without them.

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
---
 Makefile |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index ed887de..fb4cb4f 100644
--- a/Makefile
+++ b/Makefile
@@ -194,14 +194,20 @@ vnc.h: vnc-tls.h vnc-auth-vencrypt.h vnc-auth-sasl.h keymaps.h
 
 vnc.o: vnc.c vnc.h vnc_keysym.h vnchextile.h d3des.c d3des.h acl.h
 
-vnc.o: CFLAGS += $(CONFIG_VNC_TLS_CFLAGS)
+vnc.o: CFLAGS += $(CONFIG_VNC_TLS_CFLAGS) $(CONFIG_VNC_SASL_CFLAGS)
 
 vnc-tls.o: vnc-tls.c vnc.h
 
+vnc-tls.o: CFLAGS += $(CONFIG_VNC_TLS_CFLAGS) $(CONFIG_VNC_SASL_CFLAGS)
+
 vnc-auth-vencrypt.o: vnc-auth-vencrypt.c vnc.h
 
+vnc-auth-vencrypt.o: CFLAGS += $(CONFIG_VNC_TLS_CFLAGS) $(CONFIG_VNC_SASL_CFLAGS)
+
 vnc-auth-sasl.o: vnc-auth-sasl.c vnc.h
 
+vnc-auth-sasl.o: CFLAGS += $(CONFIG_VNC_TLS_CFLAGS) $(CONFIG_VNC_SASL_CFLAGS)
+
 curses.o: curses.c keymaps.h curses_keys.h
 
 bt-host.o: CFLAGS += $(CONFIG_BLUEZ_CFLAGS)
-- 
1.6.2.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-04-22 19:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-22 19:07 [Qemu-devel] [PATCH] sasl, tls: fix compilation on systems with nonstandard install points Steven Noonan
2009-04-22 19:09 ` [Qemu-devel] " Steven Noonan
  -- strict thread matches above, loose matches on Subject: below --
2009-04-22 18:45 [Qemu-devel] " Steven Noonan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.