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 2ce7215 commit 5d1a5a7
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion 10.9-libcxx/stable/main/finkinfo/utils/watchman.info
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,23 @@ Source: https://codeload.github.com/facebook/watchman/tar.gz/v%v
Source-Checksum: SHA256(1f6402dc70b1d056fffc3748f2fdcecff730d8843bb6936de395b3443ce05322)
SourceRename: %n-%v.tar.gz

BuildDepends: autoconf2.6, automake1.15-core, libpcre1, libtool2, pkgconfig
BuildDepends: autoconf2.6, automake1.15-core, libpcre1, libtool2, pkgconf
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 5d1a5a7

Please sign in to comment.