Weird thread error which breaks the gtk-sharp build



I was giving my machine a bit of a workout to test some patches and I
happened to pick the gnome2 ports build. All was going swimmingly until
it fell flat on its face attempting to build gtk-sharp. As it turned
out, an error (warning?) message from libthr had turned up in one of
the source files that the build generated. I tweaked my sources as
below to get around it but I'm not really sure of the right fix:

Index: thr_private.h
===================================================================
RCS file: /home/ncvs/src/lib/libthr/thread/thr_private.h,v
retrieving revision 1.77
diff -u -r1.77 thr_private.h
--- thr_private.h 20 Dec 2006 04:43:34 -0000 1.77
+++ thr_private.h 22 Jul 2007 17:54:21 -0000
@@ -72,7 +72,7 @@

/* Output debug messages like this: */
#define stdout_debug(args...) _thread_printf(STDOUT_FILENO, ##args)
-#define stderr_debug(args...) _thread_printf(STDOUT_FILENO, ##args)
+#define stderr_debug(args...) _thread_printf(STDERR_FILENO, ##args)

#ifdef _PTHREADS_INVARIANTS
#define THR_ASSERT(cond, msg) do { \
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Lisp project directory layout
    ... >> Pretty much the same thing: src, doc, bin, patches. ... subsystems are subdirs under src. ... replacement of entire source files. ... It's faster to load a small patch file than to reload the entire ...
    (comp.lang.lisp)
  • duplicated include files
    ... given the recent patches to remove duplicated #include preprocessor ... directives in source files, let it be known that there are a number of ...
    (Linux-Kernel)
  • Re: duplicated include files
    ... given the recent patches to remove duplicated #include preprocessor ... directives in source files, let it be known that there are a number of ...
    (Linux-Kernel)
  • Re: Adding hotfix to RIS image
    ... Roger, I want to insert the patches into the source files. ... Brad ...
    (microsoft.public.windowsxp.security_admin)