Commit graph

22379 commits

Author SHA1 Message Date
worldofpeace 271c4b16e9 blueman: Move D-Bus conf file to share/dbus-1/system.d
Since D-Bus 1.9.18 configuration files installed by third-party should
go in share/dbus-1/system.d. The old location is for sysadmin overrides.
2019-09-16 13:59:09 -04:00
worldofpeace d6d3ccf8b8 fprintd: Move D-Bus conf file to share/dbus-1/system.d
Since D-Bus 1.9.18 configuration files installed by third-party should
go in share/dbus-1/system.d. The old location is for sysadmin overrides.
2019-09-16 13:59:09 -04:00
worldofpeace ac0e914fdc zbar: Move D-Bus conf file to share/dbus-1/system.d
Since D-Bus 1.9.18 configuration files installed by third-party should
go in share/dbus-1/system.d. The old location is for sysadmin overrides.
2019-09-16 13:59:09 -04:00
worldofpeace 369f386e1c packagekit: Move D-Bus conf file to share/dbus-1/system.d
Since D-Bus 1.9.18 configuration files installed by third-party should
go in share/dbus-1/system.d. The old location is for sysadmin overrides.
2019-09-16 13:59:09 -04:00
worldofpeace 22ad487a1f thermald: Move D-Bus conf file to share/dbus-1/system.d
Since D-Bus 1.9.18 configuration files installed by third-party should
go in share/dbus-1/system.d. The old location is for sysadmin overrides.
2019-09-16 13:59:09 -04:00
Vladimír Čunát 268872d996
Merge branch 'staging-next' into staging 2019-09-16 19:25:54 +02:00
Vladimír Čunát fa4a3af5a7
Merge branch 'master' into staging-next 2019-09-16 19:24:52 +02:00
David Wood d857d1628f
starship: 0.15.0 -> 0.17.0 2019-09-16 16:27:13 +01:00
Will Dietz c6af7bf1ac
wireguard: 0.0.20190702 -> 0.0.20190913 2019-09-16 10:12:42 -05:00
zimbatm 25fb1e59d6
nixpkgs-fmt: 0.5.0 -> 0.6.0 2019-09-16 16:28:46 +02:00
Nikolay Korotkiy 96b22bb697
qt5ct: 0.39 -> 0.41 2019-09-16 15:20:49 +03:00
Nick Spinale e39d627a12 gnupg: fix cross-compilation 2019-09-16 10:48:24 +00:00
Nick Spinale a6635fbc19 pinentry: fix cross-compilation 2019-09-16 10:48:24 +00:00
Arian van Putten 35e9b2915a vault: 1.2.2 -> 1.2.3
Fixes the build because https://git.apache.org has been taken offline
and now has been replaced with another mirror
2019-09-16 10:49:59 +02:00
worldofpeace 5df6d6fb58
Merge pull request #68762 from dtzWill/update/modemmanager-1.10.4
modemmanager: 1.10.0 -> 1.10.4
2019-09-15 21:33:14 -04:00
Will Dietz 2182157f31 modemmanager: 1.10.0 -> 1.10.4
Update dbus-sys-dir to not use deprecated directory.

https://gitlab.freedesktop.org/mobile-broadband/ModemManager/blob/1.10.4/NEWS
https://gitlab.freedesktop.org/mobile-broadband/ModemManager/blob/1.10.2/NEWS

Co-authored-by: worldofpeace <worldofpeace@protonmail.ch>
2019-09-15 21:25:25 -04:00
Mario Rodas 41894f17e0
Merge pull request #68644 from marsam/update-netdata
netdata: 1.17.0 -> 1.17.1
2019-09-15 17:49:34 -05:00
Mario Rodas 18eeec914b
Merge pull request #68645 from marsam/update-sops
sops: 3.3.1 -> 3.4.0
2019-09-15 17:49:22 -05:00
Maximilian Bosch b7403db3cb
Merge pull request #68867 from mimame/update/fd-7.4.0
fd: 7.3.0 -> 7.4.0
2019-09-15 23:57:48 +02:00
Maximilian Bosch c4196cca9a
Merge pull request #68659 from JohnAZoidberg/chipsec-141
chipsec: 1.4.0 -> 1.4.1
2019-09-15 23:40:11 +02:00
Marek Mahut a6878ff0dd
Merge pull request #68757 from dtzWill/update/uhubctl-2.1.0
uhubctl: unstable-2019-07-31 -> 2.1.0
2019-09-15 23:36:11 +02:00
Mario Rodas 6091d14c58
Merge pull request #67641 from suhr/i2p
i2p: 0.9.41 -> 0.9.42
2019-09-15 16:33:15 -05:00
Miguel Madrid Mencía 956669e894
fd: 7.3.0 -> 7.4.0 2019-09-15 23:29:24 +02:00
Maximilian Bosch 3ddbe41f79
Merge pull request #68723 from jonringer/freeze-azure-storage
nixops_1_6_1: fix build
2019-09-15 20:03:13 +02:00
worldofpeace ce18c0e644
Merge pull request #68714 from worldofpeace/networkmanager-1.20
networkmanager: 1.18.2 -> 1.20.2
2019-09-15 14:00:17 -04:00
Maximilian Bosch e6b249ce21
Merge pull request #68685 from B4dM4n/mitmproxy-pytest5
mitmproxy: add pytest5 compatability
2019-09-15 19:23:30 +02:00
Maximilian Bosch 36cc0c6392
Merge pull request #68694 from danme/nix-du
nix-du: 0.3.0 -> master
2019-09-15 18:50:50 +02:00
Maximilian Bosch 050646af12
nix-du: update version to show actual rev's date rather than git-master 2019-09-15 18:14:11 +02:00
Maximilian Bosch bd040c5b8b
Merge pull request #68736 from dtzWill/update/dhcpcd-8.0.6
dhcpcd: 8.0.3 -> 8.0.6
2019-09-15 17:07:43 +02:00
Aaron Andersen a6edca1aca
Merge pull request #68406 from leenaars/datefudged
datefudge: 1.22 -> 1.23
2019-09-15 10:17:51 -04:00
Aaron Andersen 6f24ec8827
Merge pull request #66600 from Pamplemousse/sasquatch
sasquatch: init
2019-09-15 10:16:38 -04:00
Nick Spinale f4951397ba lshw: fix cross-compilation 2019-09-15 15:36:31 +02:00
Vladimír Čunát b6c6e1f9e8
Merge branch 'master' into staging-next 2019-09-15 13:18:54 +02:00
Vladyslav M f18a6d5d8f
broot: 0.9.0 -> 0.9.4 (#68777)
broot: 0.9.0 -> 0.9.4
2019-09-15 09:13:52 +03:00
Will Dietz 706b243dad
Merge pull request #68742 from dtzWill/update/txr-225
txr: 224 -> 225
2019-09-14 13:14:43 -05:00
Robert Helgesson 77eef5529f
svtplay-dl: 2.2 -> 2.4 2019-09-14 17:08:51 +02:00
obadz 1a848ef93a
Merge pull request #68764 from dtzWill/update/networkmanager-openconnect-1.2.6
networkmanager-openconnect: 1.2.4 -> 1.2.6
2019-09-14 15:08:00 +01:00
Franz Pletz a0a3f5c86c
Merge pull request #67332 from uvNikita/nixos-container/run
nixos-container: use systemd-run instead of nsenter
2019-09-14 13:22:35 +00:00
Daniel Schaefer e416a39464 bareos: Mark as broken
Doesn't have a maintainer.
Doesn't work with our new glusterfs version.
bareos18 has changed from autotools to cmake so the derivation has to be
completely rewritten.
2019-09-14 15:04:02 +02:00
worldofpeace 1ff3a0c498 networkmanager: 1.18.2 -> 1.20.2
* libnm-glib is gone 👋️
* correct dbus_conf_dir
* remove legacy service symlink
* upstream defaults to 'internal' for dhcp
  NixOS module reflects this.

https://gitlab.freedesktop.org/NetworkManager/NetworkManager/blob/1.20.2/NEWS
2019-09-14 09:01:46 -04:00
Will Dietz 447d625edc networkmanager,modemmanager: fix service symlinks for systemd v243
Fixes problems such as:

systemd[1]: Failed to put bus name to hashmap: File exists
systemd[1]: dbus-org.freedesktop.nm-dispatcher.service: Two services allocated for the same bus name org.freedesktop.nm_dispatcher, refusing operation.

Problem is that systemd treats symlinks to files outside the service
path differently, causing our old workaround to look like two separate services.

These symlinks are intended to be a means for manually emulating
the behavior of the `Alias=` directive in these services.
Unfortunately even making these symlinks relative isn't enough,
since they don't make it to where it matters--
that only makes the links in /etc/static/systemd/system/*
relative, with systemd still being shown non-relative links
in /etc/systemd/system/*.

To fix this, drop all of this at the package level
and instead simply specify the aliases in the NixOS modules.

Also handle the same for modemmanager,
since the networkmanager NixOS module also handles that.
2019-09-14 08:05:27 -04:00
worldofpeace 3cb0ae999f
Revert "networkmanager,modemmanager: fix service symlinks for systemd v243" 2019-09-14 08:04:28 -04:00
worldofpeace e8bc2a6ac0
Merge pull request #68731 from dtzWill/fix/networkmanager-dbus-service-aliases
networkmanager,modemmanager: fix service symlinks for systemd v243
2019-09-14 08:03:12 -04:00
Vladyslav M 2f4fffd9c9
broot: 0.9.0 -> 0.9.4 2019-09-14 13:01:48 +03:00
WilliButz 91bb6cf407
httplz: 1.5.2 -> 1.6.0, add openssl to PATH 2019-09-14 11:58:20 +02:00
Will Dietz c659b70e86 z-lua: 1.7.2 -> 1.7.3, lua-filesystem so _ZL_USE_LFS can be used
https://github.com/skywind3000/z.lua/releases/tag/v1.7.3
2019-09-14 18:49:22 +09:00
WilliButz a52c77fbea
Merge pull request #68660 from JohnAZoidberg/httplz-openssl102
httplz: Fix build with openssl_1_0_2
2019-09-14 11:26:14 +02:00
Will Dietz 6654b52c8b
networkmanager-openconnect: 1.2.4 -> 1.2.6 2019-09-13 23:11:26 -05:00
Will Dietz 108d019e59
uhubctl: unstable-2019-07-31 -> 2.1.0 2019-09-13 22:42:20 -05:00
worldofpeace 2b8712508d
Merge pull request #68697 from Kiwi/ocrmypdf-67497
ocrmypdf: 8.2.3 -> 9.0.3
2019-09-13 23:41:57 -04:00
Robert Djubek 82c4218fe9
ocrmypdf: 8.2.3 -> 9.0.3
Version bump and bug fix
Fixes runtime dependencies ( #67497 ) and the version bump fixed other issues
2019-09-14 03:40:11 +00:00
Will Dietz 4a4586839e
openresolv: 3.9.1 -> 3.9.2
https://roy.marples.name/blog/openresolv-3-9-2-released
2019-09-13 22:14:53 -05:00
Will Dietz 9a63273267
txr: 224 -> 225
http://www.kylheku.com/cgit/txr/tree/RELNOTES?id=txr-225
2019-09-13 21:56:37 -05:00
Will Dietz 7d2ec5eeb8
openconnect: 8.04 -> 8.05 (security!)
https://www.infradead.org/openconnect/changelog.html

( CVE-2019-16239 )
2019-09-13 21:50:11 -05:00
Will Dietz 0d287a2786
dhcpcd: 8.0.3 -> 8.0.6
https://roy.marples.name/blog/dhcpcd-8-0-6-released
2019-09-13 21:41:47 -05:00
Will Dietz f99bdb2b61
networkmanager,modemmanager: fix service symlinks for systemd v243
Fixes problems such as:

systemd[1]: Failed to put bus name to hashmap: File exists
systemd[1]: dbus-org.freedesktop.nm-dispatcher.service: Two services allocated for the same bus name org.freedesktop.nm_dispatcher, refusing operation.

Problem is that systemd treats symlinks to files outside the service
path differently, causing our old workaround to look like two separate services.

These symlinks are intended to be a means for manually emulating
the behavior of the `Alias=` directive in these services.
Unfortunately even making these symlinks relative isn't enough,
since they don't make it to where it matters--
that only makes the links in /etc/static/systemd/system/*
relative, with systemd still being shown non-relative links
in /etc/systemd/system/*.

To fix this, drop all of this at the package level
and instead simply specify the aliases in the NixOS modules.

Also handle the same for modemmanager,
since the networkmanager NixOS module also handles that.
2019-09-13 21:02:39 -05:00
Jonathan Ringer a0440ad8b5 nixops_1_6_1: pin azure-storage 2019-09-13 16:59:45 -07:00
Robin Gloster c8cb4c743e
Merge pull request #68664 from danme/fix-csvkit
csvkit: fix failing test
2019-09-13 23:50:31 +02:00
Robin Gloster 761b3a0640
Merge pull request #68692 from mayflower/netatalk
netatalk: use system netatalk
2019-09-13 20:46:20 +02:00
Eelco Dolstra b9e81b2138 nixFlakes: 2.3pre20190830_04np4n6 -> 2.4pre20190913_a25c022 2019-09-13 20:13:14 +02:00
danme 586946829c nix-du: 0.3.0 -> master
recent master fixes the build problem.
2019-09-13 19:41:07 +02:00
Linus Heckemann 19ca6c62b0 netatalk: use system netatalk 2019-09-13 17:14:50 +00:00
Linus Heckemann 39ee74629c
Merge pull request #68388 from alyssais/appleseed
appleseed: fix build
2019-09-13 18:47:17 +02:00
Fabian Möller 5d0c384fc1
mitmproxy: add pytest5 compatability 2019-09-13 18:30:42 +02:00
Daniel Schaefer 08dab35cd4 xfstests: 2018-04-11 -> 2019-09-08 2019-09-13 17:40:16 +02:00
Robin Gloster b19be78a93
Merge pull request #68648 from JohnAZoidberg/fluxgui120
xflux-gui: 1.1.10 -> 1.2.0
2019-09-13 16:43:13 +02:00
danme 535117b136 csvkit: fix failing test
downgrading dependency agate-sql
2019-09-13 15:29:32 +02:00
Daniel Schaefer acf571eec4 httplz: Fix build with openssl_1_0_2
The rust crate dependency that wraps OpenSSL doesn't support the Openssl
1.1.
2019-09-13 15:02:37 +02:00
Daniel Schaefer f25e86411c chipsec: 1.4.0 -> 1.4.1 2019-09-13 14:30:58 +02:00
Daniel Schaefer eb5497c419 xflux-gui: 1.1.10 -> 1.2.0
Didn't build with the old version because they dropped Python2 and
changed some dependencies.
2019-09-13 14:04:07 +02:00
Robin Gloster 63b645f3d8
Merge pull request #67414 from JohnAZoidberg/chipsec-140
chipsec: 1.3.7 -> 1.4.0
2019-09-13 13:20:02 +02:00
Mario Rodas 67425aa31e
netdata: 1.17.0 -> 1.17.1
Changelog: https://github.com/netdata/netdata/releases/tag/v1.17.1
2019-09-13 04:20:00 -05:00
Mario Rodas 304aa6f6b6
sops: 3.3.1 -> 3.4.0
Changelog: https://github.com/mozilla/sops/releases/tag/3.4.0
2019-09-13 04:20:00 -05:00
Pamplemousse d25bf0495c sasquatch: init 2019-09-12 21:28:29 -07:00
Jan Tojnar a441eaa7b1
Merge branch 'staging-next' into staging 2019-09-12 22:49:43 +02:00
worldofpeace 2a10e8fef5
Merge pull request #68266 from pstn/dehydrated-modernisation
dehydrated: move to pname syntax, handle docs/manpage.
2019-09-12 14:16:39 -04:00
Philipp 274b8654f5 dehydrated: move to pname syntax, handle docs/manpage. 2019-09-12 19:54:44 +02:00
Austin Seipp f0ad5ebdfb nixos/{chrony,ntpd,openntpd}: add myself as maintainer
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-09-12 11:45:51 -05:00
Peter Hoeg 6759d15465
Merge pull request #68512 from nspin/pr/stdenv-spelling
stdenv: fix misspellings of dontPatchELF
2019-09-12 17:04:49 +08:00
Maximilian Bosch 99b291c73c
Merge pull request #68507 from peterhoeg/f/mtr
nixos/mtr: support for selecting the package
2019-09-12 09:34:22 +02:00
Jason Carr 7644e88334 lesspass: fix src 2019-09-11 23:16:36 -04:00
Peter Hoeg 2e47cb88ea
Merge pull request #68510 from peterhoeg/p/dupd
dupd: init at 1.7
2019-09-12 08:22:53 +08:00
worldofpeace 79ec84fb96
Merge pull request #68521 from averelld/youtube-dl-update
youtube-dl: 2019.09.12 -> 2019.09.12.1
2019-09-11 16:43:57 -04:00
Averell Dalton 99ec6416c5 youtube-dl: 2019.09.12 -> 2019.09.12.1 2019-09-11 22:14:33 +02:00
Michael Weiss bcaa3e702f
scdoc: 1.9.7 -> 1.10.0 2019-09-11 22:10:13 +02:00
Roosembert Palacios 264369254c
youtube-dl: 2019.09.01 -> 2019.09.12
Signed-off-by: Roosembert Palacios <roosembert.palacios@epfl.ch>
2019-09-11 21:24:32 +02:00
adisbladis a26a274a68
mongodb-tools: 3.7.2 -> 4.2.0
Fix build with latest Go
2019-09-11 14:33:13 +01:00
Nick Spinale d2333beb86 stdenv: fix misspellings of dontPatchELF 2019-09-11 13:10:09 +00:00
Roman Volosatovs 8d7f62083a
lazydocker: 0.7 -> 0.7.4 2019-09-11 10:39:25 +02:00
Gabriel Ebner 91754d5e8e
fctix-engines.mozc: fix build (#68457)
fctix-engines.mozc: fix build
2019-09-11 10:09:37 +02:00
worldofpeace 2bcd4fa96d
Merge pull request #68443 from ivan/mozc-gcc8-fix
ibus-engines.mozc: fix build
2019-09-10 18:43:57 -04:00
Ivan Kozik fdccd9cd9b fctix-engines.mozc: fix build
This fixes:

FAILED: obj/engine/engine.engine.o
clang++ -MMD -MF obj/engine/engine.engine.o.d -DOS_LINUX -DMOZC_BUILD -DCHANNEL_DEV -DENABLE_GTK_RENDERER -DNDEBUG -DQT_NO_DEBUG -DNO_LOGGING -DIGNORE_HELP_FLAG -DIGNORE_INVALID_FLAG -I/build/source/src -Igen -Igen/proto_out -Wall -Wno-char-subscripts -Wno-sign-compare -Wno-deprecated-declarations -Wwrite-strings -fPIC -fno-exceptions -fmessage-length=0 -fno-strict-aliasing -funsigned-char -include base/namespace.h -pipe -pthread -fno-omit-frame-pointer -fstack-protector --param=ssp-buffer-size=4 -Wtype-limits -O2 -Wno-deprecated -Wno-covered-switch-default -Wno-unnamed-type-template-args -Wno-c++11-narrowing -std=gnu++0x -std=gnu++0x  -c ../../engine/engine.cc -o obj/engine/engine.engine.o
In file included from ../../engine/engine.cc:30:
In file included from /build/source/src/engine/engine.h:33:
In file included from /nix/store/pcs8pq4a5rkym1hzibqz7da45fxkmig7-gcc-8.3.0/include/c++/8.3.0/memory:62:
In file included from /nix/store/pcs8pq4a5rkym1hzibqz7da45fxkmig7-gcc-8.3.0/include/c++/8.3.0/bits/stl_algobase.h:66:
/nix/store/pcs8pq4a5rkym1hzibqz7da45fxkmig7-gcc-8.3.0/include/c++/8.3.0/bits/stl_iterator_base_funcs.h:183:2: error: cannot decrement value of type 'mozc::ZeroQueryDict::iterator'
        --__i;
        ^ ~~~
/nix/store/pcs8pq4a5rkym1hzibqz7da45fxkmig7-gcc-8.3.0/include/c++/8.3.0/bits/stl_iterator_base_funcs.h:206:12: note: in instantiation of function template specialization 'std::__advance<mozc::ZeroQueryDict::iterator, long>' requested here
      std::__advance(__i, __d, std::__iterator_category(__i));
           ^
/nix/store/pcs8pq4a5rkym1hzibqz7da45fxkmig7-gcc-8.3.0/include/c++/8.3.0/bits/stl_algo.h:2137:9: note: in instantiation of function template specialization 'std::advance<mozc::ZeroQueryDict::iterator, long>' requested here
          std::advance(__middle, __half);
               ^
/nix/store/pcs8pq4a5rkym1hzibqz7da45fxkmig7-gcc-8.3.0/include/c++/8.3.0/bits/stl_algo.h:2190:19: note: in instantiation of function template specialization 'std::__equal_range<mozc::ZeroQueryDict::iterator, unsigned long, __gnu_cxx::__ops::_Iter_less_val, __gnu_cxx::__ops::_Val_less_iter>' requested here
      return std::__equal_range(__first, __last, __val,
                  ^
/build/source/src/prediction/zero_query_dict.h:213:17: note: in instantiation of function template specialization 'std::equal_range<mozc::ZeroQueryDict::iterator, unsigned long>' requested here
    return std::equal_range(begin(), end(), iter.index());
                ^
1 error generated.
2019-09-10 21:59:31 +00:00
Gabriel Ebner 9c71e5f594
Merge pull request #67856 from averelld/fcitx-use-enchant2
fcitx: use enchant2
2019-09-10 22:50:45 +01:00
Ivan Kozik b4b332bcad ibus-engines.mozc: fix build
This fixes:

FAILED: obj/engine/engine.engine.o
clang++ -MMD -MF obj/engine/engine.engine.o.d -DOS_LINUX -DMOZC_BUILD -DCHANNEL_DEV -DENABLE_GTK_RENDERER -DNDEBUG -DQT_NO_DEBUG -DNO_LOGGING -DIGNORE_HELP_FLAG -DIGNORE_INVALID_FLAG -I/build/source/src -Igen -Igen/proto_out -Wall -Wno-char-subscripts -Wno-sign-compare -Wno-deprecated-declarations -Wwrite-strings -Wno-unknown-warning-option -Wno-inconsistent-missing-override -fPIC -fno-exceptions -fmessage-length=0 -fno-strict-aliasing -funsigned-char -pipe -pthread -fno-omit-frame-pointer -fstack-protector --param=ssp-buffer-size=4 -Wtype-limits -O2 -Wno-deprecated -Wno-covered-switch-default -Wno-unnamed-type-template-args -Wno-c++11-narrowing -std=gnu++0x -std=gnu++0x  -c ../../engine/engine.cc -o obj/engine/engine.engine.o
In file included from ../../engine/engine.cc:30:
In file included from /build/source/src/engine/engine.h:33:
In file included from /nix/store/pcs8pq4a5rkym1hzibqz7da45fxkmig7-gcc-8.3.0/include/c++/8.3.0/memory:62:
In file included from /nix/store/pcs8pq4a5rkym1hzibqz7da45fxkmig7-gcc-8.3.0/include/c++/8.3.0/bits/stl_algobase.h:66:
/nix/store/pcs8pq4a5rkym1hzibqz7da45fxkmig7-gcc-8.3.0/include/c++/8.3.0/bits/stl_iterator_base_funcs.h:183:2: error: cannot decrement value of type 'mozc::ZeroQueryDict::iterator'
        --__i;
        ^ ~~~
/nix/store/pcs8pq4a5rkym1hzibqz7da45fxkmig7-gcc-8.3.0/include/c++/8.3.0/bits/stl_iterator_base_funcs.h:206:12: note: in instantiation of function template specialization 'std::__advance<mozc::ZeroQueryDict::iterator, long>' requested here
      std::__advance(__i, __d, std::__iterator_category(__i));
           ^
/nix/store/pcs8pq4a5rkym1hzibqz7da45fxkmig7-gcc-8.3.0/include/c++/8.3.0/bits/stl_algo.h:2137:9: note: in instantiation of function template specialization 'std::advance<mozc::ZeroQueryDict::iterator, long>' requested here
          std::advance(__middle, __half);
               ^
/nix/store/pcs8pq4a5rkym1hzibqz7da45fxkmig7-gcc-8.3.0/include/c++/8.3.0/bits/stl_algo.h:2190:19: note: in instantiation of function template specialization 'std::__equal_range<mozc::ZeroQueryDict::iterator, unsigned long, __gnu_cxx::__ops::_Iter_less_val, __gnu_cxx::__ops::_Val_less_iter>' requested here
      return std::__equal_range(__first, __last, __val,
                  ^
/build/source/src/prediction/zero_query_dict.h:213:17: note: in instantiation of function template specialization 'std::equal_range<mozc::ZeroQueryDict::iterator, unsigned long>' requested here
    return std::equal_range(begin(), end(), iter.index());
                ^
1 error generated.
2019-09-10 19:09:49 +00:00
Ruud van Asseldonk f6e8ee7533 squashfsTools: use updated Darwin patch
This new patch is the patch between 4.4, and commit [1], a pull request
at [2] to upsteam Mac and BSD compatibility. That pull request is
itself a rebase of an older pull request for an earlier version of
squashfs-tools. I squashed all commits between 4.4 and [1], apart from
the BSD-specific ones, and exported the new patch from that. Attached
below is the git diff --ignore-space-change between squashfs-tools 4.4
with the previous patch applied, and with the new patch applied.

[1]: 7d31beec53e6245d3405d6ef2b96e9811ae07044
[2]: https://github.com/plougher/squashfs-tools/pull/69

---

diff --git a/squashfs-tools/info.c b/squashfs-tools/info.c
index 8efefe6..5c2f835 100644
--- a/squashfs-tools/info.c
+++ b/squashfs-tools/info.c
@@ -159,7 +159,7 @@ void *info_thrd(void *arg)
 			case EINTR:
 				continue;
 			default:
-				BAD_ERROR("sigwaitfailed "
+				BAD_ERROR("sigwait failed "
 					"because %s\n", strerror(errno));
 			}
 		}
diff --git a/squashfs-tools/mksquashfs.c b/squashfs-tools/mksquashfs.c
index 67d86a5..3607448 100644
--- a/squashfs-tools/mksquashfs.c
+++ b/squashfs-tools/mksquashfs.c
@@ -35,7 +35,10 @@
 #include <stddef.h>
 #include <sys/types.h>
 #include <sys/stat.h>
-#ifdef linux
+#ifndef linux
+#include <sys/sysctl.h>
+#else
+#include <sys/sysinfo.h>
 #include <sys/sysmacros.h>
 #endif
 #include <fcntl.h>
@@ -52,7 +55,6 @@
 #include <sys/wait.h>
 #include <limits.h>
 #include <ctype.h>
-#include <sys/sysinfo.h>

 #ifndef FNM_EXTMATCH /* glibc extension */
 	#define FNM_EXTMATCH 0
@@ -5191,7 +5193,17 @@ int parse_mode(char *arg, mode_t *res)

 int get_physical_memory()
 {
+	/*
+	 * Long longs are used here because with PAE, a 32-bit
+	 * machine can have more than 4GB of physical memory
+	 *
+	 * sysconf(_SC_PHYS_PAGES) relies on /proc being mounted.
+	 * If it fails use sysinfo, if that fails return 0
+	 */
+	long long num_pages = sysconf(_SC_PHYS_PAGES);
+	long long page_size = sysconf(_SC_PAGESIZE);
 	int phys_mem;
+
 #ifndef linux
 	#ifdef HW_MEMSIZE
 		#define SYSCTL_PHYSMEM HW_MEMSIZE
@@ -5221,16 +5233,6 @@ int get_physical_memory()
 	}
   #undef SYSCTL_PHYSMEM
 #else
-	/*
-	 * Long longs are used here because with PAE, a 32-bit
-	 * machine can have more than 4GB of physical memory
-	 *
-	 * sysconf(_SC_PHYS_PAGES) relies on /proc being mounted.
-	 * If it fails use sysinfo, if that fails return 0
-	 */
-	long long num_pages = sysconf(_SC_PHYS_PAGES);
-	long long page_size = sysconf(_SC_PAGESIZE);
-
 	if(num_pages == -1 || page_size == -1) {
 		struct sysinfo sys;
 		int res = sysinfo(&sys);
diff --git a/squashfs-tools/mksquashfs.h b/squashfs-tools/mksquashfs.h
index 88d0b5c..1beefef 100644
--- a/squashfs-tools/mksquashfs.h
+++ b/squashfs-tools/mksquashfs.h
@@ -24,7 +24,6 @@
  * mksquashfs.h
  *
  */
-#include <pthread.h>

 struct dir_info {
 	char			*pathname;
diff --git a/squashfs-tools/pseudo.c b/squashfs-tools/pseudo.c
index f8fd529..48e6b27 100644
--- a/squashfs-tools/pseudo.c
+++ b/squashfs-tools/pseudo.c
@@ -30,7 +30,6 @@
 #include <errno.h>
 #include <string.h>
 #include <stdlib.h>
-#include <sys/stat.h>
 #include <sys/types.h>
 #include <sys/wait.h>
 #include <sys/stat.h>
diff --git a/squashfs-tools/unsquashfs.c b/squashfs-tools/unsquashfs.c
index 00615ce..c1a6183 100644
--- a/squashfs-tools/unsquashfs.c
+++ b/squashfs-tools/unsquashfs.c
@@ -38,7 +38,6 @@
 #include <sys/sysinfo.h>
 #include <sys/sysmacros.h>
 #endif
-
 #include <sys/types.h>
 #include <sys/time.h>
 #include <sys/resource.h>
@@ -1085,7 +1084,7 @@ int create_inode(char *pathname, struct inode *i)
 			break;
 		case SQUASHFS_SYMLINK_TYPE:
 		case SQUASHFS_LSYMLINK_TYPE: {
-			struct timespec times[2] = {
+			struct timeval times[2] = {
 				{ i->time, 0 },
 				{ i->time, 0 }
 			};
@@ -1104,8 +1103,7 @@ int create_inode(char *pathname, struct inode *i)
 				goto failed;
 			}

-			res = utimensat(AT_FDCWD, pathname, times,
-					AT_SYMLINK_NOFOLLOW);
+			res = lutimes(pathname, times);
 			if(res == -1) {
 				EXIT_UNSQUASH_STRICT("create_inode: failed to set time on "
 					"%s, because %s\n", pathname,
2019-09-10 21:02:51 +02:00
Jan Tojnar 9b6789de73
tree-wide: replace wrapProgram with wrapGApp
where appropriate
2019-09-10 17:54:57 +02:00
Johan Thomsen b3de7e26fd morph: 1.3.0 -> 1.3.1 2019-09-10 17:06:23 +02:00
worldofpeace 0f3f515647
Merge pull request #68355 from nlewo/pr-remove-skydive
skydive: remove it from nixpkgs
2019-09-10 09:10:00 -04:00
Anderson Torres 868bf106f1
Merge pull request #66404 from eraserhd/pr/master/plan9port-mac-compiler-fixes
plan9port: use C compiler from Nix
2019-09-10 07:45:51 -03:00
Michiel Leenaars 14bb6f07df datefudge: 1.22 -> 1.23 2019-09-10 10:00:11 +02:00