Advertisement
Guest User

linux.patch

a guest
Oct 30th, 2020
563
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.48 KB | None | 0 0
  1. diff --unified --recursive --text package.orig/libretro-uae/Makefile package.new/libretro-uae/Makefile
  2. --- package.orig/libretro-uae/Makefile 2020-10-30 20:39:15.601987954 +0100
  3. +++ package.new/libretro-uae/Makefile 2020-10-30 20:42:32.571976526 +0100
  4. @@ -21,6 +21,7 @@
  5. TARGET := $(TARGET_NAME)_libretro.so
  6. fpic := -fPIC
  7. LDFLAGS += -lpthread
  8. + CFLAGS += -fcommon
  9. SHARED := -shared -Wl,--version-script=$(CORE_DIR)/libretro/link.T
  10.  
  11. # RPI
  12. diff --unified --recursive --text package.orig/libretro-uae/retrodep/memory.c package.new/libretro-uae/retrodep/memory.c
  13. --- package.orig/libretro-uae/retrodep/memory.c 2020-10-30 20:39:15.621987952 +0100
  14. +++ package.new/libretro-uae/retrodep/memory.c 2020-10-30 20:41:14.891981034 +0100
  15. @@ -18,10 +18,12 @@
  16. #ifndef __CELLOS_LV2__
  17. #ifndef _WIN32
  18. #ifndef VITA
  19. +#ifndef __linux__
  20. #include <sys/sysctl.h>
  21. #endif
  22. #endif
  23. #endif
  24. +#endif
  25. #endif
  26. #endif
  27. #include "include/memory_uae.h"
  28. diff --unified --recursive --text package.orig/libretro-uae/sources/src/od-generic/memory.c package.new/libretro-uae/sources/src/od-generic/memory.c
  29. --- package.orig/libretro-uae/sources/src/od-generic/memory.c 2020-10-30 20:39:15.668654616 +0100
  30. +++ package.new/libretro-uae/sources/src/od-generic/memory.c 2020-10-30 20:41:49.938645658 +0100
  31. @@ -15,8 +15,10 @@
  32. #include "options.h"
  33. #include "autoconf.h"
  34. #ifndef ANDROID
  35. +#ifndef __linux__
  36. #include <sys/sysctl.h>
  37. #endif
  38. +#endif
  39. #include "include/memory_uae.h"
  40. #include "misc.h"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement