mirror of
https://git.freebsd.org/ports.git
synced 2025-07-04 19:09:16 -04:00
- swrast is only a gallium driver now. - Bump needed llvm to 12 - libclc is still a llvm10, moving to >10 needs to change from where we pick libclc as its now part of llvm Differential Revision: https://reviews.freebsd.org/D31165 Reviewed by: kbowling, zeising
27 lines
1.1 KiB
C
27 lines
1.1 KiB
C
--- src/util/u_process.c.orig 2021-06-30 18:18:56 UTC
|
|
+++ src/util/u_process.c
|
|
@@ -94,22 +94,13 @@ __getProgramName()
|
|
# define GET_PROGRAM_NAME() __getProgramName()
|
|
#elif defined(HAVE_PROGRAM_INVOCATION_NAME)
|
|
# define GET_PROGRAM_NAME() program_invocation_short_name
|
|
-#elif defined(__FreeBSD__) && (__FreeBSD__ >= 2)
|
|
-# include <osreldate.h>
|
|
-# if (__FreeBSD_version >= 440000)
|
|
-# define GET_PROGRAM_NAME() getprogname()
|
|
-# endif
|
|
+#elif defined(__FreeBSD__) || defined(__DragonFly__) || defined(__APPLE__) || defined(ANDROID)
|
|
+# define GET_PROGRAM_NAME() getprogname()
|
|
#elif defined(__NetBSD__)
|
|
# include <sys/param.h>
|
|
# if defined(__NetBSD_Version__) && (__NetBSD_Version__ >= 106000100)
|
|
# define GET_PROGRAM_NAME() getprogname()
|
|
# endif
|
|
-#elif defined(__DragonFly__)
|
|
-# define GET_PROGRAM_NAME() getprogname()
|
|
-#elif defined(__APPLE__)
|
|
-# define GET_PROGRAM_NAME() getprogname()
|
|
-#elif defined(ANDROID)
|
|
-# define GET_PROGRAM_NAME() getprogname()
|
|
#elif defined(__sun)
|
|
/* Solaris has getexecname() which returns the full path - return just
|
|
the basename to match BSD getprogname() */
|