From 1ed648eda7a8261167ea38c4e2e5326f35c7301f Mon Sep 17 00:00:00 2001 From: Rainer Hurling Date: Sat, 27 Nov 2021 21:45:41 +0100 Subject: graphics/rawstudio: Add missing dependencies and renew patches - Add dependencies found via DEVELOPERS=yes set in /etc/make.conf - Reorder some Makefile vars, suggested by portclippy - Add NLS option to conditionally disable gettext support - Renew and rearrange all patches under files PR: 254011 Approved by: Oleksii Samorukov (maintainer) --- graphics/rawstudio/files/patch-librawstudio_rs-macros.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 graphics/rawstudio/files/patch-librawstudio_rs-macros.h (limited to 'graphics/rawstudio/files/patch-librawstudio_rs-macros.h') diff --git a/graphics/rawstudio/files/patch-librawstudio_rs-macros.h b/graphics/rawstudio/files/patch-librawstudio_rs-macros.h new file mode 100644 index 000000000000..f57e79f1be0d --- /dev/null +++ b/graphics/rawstudio/files/patch-librawstudio_rs-macros.h @@ -0,0 +1,17 @@ +--- librawstudio/rs-macros.h.orig 2011-02-15 17:28:05 UTC ++++ librawstudio/rs-macros.h +@@ -51,12 +51,12 @@ + #if __GNUC__ >= 3 + #define likely(x) __builtin_expect (!!(x), 1) + #define unlikely(x) __builtin_expect (!!(x), 0) +-#define align(x) __attribute__ ((aligned (x))) ++// #define align(x) __attribute__ ((aligned (x))) + #define __deprecated __attribute__ ((deprecated)) + #else + #define likely(x) (x) + #define unlikely(x) (x) +-#define align(x) ++// #define align(x) + #define __deprecated + #endif + -- cgit v1.2.3