summaryrefslogtreecommitdiff
path: root/graphics/rawstudio/files/patch-librawstudio_rs-macros.h
diff options
context:
space:
mode:
authorRainer Hurling <rhurlin@FreeBSD.org>2021-11-27 21:45:41 +0100
committerRainer Hurling <rhurlin@FreeBSD.org>2021-11-27 21:45:41 +0100
commit1ed648eda7a8261167ea38c4e2e5326f35c7301f (patch)
treedc5c1bf42dacf13d076da81d541fba62c1318e1a /graphics/rawstudio/files/patch-librawstudio_rs-macros.h
parentnet/rclone: update to 1.57.0 (diff)
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 <samm@FreeBSD.org> (maintainer)
Diffstat (limited to 'graphics/rawstudio/files/patch-librawstudio_rs-macros.h')
-rw-r--r--graphics/rawstudio/files/patch-librawstudio_rs-macros.h17
1 files changed, 17 insertions, 0 deletions
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
+