Skip to content

Commit

Permalink
Merge pull request #201694 from Homebrew/bump-gwenhywfar-5.12.0
Browse files Browse the repository at this point in the history
gwenhywfar 5.12.0 aqbanking 6.6.0
  • Loading branch information
BrewTestBot authored Dec 19, 2024
2 parents 6b34206 + b84fff2 commit 19f792d
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 25 deletions.
21 changes: 8 additions & 13 deletions Formula/a/aqbanking.rb
Original file line number Diff line number Diff line change
@@ -1,27 +1,22 @@
class Aqbanking < Formula
desc "Generic online banking interface"
homepage "https://www.aquamaniac.de/rdm/projects/aqbanking"
url "https://www.aquamaniac.de/rdm/attachments/download/499/aqbanking-6.5.4.tar.gz"
sha256 "0d16ceae76f0718e466638f4547a8b14927f1d8d98322079cd6481adde30ac99"
url "https://www.aquamaniac.de/rdm/attachments/download/531/aqbanking-6.6.0.tar.gz"
sha256 "37634487b95bad72b1b21397bce08cb4b15e13cb253886767c98f31712e40bfb"
license "GPL-2.0-or-later"
revision 1

livecheck do
url "https://www.aquamaniac.de/rdm/projects/aqbanking/files"
regex(/href=.*?aqbanking[._-](\d+(?:\.\d+)+)\.t/i)
end

bottle do
sha256 arm64_sequoia: "478d929f72e9654f1bf72dbef75ca57760a6b41fb06f906ec80124b03e4d3579"
sha256 arm64_sonoma: "40c5e3e65530d65705cf5652d443e980595c39c7f2767e4b3719c8339ca26c6e"
sha256 arm64_ventura: "b9a8f344467a7d69267d994da860fade6dda407510eed4398db47f2fd3206408"
sha256 arm64_monterey: "fcbf229d4ea7dcde5d788e088e4ff30d6f2a1a62ab2498f2e0c2913b0cda32b5"
sha256 arm64_big_sur: "60da3b01e9cfeef3b9d47673d8353afec5bdfa87fec21c3df9635c41492861fd"
sha256 sonoma: "27737d104556c605d174dcb3400f04ebeb8093481090e1d14ce457a2f600cbab"
sha256 ventura: "c912b990acd3cc02ead0f7619bce81e9feb78f41caa1654b4778569b3050ba2e"
sha256 monterey: "b989a7cb5bf36df5b829828f8452a3661d5d370d02bdce63b266fbf10ef38601"
sha256 big_sur: "9ab40d81b08b2d798d3dc69a6c7557bb72e07a0891338c92bb972457c0998549"
sha256 x86_64_linux: "f7586074ec396a050c9f210d05ae733b9697c0f9f2d366940b6937927f2cd215"
sha256 arm64_sequoia: "867da1207bd6888e0ccaff9e5a590a550496c75a3c108268eb735a72d88f4b63"
sha256 arm64_sonoma: "09eac4af03579d4a5a3a337abb3084181421c3900d4b48634ae49b40c8bf372e"
sha256 arm64_ventura: "06bb730e2245dc7397488e452cdd1a7f1016929fd17cddbfec4bb823c1a796b4"
sha256 sonoma: "b6a29a9a12754837f0ded814578872416c787c6035e4903bd24f3cd74bfaa423"
sha256 ventura: "959125b55e5ed7918812874fd42281191a7ce553dadfe0f7d0e2db42b97eb971"
sha256 x86_64_linux: "f864757758e63cc53a8ad042903e7ec7a24634c3e2d635e058b20f95b43f21eb"
end

depends_on "gmp"
Expand Down
62 changes: 50 additions & 12 deletions Formula/g/gwenhywfar.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class Gwenhywfar < Formula
desc "Utility library required by aqbanking and related software"
homepage "https://www.aquamaniac.de/rdm/projects/gwenhywfar"
url "https://www.aquamaniac.de/rdm/attachments/download/501/gwenhywfar-5.10.2.tar.gz"
sha256 "60a7da03542865501208f20e18de32b45a75e3f4aa8515ca622b391a2728a9e1"
url "https://www.aquamaniac.de/rdm/attachments/download/529/gwenhywfar-5.12.0.tar.gz"
sha256 "0ad5f1447703211f1610053a94bce1e82abceda2222a2ecc9cf45b148395d626"
license "LGPL-2.1-or-later"

