ports/graphics/rawstudio/files/patch-librawstudio_rs-macros.h
Rainer Hurling 1ed648eda7 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)
2021-11-27 21:45:41 +01:00

17 lines
498 B
C

--- 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