diff options
author | Zach van Rijn <me@zv.io> | 2024-06-05 09:05:27 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2024-08-07 10:08:25 -0500 |
commit | f38be5f2c719083b6a56c68cbc95a7c4662f5276 (patch) | |
tree | fe52f3b2a5c10c735167284bd46319ac52528c98 /user/gsl/static-inline.patch | |
parent | f377fa5e670e5212ead8222e1dfdf9dcc6e42f02 (diff) | |
download | packages-f38be5f2c719083b6a56c68cbc95a7c4662f5276.tar.gz packages-f38be5f2c719083b6a56c68cbc95a7c4662f5276.tar.bz2 packages-f38be5f2c719083b6a56c68cbc95a7c4662f5276.tar.xz packages-f38be5f2c719083b6a56c68cbc95a7c4662f5276.zip |
user/gsl: force inline to be static
Closes: #1197
Diffstat (limited to 'user/gsl/static-inline.patch')
-rw-r--r-- | user/gsl/static-inline.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/user/gsl/static-inline.patch b/user/gsl/static-inline.patch new file mode 100644 index 000000000..4f89f30da --- /dev/null +++ b/user/gsl/static-inline.patch @@ -0,0 +1,12 @@ +diff -ur a/gsl_inline.h b/gsl_inline.h +--- a/gsl_inline.h 2024-06-05 08:59:43.655369544 -0500 ++++ b/gsl_inline.h 2024-06-05 09:00:02.707862690 -0500 +@@ -49,7 +49,7 @@ + #ifdef HAVE_INLINE + # if defined(__GNUC_STDC_INLINE__) || defined(GSL_C99_INLINE) || defined(HAVE_C99_INLINE) + # define INLINE_DECL inline /* use C99 inline */ +-# define INLINE_FUN inline ++# define INLINE_FUN static inline + # else + # define INLINE_DECL /* use GNU extern inline */ + # define INLINE_FUN extern inline |