livecheck do
Expand All @@ -11,16 +11,12 @@ class Gwenhywfar < Formula
end

bottle do
sha256 arm64_sequoia: "62a3746f10e2264779137d156e68697b40f562690434cbb83d3bf9ce1dad6fbb"
sha256 arm64_sonoma: "8fcdcb168c435353e08b7faae158c672ada3b908db6c1a73435226d77203f2c6"
sha256 arm64_ventura: "8dd914e47edf5ed454e4cace3c2aa4cf3fc1a05f20bea019a8c018032cf2b8ab"
sha256 arm64_monterey: "040d7ecc2deb34655f6c56912114c515e7243a53e291d3a751290bf725bd8a68"
sha256 arm64_big_sur: "13670a1756bac7a4e8cecc363321d1609103164636ac198b952dfbc26b2a2cdf"
sha256 sonoma: "769755ece1d223465e685f591caf8c53934571eb0e4b29f6aa967fb1820d30c7"
sha256 ventura: "6f4f5f09ad7cc1bba9112c0e1198ee7728985f2d403d40608e51d158dab4cb1a"
sha256 monterey: "72979aefc21e5c22c33401d21d232396b9026c57cab53438c0935b3ff74b1adc"
sha256 big_sur: "8f583511d6309b20d9722259b6e17bb3b49b09646bbce022b496af4f260f4f24"
sha256 x86_64_linux: "771e98641328a98fbf0a789d12c6a0bb59a1f083c7142e2b25807505f58ce7cc"
sha256 arm64_sequoia: "36e7bb5dd979060e85491ba7abad1220aeb8b69b00340cf6c162edf7bb9ab63d"
sha256 arm64_sonoma: "1dd92fec7f8e3ab7426077ca39df0ee64c989378a71bd8a0926d85f08d349495"
sha256 arm64_ventura: "f1ef551aa010c77293d9fa52fcc29390c8c5455846fb4fbf367132b8e6062ae7"
sha256 sonoma: "32c516bddf6b6850809f4019467e0ef959e5c999f382886e21e23b7f89db4902"
sha256 ventura: "1778cd3befe21f89fb6b0368871a0b8e4348e4ba9510f19b049fd80172caec9e"
sha256 x86_64_linux: "8a62c76819f61280a29d8961655ff5c396cda6e957e6e733521004014ac7aa6e"
end

depends_on "gettext" => :build
Expand All @@ -44,6 +40,9 @@ class Gwenhywfar < Formula
sha256 "35acd6aebc19843f1a2b3a63e880baceb0f5278ab1ace661e57a502d9d78c93c"
end

# Fix endianness handling for macos builds, emailed upstream about this patch
patch :DATA

def install
# Fix compile with newer Clang
ENV.append_to_cflags "-Wno-implicit-function-declaration" if DevelopmentTools.clang_build_version >= 1403
Expand Down Expand Up @@ -101,3 +100,42 @@ def install
system "make"
end
end

__END__
diff --git a/src/base/endianfns.h b/src/base/endianfns.h
index 2db9731..1d73968 100644
--- a/src/base/endianfns.h
+++ b/src/base/endianfns.h
@@ -28,6 +28,7 @@
#include <gwenhywfar/gwenhywfarapi.h>


+
#if GWENHYWFAR_SYS_IS_WINDOWS
/* assume little endian for now (is there any big endian Windows system??) */
# define GWEN_ENDIAN_LE16TOH(x) (x)
@@ -39,8 +40,14 @@
# define GWEN_ENDIAN_LE64TOH(x) (x)
# define GWEN_ENDIAN_HTOLE64(x) (x)
#else
-/* for Linux and others use definitions from endian.h */
-# include <endian.h>
+/* Include portable_endian.h for cross-platform support */
+# if __has_include("portable_endian.h")
+# include "portable_endian.h"
+# elif __has_include(<endian.h>)
+# include <endian.h>
+# else
+# error "Neither portable_endian.h nor endian.h found. Cannot determine endianness."
+# endif

# define GWEN_ENDIAN_LE16TOH(x) le16toh(x)
# define GWEN_ENDIAN_HTOLE16(x) htole16(x)
@@ -52,7 +59,4 @@
# define GWEN_ENDIAN_HTOLE64(x) htole64(x)
#endif

-
-
-
#endif

0 comments on commit 19f792d

Please sign in to comment.