Skip to content

Commit

Permalink
Set AC_CONFIG_AUX_DIR, catch warnings for watchman
Browse files Browse the repository at this point in the history
  • Loading branch information
dhomeier committed Jan 10, 2023
1 parent 96c2123 commit 7013e2c
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions 10.9-libcxx/stable/main/finkinfo/utils/watchman.info
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,20 @@ SourceRename: %n-%v.tar.gz
BuildDepends: autoconf2.6, automake1.15-core, libpcre1, libtool2, pkgconfig
Depends: libpcre1-shlibs

SetCXXFlags: -Wno-invalid-offsetof -Wno-deprecated-declarations

ConfigureParams: <<
--enable-silent-rules \
--enable-conffile=%p/etc/watchman.json \
--disable-cppclient
<<

PatchScript: <<
perl -pi -e 's|(AC_CONFIG_MACRO_DIR)|AC_CONFIG_AUX_DIR([build-aux])\n$1|' configure.ac
perl -pi -e 's|(uint32_t total)( = )|$1 [[gnu::unused]]$2|' json.cpp
perl -pi -e 's|(sprintf\()(seq)(, )|snprintf($2, sizeof($2), |' thirdparty/jansson/dump.cpp
<<

CompileScript: <<
libtoolize --no-warn -i -f
aclocal-1.15
Expand All @@ -42,4 +50,10 @@ InstallScript: <<
rm -r %i/lib
<<

DescPort: <<
Disabled/cleared critical warnings with XCode 14 on
-Wunused-but-set-variable (`total`), -Winvalid-offsetof (`object`).
-Wdeprecated-declarations (`sprintf`, `FSEventStreamScheduleWithRunLoop`).
<<

DocFiles: README.markdown LICENSE

0 comments on commit 7013e2c

Please sign in to comment.