Hi all,

eina build failed on FreeBSD, so I made FreeBSD patch.

Best regards.
-=-=-=-=-=-=-=-=-
Naruto TAKAHASHI
[EMAIL PROTECTED]
Index: src/lib/eina_counter.c
===================================================================
--- src/lib/eina_counter.c      (revision 36945)
+++ src/lib/eina_counter.c      (working copy)
@@ -76,7 +76,11 @@
 static inline int
 _eina_counter_time_get(Eina_Nano_Time *tp)
 {
+#ifdef __FreeBSD__
+   return clock_gettime(CLOCK_PROF, tp);
+#else
    return clock_gettime(CLOCK_PROCESS_CPUTIME_ID, tp);
+#endif
 }
 #else
 static int EINA_COUNTER_ERROR_WINDOWS = 0;
Index: configure.ac
===================================================================
--- configure.ac        (revision 36945)
+++ configure.ac        (working copy)
@@ -274,6 +274,9 @@
       EINA_LIBS="${EINA_LIBS} ${EVIL_LIBS} -lm"
       lt_enable_auto_import="-Wl,--enable-auto-import"
    ;;
+   freebsd*)
+      EINA_LIBS="${EINA_LIBS} -lrt -lm"
+   ;;
    *)
       EINA_LIBS="${EINA_LIBS} -ldl -lrt -lm"
    ;;
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to