Wednesday, 24 December 2025

[netsurf-dev] Re: toolchains: branch master updated. a9bd845b42de610892510ef0e5e8fbf682908c12

Well, that's reassuring, at least -- firstly, there's a mere 82030 lines of unified diff between those versions (https://github.com/curl/curl/compare/curl-8_11_1...curl-8_12_0) and secondly, the upstream changes that fixed the configure script (amongst other amigaos3 changes) went into 8.12.0, so that was already the likeliest culprit.


J.

On 24/12/2025 14:34, Chris Young wrote:
Right, it appears that 8.11.1 is OK, but 8.12.0 is not.


On 21/12/2025 17:13, Chris Young wrote:
I've had a quick test of that, and getting the same effect (complete system crash as soon as any network access is attempted).

21 Dec 2025 02:56:49 John-Mark Bell <dmarc-noreply@freelists.org>:

On 20/12/2025 20:57, Chris Young wrote:

19 Dec 2025 13:00:33 John-Mark Bell <jmb@netsurf-browser.org>:

> Is it possible to bisect curl releases between 8.11.0 and 8.17.0 to see where it stops working? (the diff between those two versions is nearly 500k lines, so if we can narrow down the search it might be easier to find the problem). I did have to refresh the context of the trivial patch we carry for the m68k-unknown-amigaos build of curl, but I believe it's still applying the same change as before.
>

I'm not sure when I can get to trying that, but certainly seems like a good plan.

In the meantime, I've looked through the configuration differences. Can you please try the Makefile change on jmb/aos3-curl-wat with 8.17.0? That forcibly restores the prior behaviour (which occurred because of a bug in the configure script resulting in it failing to find proto/bsdsocket.h if it isn't on the compiler's default search path). However, if that makes things "work", then something else must already have been wrong (on the basis that this is, afaict, disabling the bsdsocket close/ioctl implementations, which must be working, surely?)

> I'm also assuming that, when you reverted to 8.11.0, it was rebuilt with the updated toolchain and not just an old binary build you had lying around? If not, is it possible to respin 8.11.0 with the new toolchain and see if it still works?
>

Yes, it was the updated toolchain, which I reverted the version and the refreshed patch on.

Great -- thanks for confirming!


J.


[netsurf-dev] Re: toolchains: branch master updated. a9bd845b42de610892510ef0e5e8fbf682908c12

Right, it appears that 8.11.1 is OK, but 8.12.0 is not.


On 21/12/2025 17:13, Chris Young wrote:
I've had a quick test of that, and getting the same effect (complete system crash as soon as any network access is attempted).

21 Dec 2025 02:56:49 John-Mark Bell <dmarc-noreply@freelists.org>:

On 20/12/2025 20:57, Chris Young wrote:

19 Dec 2025 13:00:33 John-Mark Bell <jmb@netsurf-browser.org>:

> Is it possible to bisect curl releases between 8.11.0 and 8.17.0 to see where it stops working? (the diff between those two versions is nearly 500k lines, so if we can narrow down the search it might be easier to find the problem). I did have to refresh the context of the trivial patch we carry for the m68k-unknown-amigaos build of curl, but I believe it's still applying the same change as before.
>

I'm not sure when I can get to trying that, but certainly seems like a good plan.

In the meantime, I've looked through the configuration differences. Can you please try the Makefile change on jmb/aos3-curl-wat with 8.17.0? That forcibly restores the prior behaviour (which occurred because of a bug in the configure script resulting in it failing to find proto/bsdsocket.h if it isn't on the compiler's default search path). However, if that makes things "work", then something else must already have been wrong (on the basis that this is, afaict, disabling the bsdsocket close/ioctl implementations, which must be working, surely?)

> I'm also assuming that, when you reverted to 8.11.0, it was rebuilt with the updated toolchain and not just an old binary build you had lying around? If not, is it possible to respin 8.11.0 with the new toolchain and see if it still works?
>

Yes, it was the updated toolchain, which I reverted the version and the refreshed patch on.

Great -- thanks for confirming!


J.


Sunday, 21 December 2025

[netsurf-dev] Re: toolchains: branch master updated. a9bd845b42de610892510ef0e5e8fbf682908c12

I've had a quick test of that, and getting the same effect (complete system crash as soon as any network access is attempted).

21 Dec 2025 02:56:49 John-Mark Bell <dmarc-noreply@freelists.org>:

On 20/12/2025 20:57, Chris Young wrote:

19 Dec 2025 13:00:33 John-Mark Bell <jmb@netsurf-browser.org>:

> Is it possible to bisect curl releases between 8.11.0 and 8.17.0 to see where it stops working? (the diff between those two versions is nearly 500k lines, so if we can narrow down the search it might be easier to find the problem). I did have to refresh the context of the trivial patch we carry for the m68k-unknown-amigaos build of curl, but I believe it's still applying the same change as before.
>

I'm not sure when I can get to trying that, but certainly seems like a good plan.

In the meantime, I've looked through the configuration differences. Can you please try the Makefile change on jmb/aos3-curl-wat with 8.17.0? That forcibly restores the prior behaviour (which occurred because of a bug in the configure script resulting in it failing to find proto/bsdsocket.h if it isn't on the compiler's default search path). However, if that makes things "work", then something else must already have been wrong (on the basis that this is, afaict, disabling the bsdsocket close/ioctl implementations, which must be working, surely?)

> I'm also assuming that, when you reverted to 8.11.0, it was rebuilt with the updated toolchain and not just an old binary build you had lying around? If not, is it possible to respin 8.11.0 with the new toolchain and see if it still works?
>

Yes, it was the updated toolchain, which I reverted the version and the refreshed patch on.

Great -- thanks for confirming!


J.

Saturday, 20 December 2025

[netsurf-dev] Re: toolchains: branch master updated. a9bd845b42de610892510ef0e5e8fbf682908c12

On 20/12/2025 20:57, Chris Young wrote:

19 Dec 2025 13:00:33 John-Mark Bell <jmb@netsurf-browser.org>:

> Is it possible to bisect curl releases between 8.11.0 and 8.17.0 to see where it stops working? (the diff between those two versions is nearly 500k lines, so if we can narrow down the search it might be easier to find the problem). I did have to refresh the context of the trivial patch we carry for the m68k-unknown-amigaos build of curl, but I believe it's still applying the same change as before.
>

I'm not sure when I can get to trying that, but certainly seems like a good plan.

In the meantime, I've looked through the configuration differences. Can you please try the Makefile change on jmb/aos3-curl-wat with 8.17.0? That forcibly restores the prior behaviour (which occurred because of a bug in the configure script resulting in it failing to find proto/bsdsocket.h if it isn't on the compiler's default search path). However, if that makes things "work", then something else must already have been wrong (on the basis that this is, afaict, disabling the bsdsocket close/ioctl implementations, which must be working, surely?)

> I'm also assuming that, when you reverted to 8.11.0, it was rebuilt with the updated toolchain and not just an old binary build you had lying around? If not, is it possible to respin 8.11.0 with the new toolchain and see if it still works?
>

Yes, it was the updated toolchain, which I reverted the version and the refreshed patch on.

Great -- thanks for confirming!


J.

[netsurf-dev] Re: toolchains: branch master updated. a9bd845b42de610892510ef0e5e8fbf682908c12

19 Dec 2025 13:00:33 John-Mark Bell <jmb@netsurf-browser.org>:

> Hi Chris,
>
> Ugh. Ideally, we'd keep moving forward here -- I don't really want to have to deal with different platforms using different versions of the SDK components (not least, keeping them in sync across everything means we can ensure that security updates get applied everywhere).
>

Yes, agreed.

> Is it possible to bisect curl releases between 8.11.0 and 8.17.0 to see where it stops working? (the diff between those two versions is nearly 500k lines, so if we can narrow down the search it might be easier to find the problem). I did have to refresh the context of the trivial patch we carry for the m68k-unknown-amigaos build of curl, but I believe it's still applying the same change as before.
>

I'm not sure when I can get to trying that, but certainly seems like a good plan.


> I'm also assuming that, when you reverted to 8.11.0, it was rebuilt with the updated toolchain and not just an old binary build you had lying around? If not, is it possible to respin 8.11.0 with the new toolchain and see if it still works?
>

Yes, it was the updated toolchain, which I reverted the version and the refreshed patch on.


Chris



>
> J.
>
> On 17/12/2025 11:08, Chris Young wrote:
>> Me again :)
>>
>> The m68k-unknown-amigaos toolchain doesn't currently build a working NetSurf.
>>
>> From investigation it looks like the new version of libcurl doesn't work correctly.  I've reverted back to the old one (8.11.0) and built a working NetSurf with that.
>>
>> My suspicion is that somewhere libcurl is mixing clib2 and bsdsocket calls.  I've been playing with it but can't figure out where this is happening.  Nothing obvious has changed that I can see.  It isn't affecting the OS4 build which also builds against AmiSSL/bsdsocket.  I'll keep looking but at the moment the AmigaOS 3 builds are unuseable.  I'm not sure if it is feasible to revert just OS3 back to the old version of libcurl for now?
>>
>> Chris
>>
>>
>> On 10/12/2025 21:35, NetSurf Browser Project wrote:
>>> Gitweb links:
>>>
>>> ...log http://git.netsurf-browser.org/toolchains.git/shortlog/a9bd845b42de610892510ef0e5e8fbf682908c12
>>> ...commit http://git.netsurf-browser.org/toolchains.git/commit/a9bd845b42de610892510ef0e5e8fbf682908c12
>>> ...tree http://git.netsurf-browser.org/toolchains.git/tree/a9bd845b42de610892510ef0e5e8fbf682908c12
>>>
>>> The branch, master has been updated
>>>        via  a9bd845b42de610892510ef0e5e8fbf682908c12 (commit)
>>>        via  7762c4aea0183a55119e4235cfb74d91a18a4c26 (commit)
>>>        via  871a358dda5ef454c80503636f88f0cbb5d76c87 (commit)
>>>        via  655f89e230aa0b4e13dd96e085745d23aef0f9c2 (commit)
>>>        via  03d4f5296ba718f980693a095aff8a75a8ff4545 (commit)
>>>        via  8fdfa61ff3c4e79a34f708acf426da5a8b73fa93 (commit)
>>>        via  028ba1adc3e25b93047471eeaa308248e6280ef4 (commit)
>>>        via  14b2d5794d02d1fda6a1de0fbeda5e32f5b2db9c (commit)
>>>        via  82b2e9ca070c7d2379f542600b6ffd1b1c38ead8 (commit)
>>>        via  507dab60b3aa9da2ce62085dbcf7f057344ee1ca (commit)
>>>        via  88597241b07cf802e81c0df7677619d642c20ef5 (commit)
>>>        via  69703dbc8674dc302e93e019b5b64e6755d9dfbc (commit)
>>>        via  59ca72f14a12116102bd0811450c2ee965af5d9e (commit)
>>>        via  59c51edbe79261b0b882a3db293684ac93ee90f2 (commit)
>>>        via  0bfcc8b458041cee9d2e1a3f549d6bc530d4ecdf (commit)
>>>        via  df5319eda584972ba58f0c56be5cb1af958d5825 (commit)
>>>        via  c0da704f7b1def334c8f31780d4b05b3c92f5759 (commit)
>>>        via  fd6cb74ad4f0fcf9a21a555cec3ce842f29a4b3a (commit)
>>>        via  87a910d523b5e72516ae059564cb93126be55ada (commit)
>>>        via  a5187886ae92325c9859ac5efaefae0d851137b4 (commit)
>>>        via  0ed58efcbe99982c34cd31623fbd3c49499b998d (commit)
>>>        via  6cfb90abc9798bf4c6b29a30b0f58291cfaaf1b9 (commit)
>>>        via  7e09c0d16f371bd95d982243a75612a855e83fb3 (commit)
>>>        via  841d3230a29004935514443aa831f24e594ca57c (commit)
>>>        via  2bffa4dc4e5bcc57e1fd996567dee292b40a1889 (commit)
>>>        via  78390cc946b54c1e4b79fb0d6ff12638f1b3de40 (commit)
>>>        via  ef68cf359a86eba0bd0f25f7e932336bf9b356c7 (commit)
>>>        via  a693ff8bd3a583249a2bf7cdab242e9d1f93a967 (commit)
>>>        via  26bda2c9f7ca2545033a2ad02525d36a31ddfbe9 (commit)
>>>        via  d163f05d3016c0b1f80e8d6bfa54721a377b5cb4 (commit)
>>>        via  aacf45f23cd2b342f4485203c7c0388f8694995c (commit)
>>>        via  14bf32ae22f89feaf61fc1754d8bd76840766c6c (commit)
>>>        via  c5bb503798f78d01bd57646d4653a7bb4f8ab737 (commit)
>>>        via  67be9be64633d288b8277a74c29f420f4ab06358 (commit)
>>>        via  48a3e725c5c66820f0d8aeb41664a35bb57bfe00 (commit)
>>>        via  1e73a8f182915533fdf2b2f2689f7f727959f02d (commit)
>>>        via  df2832a44e38a27c24742902dd4528f90348b00f (commit)
>>>        via  29c2f425e674899775f9746f05774a2240f07bb8 (commit)
>>>        via  16ab97cb2401262050b58611e8d29d2d8a9945ee (commit)
>>>        via  8035c697829cbf54576a386822fa05c66d582add (commit)
>>>        via  14c3e1a8bb0b6d2f6996b3a12c65d58282b93843 (commit)
>>>        via  e9c2ecb0d92f42eb1abd52663da4b136f933efa5 (commit)
>>>        via  90dbbfa508402ede50d3866f981eda27716901e7 (commit)
>>>       from  28fe69c345efdbfe42e298f842c908fa0191e118 (commit)
>>>
>>> Those revisions listed above that are new to this repository have
>>> not appeared on any other notification email; so we list those
>>> revisions in full, below.
>>>
>>> - Log -----------------------------------------------------------------
>>> commitdiff http://git.netsurf-browser.org/toolchains.git/commit/?id=a9bd845b42de610892510ef0e5e8fbf682908c12
>>> commit a9bd845b42de610892510ef0e5e8fbf682908c12
>>> Author: John-Mark Bell <jmb@netsurf-browser.org>
>>> Commit: John-Mark Bell <jmb@netsurf-browser.org>
>>>
>>>     SDK/arm-unknown-riscos: add brotli
>>>    
>>>     This target requires building with PIC disabled (as, otherwise,
>>>     -fPIC results in symbols being resolved through the GOT, which
>>>     is never populated and we dereference NULL with inevitable effect)
>>>
>>> diff --git a/sdk/Makefile b/sdk/Makefile
>>> index d83ccc3..ba6ab7b 100644
>>> --- a/sdk/Makefile
>>> +++ b/sdk/Makefile
>>> @@ -206,8 +206,10 @@ ifeq ($(TARGET),arm-riscos-gnueabi)
>>>  endif
>>> 
>>>  ifeq ($(TARGET),arm-unknown-riscos)
>>> -  SDK_ITEMS := $(addprefix $(BUILDSTEPS)/, $(COMMON_SDK_ITEMS) libjpeg-turbo.d libwebp.d)
>>> +  SDK_ITEMS := $(addprefix $(BUILDSTEPS)/, libbrotli.d $(COMMON_SDK_ITEMS) libjpeg-turbo.d libwebp.d)
>>> +  LIBBROTLI_ENV := CFLAGS="-std=c99"
>>>    EXTRAARGS_LIBCARES := --disable-shared 'ac_cv_have_decl_getservbyport_r=no'
>>> +  LIBCURL_ENV := LIBS="-lbrotlidec -lbrotlicommon"
>>>    EXTRAARGS_LIBCURL := --enable-nonblocking --enable-ares --with-random="/dev/urandom" $(LIBCURL_DISABLES)
>>>    # Disable the expat testsuite as it requires C++11, which GCC4.7 does not support
>>>    EXTRAARGS_LIBEXPAT := --with-tests=no
>>> diff --git a/sdk/recipes/patches/brotli/arm-unknown-riscos/no-pic.p b/sdk/recipes/patches/brotli/arm-unknown-riscos/no-pic.p
>>> new file mode 100644
>>> index 0000000..cca9adc
>>> --- /dev/null
>>> +++ b/sdk/recipes/patches/brotli/arm-unknown-riscos/no-pic.p
>>> @@ -0,0 +1,11 @@
>>> +--- CMakeLists.txt.orig
>>> ++++ CMakeLists.txt
>>> +@@ -157,7 +157,7 @@
>>> +     VERSION "${BROTLI_ABI_COMPATIBILITY}.${BROTLI_ABI_AGE}.${BROTLI_ABI_REVISION}"
>>> +     SOVERSION "${BROTLI_ABI_COMPATIBILITY}")
>>> +   if (NOT BROTLI_EMSCRIPTEN)
>>> +-    set_target_properties(${lib} PROPERTIES POSITION_INDEPENDENT_CODE TRUE)
>>> ++    set_target_properties(${lib} PROPERTIES POSITION_INDEPENDENT_CODE FALSE)
>>> +   endif()
>>> +   set_property(TARGET ${lib} APPEND PROPERTY INTERFACE_INCLUDE_DIRECTORIES "$<BUILD_INTERFACE:${BROTLI_INCLUDE_DIRS}>")
>>> + endforeach()  # BROTLI_xxx_LIBRARIES
>>>
>>>
>>> -----------------------------------------------------------------------
>>>
>>> Summary of changes:
>>>  arm-riscos-gnueabi/recipes/files/gccsdk/Makefile   |   2 +-
>>>  .../recipes/patches/gccsdk/binutils-bfd-in.h.p     |  34 +++++
>>>  .../patches/infozip/12-fix-build-with-gcc-14.p     |  56 +++++++
>>>  arm-unknown-riscos/Makefile                        |   1 -
>>>  .../recipes/files/gcc4/cp_cfns_gperf.p             |  17 ---
>>>  arm-unknown-riscos/recipes/files/gcc4/cp_cfns_h.p  |  17 ---
>>>  arm-unknown-riscos/recipes/files/gcc4/gcc_texi.p   |  20 ---
>>>  .../patches/gcc4/gcc.doc.sourcebuild.texi.p        |  14 ++
>>>  .../recipes/patches/gcc4/gmp-gcc14.p               |  32 ++++
>>>  .../recipes/patches/gcc4/posix-memalign.p          |  39 +++++
>>>  .../patches/infozip/12-fix-build-with-gcc-14.p     |  56 +++++++
>>>  .../recipes/patches/gcc/autoconf-version.p         | 107 ++++++++++++++
>>>  .../recipes/patches/gcc/gmp-configure.p            |  66 ++++++++-
>>>  .../recipes/patches/gcc/autoconf-version.p         | 107 ++++++++++++++
>>>  .../recipes/patches/gcc/gmp-configure.p            |  62 +++++++-
>>>  m68k-unknown-amigaos/Makefile                      |   7 +-
>>>  ppc-amigaos/Makefile                               |   4 +-
>>>  ...xtend.texi_replace_itemx_not_preceded_by_item.p |  28 ++++
>>>  .../recipes/patches/gcc/9999-autoconf-version.p    |  99 +++++++++++++
>>>  sdk/Makefile                                       | 164 +++++++++++++--------
>>>  .../patches/brotli/arm-unknown-riscos/no-pic.p     |  11 ++
>>>  .../patches/libcares/m5475-atari-mint/config.sub.p |   4 +-
>>>  .../libcares/m68k-unknown-amigaos/ipv6-support.p   |   4 +-
>>>  .../patches/libcares/ppc-amigaos/ipv6-support.p    |   4 +-
>>>  .../patches/libcares/ppc-amigaos/string-fix.p      |   3 +-
>>>  .../m68k-unknown-amigaos/lib.curl_setup.h.p        |   4 +-
>>>  .../patches/libcurl/ppc-amigaos/lib.curl_setup.h.p |   2 +-
>>>  .../m5475-atari-mint/build-aux.config.sub.p        |  17 +--
>>>  .../libcharset.build-aux.config.sub.p              |  17 +--
>>>  .../m68k-unknown-amigaos/srclib.getprogname.c.p    |   2 +-
>>>  .../m68k-unknown-amigaos/srclib.signal.in.h.p      |  14 +-
>>>  .../m68k-unknown-amigaos/srclib.time.in.h.p        |   2 +-
>>>  .../m68k-unknown-amigaos/srclib.unistd.in.h.p      |  10 +-
>>>  .../libiconv/ppc-amigaos/srclib.getprogname.c.p    |   2 +-
>>>  .../libiconv/ppc-amigaos/srclib.signal.in.h.p      |  14 +-
>>>  .../patches/libpng/m5475-atari-mint/config.sub.p   |  17 +--
>>>  sdk/recipes/patches/libwebp/configure.ac.p         |  11 --
>>>  sdk/recipes/patches/libwebp/configure.p            |  11 --
>>>  sdk/recipes/patches/openssl/Configure.p            |   2 +-
>>>  sdk/recipes/patches/openssl/apps.speed.c.p         |   4 +-
>>>  sdk/recipes/patches/openssl/crypto.arm_arch.h.p    |   2 +-
>>>  .../patches/openssl/crypto.bio.bio_local.h.p       |  11 --
>>>  .../patches/openssl/crypto.pkcs7.bio_pk7.c.p       |  15 --
>>>  .../patches/openssl/crypto.rand.rand_unix.c.p      |   2 +-
>>>  sdk/recipes/patches/openssl/e_os.h.p               |   6 +-
>>>  .../openssl/m5475-atari-mint/apps.lib.s_socket.c.p |   2 +-
>>>  .../m5475-atari-mint/include.internal.sockets.h.p  |   6 +-
>>>  .../m5475-atari-mint/include.openssl.e_os2.h.p     |   3 +-
>>>  .../openssl/m68k-atari-mint/apps.lib.s_socket.c.p  |   2 +-
>>>  .../openssl/m68k-atari-mint/crypto.bn.bn_div.c.p   |   2 +-
>>>  .../m68k-atari-mint/include.internal.sockets.h.p   |   6 +-
>>>  .../m68k-atari-mint/include.openssl.e_os2.h.p      |   3 +-
>>>  .../openssl/m68k-unknown-amigaos/apps.apps.c.p     |   2 +-
>>>  .../apps.include.http_server.h.p                   |   2 +-
>>>  .../m68k-unknown-amigaos/crypto.bio.b_sock2.c.p    |  18 +--
>>>  ...ders.implementations.rands.seeding.build.info.p |   6 +-
>>>  sdk/recipes/patches/openssl/newlib-no-strtoiumax.p |   2 +-
>>>  .../ppc-amigaos/apps.include.http_server.h.p       |   2 +-
>>>  .../openssl/ppc-amigaos/atomics-are-broken.p       |  12 +-
>>>  .../openssl/ppc-amigaos/crypto.bio_b_addr.c.p      |  10 +-
>>>  .../patches/openssl/ppc-amigaos/crypto.ppccap.c.p  |   2 +-
>>>  ...ders.implementations.rands.seeding.build.info.p |   6 +-
>>>  sdk/recipes/patches/openssl/test.drbgtest.c.p      |   4 +-
>>>  .../Configurations-10-main.conf.p                  |  11 ++
>>>  64 files changed, 941 insertions(+), 283 deletions(-)
>>>  create mode 100644 arm-riscos-gnueabi/recipes/patches/gccsdk/binutils-bfd-in.h.p
>>>  create mode 100644 arm-riscos-gnueabi/recipes/patches/infozip/12-fix-build-with-gcc-14.p
>>>  delete mode 100644 arm-unknown-riscos/recipes/files/gcc4/cp_cfns_gperf.p
>>>  delete mode 100644 arm-unknown-riscos/recipes/files/gcc4/cp_cfns_h.p
>>>  delete mode 100644 arm-unknown-riscos/recipes/files/gcc4/gcc_texi.p
>>>  create mode 100644 arm-unknown-riscos/recipes/patches/gcc4/gcc.doc.sourcebuild.texi.p
>>>  create mode 100644 arm-unknown-riscos/recipes/patches/gcc4/gmp-gcc14.p
>>>  create mode 100644 arm-unknown-riscos/recipes/patches/gcc4/posix-memalign.p
>>>  create mode 100644 arm-unknown-riscos/recipes/patches/infozip/12-fix-build-with-gcc-14.p
>>>  create mode 100644 m5475-atari-mint/recipes/patches/gcc/autoconf-version.p
>>>  create mode 100644 m68k-atari-mint/recipes/patches/gcc/autoconf-version.p
>>>  create mode 100644 ppc-amigaos/recipes/patches/gcc/9998-extend.texi_replace_itemx_not_preceded_by_item.p
>>>  create mode 100644 ppc-amigaos/recipes/patches/gcc/9999-autoconf-version.p
>>>  create mode 100644 sdk/recipes/patches/brotli/arm-unknown-riscos/no-pic.p
>>>  delete mode 100644 sdk/recipes/patches/libwebp/configure.ac.p
>>>  delete mode 100644 sdk/recipes/patches/libwebp/configure.p
>>>  delete mode 100644 sdk/recipes/patches/openssl/crypto.bio.bio_local.h.p
>>>  delete mode 100644 sdk/recipes/patches/openssl/crypto.pkcs7.bio_pk7.c.p
>>>  create mode 100644 sdk/recipes/patches/openssl/x86_64-w64-mingw32/Configurations-10-main.conf.p
>>>
>>> diff --git a/arm-riscos-gnueabi/recipes/files/gccsdk/Makefile b/arm-riscos-gnueabi/recipes/files/gccsdk/Makefile
>>> index 01b4cbd..0586752 100644
>>> --- a/arm-riscos-gnueabi/recipes/files/gccsdk/Makefile
>>> +++ b/arm-riscos-gnueabi/recipes/files/gccsdk/Makefile
>>> @@ -75,7 +75,7 @@ GCC_CONFIG_ARGS += --with-pkgversion='GCCSDK GCC $(GCC_VERSION) Release $(GCCSDK
>>>  --with-bugurl=http://gccsdk.riscos.info/
>>>  BINUTILS_CONFIG_ARGS += --with-pkgversion='GCCSDK GCC $(GCC_VERSION) Release $(GCCSDK_GCC_RISCOS_RELEASE)' \
>>>  --with-bugurl=http://gccsdk.riscos.info/
>>> -BINUTILS_CONFIG_ARGS += --disable-werror --with-gcc --enable-interwork --disable-nls #--enable-maintainer-mode
>>> +BINUTILS_CONFIG_ARGS += --enable-maintainer-mode --disable-werror --with-gcc --enable-interwork --disable-nls
>>>  # --disable-werror is added because --enable-maintainer-mode turns all warnings into errors and
>>>  # the gcc build is not 100% warning free.
>>>  # However, this does not help for libstdc++ builds when newlib is used, cfr http://gcc.gnu.org/PR47058.
>>> diff --git a/arm-riscos-gnueabi/recipes/patches/gccsdk/binutils-bfd-in.h.p b/arm-riscos-gnueabi/recipes/patches/gccsdk/binutils-bfd-in.h.p
>>> new file mode 100644
>>> index 0000000..fad5389
>>> --- /dev/null
>>> +++ b/arm-riscos-gnueabi/recipes/patches/gccsdk/binutils-bfd-in.h.p
>>> @@ -0,0 +1,34 @@
>>> +--- gcc/bfd.bfd-in.h.pp.orig
>>> ++++ gcc/bfd.bfd-in.h.pp
>>> +@@ -1,16 +1,14 @@
>>> + --- bfd/bfd-in.h.orig 2018-01-13 13:31:15.000000000 +0000
>>> + +++ bfd/bfd-in.h 2019-01-17 22:13:33.544924940 +0000
>>> +-@@ -918,6 +918,9 @@
>>> ++@@ -918,6 +918,7 @@
>>> +    int merge_exidx_entries;
>>> +    int cmse_implib;
>>> +    bfd *in_implib_bfd;
>>> +-+#ifdef __RISCOS_TARGET__
>>> + +  int riscos_module;
>>> +-+

Friday, 19 December 2025

[netsurf-dev] Re: toolchains: branch master updated. a9bd845b42de610892510ef0e5e8fbf682908c12

Hi Chris,

Ugh. Ideally, we'd keep moving forward here -- I don't really want to have to deal with different platforms using different versions of the SDK components (not least, keeping them in sync across everything means we can ensure that security updates get applied everywhere).

Is it possible to bisect curl releases between 8.11.0 and 8.17.0 to see where it stops working? (the diff between those two versions is nearly 500k lines, so if we can narrow down the search it might be easier to find the problem). I did have to refresh the context of the trivial patch we carry for the m68k-unknown-amigaos build of curl, but I believe it's still applying the same change as before.

I'm also assuming that, when you reverted to 8.11.0, it was rebuilt with the updated toolchain and not just an old binary build you had lying around? If not, is it possible to respin 8.11.0 with the new toolchain and see if it still works?


J.

On 17/12/2025 11:08, Chris Young wrote:
Me again :)

The m68k-unknown-amigaos toolchain doesn't currently build a working NetSurf.

From investigation it looks like the new version of libcurl doesn't work correctly.  I've reverted back to the old one (8.11.0) and built a working NetSurf with that.

My suspicion is that somewhere libcurl is mixing clib2 and bsdsocket calls.  I've been playing with it but can't figure out where this is happening.  Nothing obvious has changed that I can see.  It isn't affecting the OS4 build which also builds against AmiSSL/bsdsocket.  I'll keep looking but at the moment the AmigaOS 3 builds are unuseable.  I'm not sure if it is feasible to revert just OS3 back to the old version of libcurl for now?

Chris


On 10/12/2025 21:35, NetSurf Browser Project wrote:
Gitweb links:    ...log http://git.netsurf-browser.org/toolchains.git/shortlog/a9bd845b42de610892510ef0e5e8fbf682908c12  ...commit http://git.netsurf-browser.org/toolchains.git/commit/a9bd845b42de610892510ef0e5e8fbf682908c12  ...tree http://git.netsurf-browser.org/toolchains.git/tree/a9bd845b42de610892510ef0e5e8fbf682908c12    The branch, master has been updated         via  a9bd845b42de610892510ef0e5e8fbf682908c12 (commit)         via  7762c4aea0183a55119e4235cfb74d91a18a4c26 (commit)         via  871a358dda5ef454c80503636f88f0cbb5d76c87 (commit)         via  655f89e230aa0b4e13dd96e085745d23aef0f9c2 (commit)         via  03d4f5296ba718f980693a095aff8a75a8ff4545 (commit)         via  8fdfa61ff3c4e79a34f708acf426da5a8b73fa93 (commit)         via  028ba1adc3e25b93047471eeaa308248e6280ef4 (commit)         via  14b2d5794d02d1fda6a1de0fbeda5e32f5b2db9c (commit)         via  82b2e9ca070c7d2379f542600b6ffd1b1c38ead8 (commit)         via  507dab60b3aa9da2ce62085dbcf7f057344ee1ca (commit)         via  88597241b07cf802e81c0df7677619d642c20ef5 (commit)         via  69703dbc8674dc302e93e019b5b64e6755d9dfbc (commit)         via  59ca72f14a12116102bd0811450c2ee965af5d9e (commit)         via  59c51edbe79261b0b882a3db293684ac93ee90f2 (commit)         via  0bfcc8b458041cee9d2e1a3f549d6bc530d4ecdf (commit)         via  df5319eda584972ba58f0c56be5cb1af958d5825 (commit)         via  c0da704f7b1def334c8f31780d4b05b3c92f5759 (commit)         via  fd6cb74ad4f0fcf9a21a555cec3ce842f29a4b3a (commit)         via  87a910d523b5e72516ae059564cb93126be55ada (commit)         via  a5187886ae92325c9859ac5efaefae0d851137b4 (commit)         via  0ed58efcbe99982c34cd31623fbd3c49499b998d (commit)         via  6cfb90abc9798bf4c6b29a30b0f58291cfaaf1b9 (commit)         via  7e09c0d16f371bd95d982243a75612a855e83fb3 (commit)         via  841d3230a29004935514443aa831f24e594ca57c (commit)         via  2bffa4dc4e5bcc57e1fd996567dee292b40a1889 (commit)         via  78390cc946b54c1e4b79fb0d6ff12638f1b3de40 (commit)         via  ef68cf359a86eba0bd0f25f7e932336bf9b356c7 (commit)         via  a693ff8bd3a583249a2bf7cdab242e9d1f93a967 (commit)         via  26bda2c9f7ca2545033a2ad02525d36a31ddfbe9 (commit)         via  d163f05d3016c0b1f80e8d6bfa54721a377b5cb4 (commit)         via  aacf45f23cd2b342f4485203c7c0388f8694995c (commit)         via  14bf32ae22f89feaf61fc1754d8bd76840766c6c (commit)         via  c5bb503798f78d01bd57646d4653a7bb4f8ab737 (commit)         via  67be9be64633d288b8277a74c29f420f4ab06358 (commit)         via  48a3e725c5c66820f0d8aeb41664a35bb57bfe00 (commit)         via  1e73a8f182915533fdf2b2f2689f7f727959f02d (commit)         via  df2832a44e38a27c24742902dd4528f90348b00f (commit)         via  29c2f425e674899775f9746f05774a2240f07bb8 (commit)         via  16ab97cb2401262050b58611e8d29d2d8a9945ee (commit)         via  8035c697829cbf54576a386822fa05c66d582add (commit)         via  14c3e1a8bb0b6d2f6996b3a12c65d58282b93843 (commit)         via  e9c2ecb0d92f42eb1abd52663da4b136f933efa5 (commit)         via  90dbbfa508402ede50d3866f981eda27716901e7 (commit)        from  28fe69c345efdbfe42e298f842c908fa0191e118 (commit)    Those revisions listed above that are new to this repository have  not appeared on any other notification email; so we list those  revisions in full, below.    - Log -----------------------------------------------------------------  commitdiff http://git.netsurf-browser.org/toolchains.git/commit/?id=a9bd845b42de610892510ef0e5e8fbf682908c12  commit a9bd845b42de610892510ef0e5e8fbf682908c12  Author: John-Mark Bell <jmb@netsurf-browser.org>  Commit: John-Mark Bell <jmb@netsurf-browser.org>        SDK/arm-unknown-riscos: add brotli            This target requires building with PIC disabled (as, otherwise,      -fPIC results in symbols being resolved through the GOT, which      is never populated and we dereference NULL with inevitable effect)    diff --git a/sdk/Makefile b/sdk/Makefile  index d83ccc3..ba6ab7b 100644  --- a/sdk/Makefile  +++ b/sdk/Makefile  @@ -206,8 +206,10 @@ ifeq ($(TARGET),arm-riscos-gnueabi)   endif      ifeq ($(TARGET),arm-unknown-riscos)  -  SDK_ITEMS := $(addprefix $(BUILDSTEPS)/, $(COMMON_SDK_ITEMS) libjpeg-turbo.d libwebp.d)  +  SDK_ITEMS := $(addprefix $(BUILDSTEPS)/, libbrotli.d $(COMMON_SDK_ITEMS) libjpeg-turbo.d libwebp.d)  +  LIBBROTLI_ENV := CFLAGS="-std=c99"     EXTRAARGS_LIBCARES := --disable-shared 'ac_cv_have_decl_getservbyport_r=no'  +  LIBCURL_ENV := LIBS="-lbrotlidec -lbrotlicommon"     EXTRAARGS_LIBCURL := --enable-nonblocking --enable-ares --with-random="/dev/urandom" $(LIBCURL_DISABLES)     # Disable the expat testsuite as it requires C++11, which GCC4.7 does not support     EXTRAARGS_LIBEXPAT := --with-tests=no  diff --git a/sdk/recipes/patches/brotli/arm-unknown-riscos/no-pic.p b/sdk/recipes/patches/brotli/arm-unknown-riscos/no-pic.p  new file mode 100644  index 0000000..cca9adc  --- /dev/null  +++ b/sdk/recipes/patches/brotli/arm-unknown-riscos/no-pic.p  @@ -0,0 +1,11 @@  +--- CMakeLists.txt.orig  ++++ CMakeLists.txt  +@@ -157,7 +157,7 @@  +     VERSION "${BROTLI_ABI_COMPATIBILITY}.${BROTLI_ABI_AGE}.${BROTLI_ABI_REVISION}"  +     SOVERSION "${BROTLI_ABI_COMPATIBILITY}")  +   if (NOT BROTLI_EMSCRIPTEN)  +-    set_target_properties(${lib} PROPERTIES POSITION_INDEPENDENT_CODE TRUE)  ++    set_target_properties(${lib} PROPERTIES POSITION_INDEPENDENT_CODE FALSE)  +   endif()  +   set_property(TARGET ${lib} APPEND PROPERTY INTERFACE_INCLUDE_DIRECTORIES "$<BUILD_INTERFACE:${BROTLI_INCLUDE_DIRS}>")  + endforeach()  # BROTLI_xxx_LIBRARIES      -----------------------------------------------------------------------    Summary of changes:   arm-riscos-gnueabi/recipes/files/gccsdk/Makefile   |   2 +-   .../recipes/patches/gccsdk/binutils-bfd-in.h.p     |  34 +++++   .../patches/infozip/12-fix-build-with-gcc-14.p     |  56 +++++++   arm-unknown-riscos/Makefile                        |   1 -   .../recipes/files/gcc4/cp_cfns_gperf.p             |  17 ---   arm-unknown-riscos/recipes/files/gcc4/cp_cfns_h.p  |  17 ---   arm-unknown-riscos/recipes/files/gcc4/gcc_texi.p   |  20 ---   .../patches/gcc4/gcc.doc.sourcebuild.texi.p        |  14 ++   .../recipes/patches/gcc4/gmp-gcc14.p               |  32 ++++   .../recipes/patches/gcc4/posix-memalign.p          |  39 +++++   .../patches/infozip/12-fix-build-with-gcc-14.p     |  56 +++++++   .../recipes/patches/gcc/autoconf-version.p         | 107 ++++++++++++++   .../recipes/patches/gcc/gmp-configure.p            |  66 ++++++++-   .../recipes/patches/gcc/autoconf-version.p         | 107 ++++++++++++++   .../recipes/patches/gcc/gmp-configure.p            |  62 +++++++-   m68k-unknown-amigaos/Makefile                      |   7 +-   ppc-amigaos/Makefile                               |   4 +-   ...xtend.texi_replace_itemx_not_preceded_by_item.p |  28 ++++   .../recipes/patches/gcc/9999-autoconf-version.p    |  99 +++++++++++++   sdk/Makefile                                       | 164 +++++++++++++--------   .../patches/brotli/arm-unknown-riscos/no-pic.p     |  11 ++   .../patches/libcares/m5475-atari-mint/config.sub.p |   4 +-   .../libcares/m68k-unknown-amigaos/ipv6-support.p   |   4 +-   .../patches/libcares/ppc-amigaos/ipv6-support.p    |   4 +-   .../patches/libcares/ppc-amigaos/string-fix.p      |   3 +-   .../m68k-unknown-amigaos/lib.curl_setup.h.p        |   4 +-   .../patches/libcurl/ppc-amigaos/lib.curl_setup.h.p |   2 +-   .../m5475-atari-mint/build-aux.config.sub.p        |  17 +--   .../libcharset.build-aux.config.sub.p              |  17 +--   .../m68k-unknown-amigaos/srclib.getprogname.c.p    |   2 +-   .../m68k-unknown-amigaos/srclib.signal.in.h.p      |  14 +-   .../m68k-unknown-amigaos/srclib.time.in.h.p        |   2 +-   .../m68k-unknown-amigaos/srclib.unistd.in.h.p      |  10 +-   .../libiconv/ppc-amigaos/srclib.getprogname.c.p    |   2 +-   .../libiconv/ppc-amigaos/srclib.signal.in.h.p      |  14 +-   .../patches/libpng/m5475-atari-mint/config.sub.p   |  17 +--   sdk/recipes/patches/libwebp/configure.ac.p         |  11 --   sdk/recipes/patches/libwebp/configure.p            |  11 --   sdk/recipes/patches/openssl/Configure.p            |   2 +-   sdk/recipes/patches/openssl/apps.speed.c.p         |   4 +-   sdk/recipes/patches/openssl/crypto.arm_arch.h.p    |   2 +-   .../patches/openssl/crypto.bio.bio_local.h.p       |  11 --   .../patches/openssl/crypto.pkcs7.bio_pk7.c.p       |  15 --   .../patches/openssl/crypto.rand.rand_unix.c.p      |   2 +-   sdk/recipes/patches/openssl/e_os.h.p               |   6 +-   .../openssl/m5475-atari-mint/apps.lib.s_socket.c.p |   2 +-   .../m5475-atari-mint/include.internal.sockets.h.p  |   6 +-   .../m5475-atari-mint/include.openssl.e_os2.h.p     |   3 +-   .../openssl/m68k-atari-mint/apps.lib.s_socket.c.p  |   2 +-   .../openssl/m68k-atari-mint/crypto.bn.bn_div.c.p   |   2 +-   .../m68k-atari-mint/include.internal.sockets.h.p   |   6 +-   .../m68k-atari-mint/include.openssl.e_os2.h.p      |   3 +-   .../openssl/m68k-unknown-amigaos/apps.apps.c.p     |   2 +-   .../apps.include.http_server.h.p                   |   2 +-   .../m68k-unknown-amigaos/crypto.bio.b_sock2.c.p    |  18 +--   ...ders.implementations.rands.seeding.build.info.p |   6 +-   sdk/recipes/patches/openssl/newlib-no-strtoiumax.p |   2 +-   .../ppc-amigaos/apps.include.http_server.h.p       |   2 +-   .../openssl/ppc-amigaos/atomics-are-broken.p       |  12 +-   .../openssl/ppc-amigaos/crypto.bio_b_addr.c.p      |  10 +-   .../patches/openssl/ppc-amigaos/crypto.ppccap.c.p  |   2 +-   ...ders.implementations.rands.seeding.build.info.p |   6 +-   sdk/recipes/patches/openssl/test.drbgtest.c.p      |   4 +-   .../Configurations-10-main.conf.p                  |  11 ++   64 files changed, 941 insertions(+), 283 deletions(-)   create mode 100644 arm-riscos-gnueabi/recipes/patches/gccsdk/binutils-bfd-in.h.p   create mode 100644 arm-riscos-gnueabi/recipes/patches/infozip/12-fix-build-with-gcc-14.p   delete mode 100644 arm-unknown-riscos/recipes/files/gcc4/cp_cfns_gperf.p   delete mode 100644 arm-unknown-riscos/recipes/files/gcc4/cp_cfns_h.p   delete mode 100644 arm-unknown-riscos/recipes/files/gcc4/gcc_texi.p   create mode 100644 arm-unknown-riscos/recipes/patches/gcc4/gcc.doc.sourcebuild.texi.p   create mode 100644 arm-unknown-riscos/recipes/patches/gcc4/gmp-gcc14.p   create mode 100644 arm-unknown-riscos/recipes/patches/gcc4/posix-memalign.p   create mode 100644 arm-unknown-riscos/recipes/patches/infozip/12-fix-build-with-gcc-14.p   create mode 100644 m5475-atari-mint/recipes/patches/gcc/autoconf-version.p   create mode 100644 m68k-atari-mint/recipes/patches/gcc/autoconf-version.p   create mode 100644 ppc-amigaos/recipes/patches/gcc/9998-extend.texi_replace_itemx_not_preceded_by_item.p   create mode 100644 ppc-amigaos/recipes/patches/gcc/9999-autoconf-version.p   create mode 100644 sdk/recipes/patches/brotli/arm-unknown-riscos/no-pic.p   delete mode 100644 sdk/recipes/patches/libwebp/configure.ac.p   delete mode 100644 sdk/recipes/patches/libwebp/configure.p   delete mode 100644 sdk/recipes/patches/openssl/crypto.bio.bio_local.h.p   delete mode 100644 sdk/recipes/patches/openssl/crypto.pkcs7.bio_pk7.c.p   create mode 100644 sdk/recipes/patches/openssl/x86_64-w64-mingw32/Configurations-10-main.conf.p    diff --git a/arm-riscos-gnueabi/recipes/files/gccsdk/Makefile b/arm-riscos-gnueabi/recipes/files/gccsdk/Makefile  index 01b4cbd..0586752 100644  --- a/arm-riscos-gnueabi/recipes/files/gccsdk/Makefile  +++ b/arm-riscos-gnueabi/recipes/files/gccsdk/Makefile  @@ -75,7 +75,7 @@ GCC_CONFIG_ARGS += --with-pkgversion='GCCSDK GCC $(GCC_VERSION) Release $(GCCSDK   	--with-bugurl=http://gccsdk.riscos.info/   BINUTILS_CONFIG_ARGS += --with-pkgversion='GCCSDK GCC $(GCC_VERSION) Release $(GCCSDK_GCC_RISCOS_RELEASE)' \   	--with-bugurl=http://gccsdk.riscos.info/  -BINUTILS_CONFIG_ARGS += --disable-werror --with-gcc --enable-interwork --disable-nls #--enable-maintainer-mode  +BINUTILS_CONFIG_ARGS += --enable-maintainer-mode --disable-werror --with-gcc --enable-interwork --disable-nls   # --disable-werror is added because --enable-maintainer-mode turns all warnings into errors and   # the gcc build is not 100% warning free.   # However, this does not help for libstdc++ builds when newlib is used, cfr http://gcc.gnu.org/PR47058.  diff --git a/arm-riscos-gnueabi/recipes/patches/gccsdk/binutils-bfd-in.h.p b/arm-riscos-gnueabi/recipes/patches/gccsdk/binutils-bfd-in.h.p  new file mode 100644  index 0000000..fad5389  --- /dev/null  +++ b/arm-riscos-gnueabi/recipes/patches/gccsdk/binutils-bfd-in.h.p  @@ -0,0 +1,34 @@  +--- gcc/bfd.bfd-in.h.pp.orig  ++++ gcc/bfd.bfd-in.h.pp  +@@ -1,16 +1,14 @@  + --- bfd/bfd-in.h.orig	2018-01-13 13:31:15.000000000 +0000  + +++ bfd/bfd-in.h	2019-01-17 22:13:33.544924940 +0000  +-@@ -918,6 +918,9 @@  ++@@ -918,6 +918,7 @@  +    int merge_exidx_entries;  +    int cmse_implib;  +    bfd *in_implib_bfd;  +-+#ifdef __RISCOS_TARGET__  + +  int riscos_module;  +-+

Wednesday, 17 December 2025

[netsurf-dev] Re: toolchains: branch master updated. a9bd845b42de610892510ef0e5e8fbf682908c12

Me again :)

The m68k-unknown-amigaos toolchain doesn't currently build a working NetSurf.

From investigation it looks like the new version of libcurl doesn't work correctly.  I've reverted back to the old one (8.11.0) and built a working NetSurf with that.

My suspicion is that somewhere libcurl is mixing clib2 and bsdsocket calls.  I've been playing with it but can't figure out where this is happening.  Nothing obvious has changed that I can see.  It isn't affecting the OS4 build which also builds against AmiSSL/bsdsocket.  I'll keep looking but at the moment the AmigaOS 3 builds are unuseable.  I'm not sure if it is feasible to revert just OS3 back to the old version of libcurl for now?

Chris


On 10/12/2025 21:35, NetSurf Browser Project wrote:
Gitweb links:    ...log http://git.netsurf-browser.org/toolchains.git/shortlog/a9bd845b42de610892510ef0e5e8fbf682908c12  ...commit http://git.netsurf-browser.org/toolchains.git/commit/a9bd845b42de610892510ef0e5e8fbf682908c12  ...tree http://git.netsurf-browser.org/toolchains.git/tree/a9bd845b42de610892510ef0e5e8fbf682908c12    The branch, master has been updated         via  a9bd845b42de610892510ef0e5e8fbf682908c12 (commit)         via  7762c4aea0183a55119e4235cfb74d91a18a4c26 (commit)         via  871a358dda5ef454c80503636f88f0cbb5d76c87 (commit)         via  655f89e230aa0b4e13dd96e085745d23aef0f9c2 (commit)         via  03d4f5296ba718f980693a095aff8a75a8ff4545 (commit)         via  8fdfa61ff3c4e79a34f708acf426da5a8b73fa93 (commit)         via  028ba1adc3e25b93047471eeaa308248e6280ef4 (commit)         via  14b2d5794d02d1fda6a1de0fbeda5e32f5b2db9c (commit)         via  82b2e9ca070c7d2379f542600b6ffd1b1c38ead8 (commit)         via  507dab60b3aa9da2ce62085dbcf7f057344ee1ca (commit)         via  88597241b07cf802e81c0df7677619d642c20ef5 (commit)         via  69703dbc8674dc302e93e019b5b64e6755d9dfbc (commit)         via  59ca72f14a12116102bd0811450c2ee965af5d9e (commit)         via  59c51edbe79261b0b882a3db293684ac93ee90f2 (commit)         via  0bfcc8b458041cee9d2e1a3f549d6bc530d4ecdf (commit)         via  df5319eda584972ba58f0c56be5cb1af958d5825 (commit)         via  c0da704f7b1def334c8f31780d4b05b3c92f5759 (commit)         via  fd6cb74ad4f0fcf9a21a555cec3ce842f29a4b3a (commit)         via  87a910d523b5e72516ae059564cb93126be55ada (commit)         via  a5187886ae92325c9859ac5efaefae0d851137b4 (commit)         via  0ed58efcbe99982c34cd31623fbd3c49499b998d (commit)         via  6cfb90abc9798bf4c6b29a30b0f58291cfaaf1b9 (commit)         via  7e09c0d16f371bd95d982243a75612a855e83fb3 (commit)         via  841d3230a29004935514443aa831f24e594ca57c (commit)         via  2bffa4dc4e5bcc57e1fd996567dee292b40a1889 (commit)         via  78390cc946b54c1e4b79fb0d6ff12638f1b3de40 (commit)         via  ef68cf359a86eba0bd0f25f7e932336bf9b356c7 (commit)         via  a693ff8bd3a583249a2bf7cdab242e9d1f93a967 (commit)         via  26bda2c9f7ca2545033a2ad02525d36a31ddfbe9 (commit)         via  d163f05d3016c0b1f80e8d6bfa54721a377b5cb4 (commit)         via  aacf45f23cd2b342f4485203c7c0388f8694995c (commit)         via  14bf32ae22f89feaf61fc1754d8bd76840766c6c (commit)         via  c5bb503798f78d01bd57646d4653a7bb4f8ab737 (commit)         via  67be9be64633d288b8277a74c29f420f4ab06358 (commit)         via  48a3e725c5c66820f0d8aeb41664a35bb57bfe00 (commit)         via  1e73a8f182915533fdf2b2f2689f7f727959f02d (commit)         via  df2832a44e38a27c24742902dd4528f90348b00f (commit)         via  29c2f425e674899775f9746f05774a2240f07bb8 (commit)         via  16ab97cb2401262050b58611e8d29d2d8a9945ee (commit)         via  8035c697829cbf54576a386822fa05c66d582add (commit)         via  14c3e1a8bb0b6d2f6996b3a12c65d58282b93843 (commit)         via  e9c2ecb0d92f42eb1abd52663da4b136f933efa5 (commit)         via  90dbbfa508402ede50d3866f981eda27716901e7 (commit)        from  28fe69c345efdbfe42e298f842c908fa0191e118 (commit)    Those revisions listed above that are new to this repository have  not appeared on any other notification email; so we list those  revisions in full, below.    - Log -----------------------------------------------------------------  commitdiff http://git.netsurf-browser.org/toolchains.git/commit/?id=a9bd845b42de610892510ef0e5e8fbf682908c12  commit a9bd845b42de610892510ef0e5e8fbf682908c12  Author: John-Mark Bell <jmb@netsurf-browser.org>  Commit: John-Mark Bell <jmb@netsurf-browser.org>        SDK/arm-unknown-riscos: add brotli            This target requires building with PIC disabled (as, otherwise,      -fPIC results in symbols being resolved through the GOT, which      is never populated and we dereference NULL with inevitable effect)    diff --git a/sdk/Makefile b/sdk/Makefile  index d83ccc3..ba6ab7b 100644  --- a/sdk/Makefile  +++ b/sdk/Makefile  @@ -206,8 +206,10 @@ ifeq ($(TARGET),arm-riscos-gnueabi)   endif      ifeq ($(TARGET),arm-unknown-riscos)  -  SDK_ITEMS := $(addprefix $(BUILDSTEPS)/, $(COMMON_SDK_ITEMS) libjpeg-turbo.d libwebp.d)  +  SDK_ITEMS := $(addprefix $(BUILDSTEPS)/, libbrotli.d $(COMMON_SDK_ITEMS) libjpeg-turbo.d libwebp.d)  +  LIBBROTLI_ENV := CFLAGS="-std=c99"     EXTRAARGS_LIBCARES := --disable-shared 'ac_cv_have_decl_getservbyport_r=no'  +  LIBCURL_ENV := LIBS="-lbrotlidec -lbrotlicommon"     EXTRAARGS_LIBCURL := --enable-nonblocking --enable-ares --with-random="/dev/urandom" $(LIBCURL_DISABLES)     # Disable the expat testsuite as it requires C++11, which GCC4.7 does not support     EXTRAARGS_LIBEXPAT := --with-tests=no  diff --git a/sdk/recipes/patches/brotli/arm-unknown-riscos/no-pic.p b/sdk/recipes/patches/brotli/arm-unknown-riscos/no-pic.p  new file mode 100644  index 0000000..cca9adc  --- /dev/null  +++ b/sdk/recipes/patches/brotli/arm-unknown-riscos/no-pic.p  @@ -0,0 +1,11 @@  +--- CMakeLists.txt.orig  ++++ CMakeLists.txt  +@@ -157,7 +157,7 @@  +     VERSION "${BROTLI_ABI_COMPATIBILITY}.${BROTLI_ABI_AGE}.${BROTLI_ABI_REVISION}"  +     SOVERSION "${BROTLI_ABI_COMPATIBILITY}")  +   if (NOT BROTLI_EMSCRIPTEN)  +-    set_target_properties(${lib} PROPERTIES POSITION_INDEPENDENT_CODE TRUE)  ++    set_target_properties(${lib} PROPERTIES POSITION_INDEPENDENT_CODE FALSE)  +   endif()  +   set_property(TARGET ${lib} APPEND PROPERTY INTERFACE_INCLUDE_DIRECTORIES "$<BUILD_INTERFACE:${BROTLI_INCLUDE_DIRS}>")  + endforeach()  # BROTLI_xxx_LIBRARIES      -----------------------------------------------------------------------    Summary of changes:   arm-riscos-gnueabi/recipes/files/gccsdk/Makefile   |   2 +-   .../recipes/patches/gccsdk/binutils-bfd-in.h.p     |  34 +++++   .../patches/infozip/12-fix-build-with-gcc-14.p     |  56 +++++++   arm-unknown-riscos/Makefile                        |   1 -   .../recipes/files/gcc4/cp_cfns_gperf.p             |  17 ---   arm-unknown-riscos/recipes/files/gcc4/cp_cfns_h.p  |  17 ---   arm-unknown-riscos/recipes/files/gcc4/gcc_texi.p   |  20 ---   .../patches/gcc4/gcc.doc.sourcebuild.texi.p        |  14 ++   .../recipes/patches/gcc4/gmp-gcc14.p               |  32 ++++   .../recipes/patches/gcc4/posix-memalign.p          |  39 +++++   .../patches/infozip/12-fix-build-with-gcc-14.p     |  56 +++++++   .../recipes/patches/gcc/autoconf-version.p         | 107 ++++++++++++++   .../recipes/patches/gcc/gmp-configure.p            |  66 ++++++++-   .../recipes/patches/gcc/autoconf-version.p         | 107 ++++++++++++++   .../recipes/patches/gcc/gmp-configure.p            |  62 +++++++-   m68k-unknown-amigaos/Makefile                      |   7 +-   ppc-amigaos/Makefile                               |   4 +-   ...xtend.texi_replace_itemx_not_preceded_by_item.p |  28 ++++   .../recipes/patches/gcc/9999-autoconf-version.p    |  99 +++++++++++++   sdk/Makefile                                       | 164 +++++++++++++--------   .../patches/brotli/arm-unknown-riscos/no-pic.p     |  11 ++   .../patches/libcares/m5475-atari-mint/config.sub.p |   4 +-   .../libcares/m68k-unknown-amigaos/ipv6-support.p   |   4 +-   .../patches/libcares/ppc-amigaos/ipv6-support.p    |   4 +-   .../patches/libcares/ppc-amigaos/string-fix.p      |   3 +-   .../m68k-unknown-amigaos/lib.curl_setup.h.p        |   4 +-   .../patches/libcurl/ppc-amigaos/lib.curl_setup.h.p |   2 +-   .../m5475-atari-mint/build-aux.config.sub.p        |  17 +--   .../libcharset.build-aux.config.sub.p              |  17 +--   .../m68k-unknown-amigaos/srclib.getprogname.c.p    |   2 +-   .../m68k-unknown-amigaos/srclib.signal.in.h.p      |  14 +-   .../m68k-unknown-amigaos/srclib.time.in.h.p        |   2 +-   .../m68k-unknown-amigaos/srclib.unistd.in.h.p      |  10 +-   .../libiconv/ppc-amigaos/srclib.getprogname.c.p    |   2 +-   .../libiconv/ppc-amigaos/srclib.signal.in.h.p      |  14 +-   .../patches/libpng/m5475-atari-mint/config.sub.p   |  17 +--   sdk/recipes/patches/libwebp/configure.ac.p         |  11 --   sdk/recipes/patches/libwebp/configure.p            |  11 --   sdk/recipes/patches/openssl/Configure.p            |   2 +-   sdk/recipes/patches/openssl/apps.speed.c.p         |   4 +-   sdk/recipes/patches/openssl/crypto.arm_arch.h.p    |   2 +-   .../patches/openssl/crypto.bio.bio_local.h.p       |  11 --   .../patches/openssl/crypto.pkcs7.bio_pk7.c.p       |  15 --   .../patches/openssl/crypto.rand.rand_unix.c.p      |   2 +-   sdk/recipes/patches/openssl/e_os.h.p               |   6 +-   .../openssl/m5475-atari-mint/apps.lib.s_socket.c.p |   2 +-   .../m5475-atari-mint/include.internal.sockets.h.p  |   6 +-   .../m5475-atari-mint/include.openssl.e_os2.h.p     |   3 +-   .../openssl/m68k-atari-mint/apps.lib.s_socket.c.p  |   2 +-   .../openssl/m68k-atari-mint/crypto.bn.bn_div.c.p   |   2 +-   .../m68k-atari-mint/include.internal.sockets.h.p   |   6 +-   .../m68k-atari-mint/include.openssl.e_os2.h.p      |   3 +-   .../openssl/m68k-unknown-amigaos/apps.apps.c.p     |   2 +-   .../apps.include.http_server.h.p                   |   2 +-   .../m68k-unknown-amigaos/crypto.bio.b_sock2.c.p    |  18 +--   ...ders.implementations.rands.seeding.build.info.p |   6 +-   sdk/recipes/patches/openssl/newlib-no-strtoiumax.p |   2 +-   .../ppc-amigaos/apps.include.http_server.h.p       |   2 +-   .../openssl/ppc-amigaos/atomics-are-broken.p       |  12 +-   .../openssl/ppc-amigaos/crypto.bio_b_addr.c.p      |  10 +-   .../patches/openssl/ppc-amigaos/crypto.ppccap.c.p  |   2 +-   ...ders.implementations.rands.seeding.build.info.p |   6 +-   sdk/recipes/patches/openssl/test.drbgtest.c.p      |   4 +-   .../Configurations-10-main.conf.p                  |  11 ++   64 files changed, 941 insertions(+), 283 deletions(-)   create mode 100644 arm-riscos-gnueabi/recipes/patches/gccsdk/binutils-bfd-in.h.p   create mode 100644 arm-riscos-gnueabi/recipes/patches/infozip/12-fix-build-with-gcc-14.p   delete mode 100644 arm-unknown-riscos/recipes/files/gcc4/cp_cfns_gperf.p   delete mode 100644 arm-unknown-riscos/recipes/files/gcc4/cp_cfns_h.p   delete mode 100644 arm-unknown-riscos/recipes/files/gcc4/gcc_texi.p   create mode 100644 arm-unknown-riscos/recipes/patches/gcc4/gcc.doc.sourcebuild.texi.p   create mode 100644 arm-unknown-riscos/recipes/patches/gcc4/gmp-gcc14.p   create mode 100644 arm-unknown-riscos/recipes/patches/gcc4/posix-memalign.p   create mode 100644 arm-unknown-riscos/recipes/patches/infozip/12-fix-build-with-gcc-14.p   create mode 100644 m5475-atari-mint/recipes/patches/gcc/autoconf-version.p   create mode 100644 m68k-atari-mint/recipes/patches/gcc/autoconf-version.p   create mode 100644 ppc-amigaos/recipes/patches/gcc/9998-extend.texi_replace_itemx_not_preceded_by_item.p   create mode 100644 ppc-amigaos/recipes/patches/gcc/9999-autoconf-version.p   create mode 100644 sdk/recipes/patches/brotli/arm-unknown-riscos/no-pic.p   delete mode 100644 sdk/recipes/patches/libwebp/configure.ac.p   delete mode 100644 sdk/recipes/patches/libwebp/configure.p   delete mode 100644 sdk/recipes/patches/openssl/crypto.bio.bio_local.h.p   delete mode 100644 sdk/recipes/patches/openssl/crypto.pkcs7.bio_pk7.c.p   create mode 100644 sdk/recipes/patches/openssl/x86_64-w64-mingw32/Configurations-10-main.conf.p    diff --git a/arm-riscos-gnueabi/recipes/files/gccsdk/Makefile b/arm-riscos-gnueabi/recipes/files/gccsdk/Makefile  index 01b4cbd..0586752 100644  --- a/arm-riscos-gnueabi/recipes/files/gccsdk/Makefile  +++ b/arm-riscos-gnueabi/recipes/files/gccsdk/Makefile  @@ -75,7 +75,7 @@ GCC_CONFIG_ARGS += --with-pkgversion='GCCSDK GCC $(GCC_VERSION) Release $(GCCSDK   	--with-bugurl=http://gccsdk.riscos.info/   BINUTILS_CONFIG_ARGS += --with-pkgversion='GCCSDK GCC $(GCC_VERSION) Release $(GCCSDK_GCC_RISCOS_RELEASE)' \   	--with-bugurl=http://gccsdk.riscos.info/  -BINUTILS_CONFIG_ARGS += --disable-werror --with-gcc --enable-interwork --disable-nls #--enable-maintainer-mode  +BINUTILS_CONFIG_ARGS += --enable-maintainer-mode --disable-werror --with-gcc --enable-interwork --disable-nls   # --disable-werror is added because --enable-maintainer-mode turns all warnings into errors and   # the gcc build is not 100% warning free.   # However, this does not help for libstdc++ builds when newlib is used, cfr http://gcc.gnu.org/PR47058.  diff --git a/arm-riscos-gnueabi/recipes/patches/gccsdk/binutils-bfd-in.h.p b/arm-riscos-gnueabi/recipes/patches/gccsdk/binutils-bfd-in.h.p  new file mode 100644  index 0000000..fad5389  --- /dev/null  +++ b/arm-riscos-gnueabi/recipes/patches/gccsdk/binutils-bfd-in.h.p  @@ -0,0 +1,34 @@  +--- gcc/bfd.bfd-in.h.pp.orig  ++++ gcc/bfd.bfd-in.h.pp  +@@ -1,16 +1,14 @@  + --- bfd/bfd-in.h.orig	2018-01-13 13:31:15.000000000 +0000  + +++ bfd/bfd-in.h	2019-01-17 22:13:33.544924940 +0000  +-@@ -918,6 +918,9 @@  ++@@ -918,6 +918,7 @@  +    int merge_exidx_entries;  +    int cmse_implib;  +    bfd *in_implib_bfd;  +-+#ifdef __RISCOS_TARGET__  + +  int riscos_module;  +-+

Sunday, 14 December 2025

[netsurf-users] Re: SVG and HTML

In article <5cdd158b5c.harriet@bazleyfamily.co.uk>,
Harriet Bazley <dmarc-noreply@freelists.org> wrote:
> > https://www.w3schools.com/graphics/svg_inhtml.asp

> All I'm seeing is "Sorry, your browser does not support inline SVG."
> where all the examples are concerned.

That's with NetSurf. View it wit Iris and you see a yellow disc.

What puzzled me about that reference is that it describes adding
(I asume SVG) graphics code into HTML, whereas I assumed the question
was about rendering a call to an SVG *file* from HTML.

--
John Harrison
Website http://jaharrison.me.uk
Using 4té2 and ARMX6, both running RISC OS

The successful man is the average man, focused.

[netsurf-users] Re: SVG and HTML

On 13 Dec 2025 as I do recall,
Brian Howlett wrote:

> On 12 Dec, Drag N Drop wrote:
>
> > I am wondering if it's just a case of incomplete SVG support or is
> > there a special method of getting SVG pictures to display in HTML?
>
> This may be of assistance...
>
> https://www.w3schools.com/graphics/svg_inhtml.asp

All I'm seeing is "Sorry, your browser does not support inline SVG."
where all the examples are concerned.

--
Harriet Bazley == Loyaulte me lie ==

Even a cabbage may look at a king.

Saturday, 13 December 2025

[netsurf-users] Re: SVG and HTML

On 12 Dec, Drag N Drop wrote:

> I am wondering if it's just a case of incomplete SVG support or is there a
> special method of getting SVG pictures to display in HTML?

This may be of assistance...

https://www.w3schools.com/graphics/svg_inhtml.asp
--
Brian Howlett
----------------------------------------------------------------
Had this been an actual emergency, we would have fled in terror,
and you would not have been informed...

Friday, 12 December 2025

[netsurf-users] SVG and HTML

Hi All,

I'm not too clear from the Developer/Image support section of the Netsurf site on the following (at least as far as RISC OS is concerned) so wondering if anyone on here can help.

Is there a special way to code up an SVG (inline or by referencing an SVG file) in HTML?

Far as I can make out, an SVG-only file dragged to Netsurf's icon bar icon will render happily, but trying to do so as part of an HTML page results in only the HTML being displayed. Works fine in other browsers like Iris.

So I am wondering if it's just a case of incomplete SVG support or is there a special method of getting SVG pictures to display in HTML?

Thanks.
Chris


Drag N Drop | Publications for RISC OS computers | www.dragdrop.co.uk

Wednesday, 10 December 2025

[netsurf-dev] Re: toolchains: branch jmb/sdk-update updated. a5187886ae92325c9859ac5efaefae0d851137b4

It looked like something to do with plugins in binutils. Where I got it from had plugins disabled, but when I tried to run the SDK against it it complained. Looking that up, appeared to relate to plugins needing to be enabled in binutils. However that doesn't work either (something about not a valid library).  I got stuck at that point. I think there were a couple of patches which I couldn't build with clib2, which may have had an impact.

Ultimately it came from here:
https://github.com/AmigaPorts/m68k-amigaos-gcc/

Chris

10 Dec 2025 20:22:16 John-Mark Bell <dmarc-noreply@freelists.org>:

Hi Chris,

Thanks! The old one is certainly on borrowed time, so it's good to hear that there's something newer we can look at picking up (that's less true of the ancient GCC 4.7.4 for RISC OS, however, which is basically unmaintained these days and is similarly long in the tooth).

I'll take a look at your branch at some point to see if it can be coaxed into working. We don't do anything particularly special in our toolchain builds, tbh -- mostly just specifying a suitable installation location, so if it is known to work elsewhere, then there's no fundamental reason it wouldn't work here.


J.

On 08/12/2025 10:29, Chris Young wrote:
Hey John-Mark

In relation to the below, I was trying to update this to a newer GCC - you can see my attempt in chris/m68k-gcc15. Ultimately I gave up as it kept complaining about not being able to create binaries. In theory this compiler does work outside the NetSurf toolchain, but I'm not familiar enough with the workings of GCC to figure out what's wrong here.

There might be some of my NDK 3.2 updates on that branch which will need reverting. I'm holding off moving to that until after the next NetSurf release, as it's going to break 3.5/3.9 compatibility.

Chris


8 Dec 2025 01:19:41 NetSurf Browser Project <dmarc-noreply@freelists.org>:

Gitweb links:

...log http://git.netsurf-browser.org/toolchains.git/shortlog/a5187886ae92325c9859ac5efaefae0d851137b4
...commit http://git.netsurf-browser.org/toolchains.git/commit/a5187886ae92325c9859ac5efaefae0d851137b4
...tree http://git.netsurf-browser.org/toolchains.git/tree/a5187886ae92325c9859ac5efaefae0d851137b4

The branch, jmb/sdk-update has been updated
       via  a5187886ae92325c9859ac5efaefae0d851137b4 (commit)
       via  0ed58efcbe99982c34cd31623fbd3c49499b998d (commit)
       via  6cfb90abc9798bf4c6b29a30b0f58291cfaaf1b9 (commit)
       via  7e09c0d16f371bd95d982243a75612a855e83fb3 (commit)
       via  841d3230a29004935514443aa831f24e594ca57c (commit)
       via  2bffa4dc4e5bcc57e1fd996567dee292b40a1889 (commit)
      from  78390cc946b54c1e4b79fb0d6ff12638f1b3de40 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commitdiff http://git.netsurf-browser.org/toolchains.git/commit/?id=a5187886ae92325c9859ac5efaefae0d851137b4
commit a5187886ae92325c9859ac5efaefae0d851137b4
Author: John-Mark Bell <jmb@netsurf-browser.org>
Commit: John-Mark Bell <jmb@netsurf-browser.org>

    m68k-unknown-amigaos: disable fatal warnings in GCC14
   
    The sources being built here are ancient and give GCC14 a large
    amount of (reasonable) indigestion. It is intractable to patch
    these, so simply stop the fatal ones being fatal. Trying to build
    GCC 3.4.6 (or binutils 2.14) from source with any modern compiler
    is increasingly unlikely to work without copious warnings, at
    minimum.
   
    Thus, this entire toolchain is in need of updating to something
    more modern (if, indeed, such a thing exists).

diff --git a/m68k-unknown-amigaos/Makefile b/m68k-unknown-amigaos/Makefile
index c232f2b..437c309 100644
--- a/m68k-unknown-amigaos/Makefile
+++ b/m68k-unknown-amigaos/Makefile
@@ -154,7 +154,7 @@ $(BUILDSTEPS)/ndk.d: $(SOURCESDIR)/$(UPSTREAM_NDK_TARBALL) $(SOURCESDIR)/$(UPSTR
###

$(BUILDSTEPS)/bootstrap-compiler.d: $(BUILDSTEPS)/bison.d $(BUILDSTEPS)/srcdir-step3.d $(BUILDSTEPS)/binutils.d
-   cd $(BUILDDIR) && $(GCC_ENV_PARAMS) $(GCC_SRCDIR)/configure \
+   cd $(BUILDDIR) && $(GCC_ENV_PARAMS) CFLAGS="-Wno-implicit-int -Wno-implicit-function-declaration -Wno-incompatible-pointer-types" $(GCC_SRCDIR)/configure \
                --prefix=$(PREFIX) \
                --target=$(TARGET_NAME) \
                --disable-threads \
@@ -223,7 +223,7 @@ $(BUILDSTEPS)/$(UPSTREAM_BISON_TARBALL).d: $(BUILDSTEPS)/buildsteps.d $(SOURCESD
# Build a 32bit binary until this gets fixed
$(BUILDSTEPS)/binutils.d: $(BUILDSTEPS)/binutils-srcdir.d
    mkdir -p $(BUILDDIR)/binutils
-   cd $(BUILDDIR)/binutils && CFLAGS="-m32" LDFLAGS="-m32" $(BINUTILS_SRCDIR)/configure --prefix=$(PREFIX) --target=$(TARGET_NAME) --disable-nls --disable-werror
+   cd $(BUILDDIR)/binutils && CFLAGS="-m32 -Wno-implicit-int -Wno-implicit-function-declaration" LDFLAGS="-m32" $(BINUTILS_SRCDIR)/configure --prefix=$(PREFIX) --target=$(TARGET_NAME) --disable-nls --disable-werror
    cd $(BUILDDIR)/binutils && make
    cd $(BUILDDIR)/binutils && make install
    touch $@


commitdiff http://git.netsurf-browser.org/toolchains.git/commit/?id=0ed58efcbe99982c34cd31623fbd3c49499b998d
commit 0ed58efcbe99982c34cd31623fbd3c49499b998d
Author: John-Mark Bell <jmb@netsurf-browser.org>
Commit: John-Mark Bell <jmb@netsurf-browser.org>

    m68k-unknown-amigaos: pin a known-working binutils
   
    It turns out that the Makefile would just fetch whatever was at
    the top of the SVN branch, which is unfortunate. It also turns
    out that nothing happens if there's already a stamp file
    indicating that the sources have been obtained. Pin the revision
    last fetched by the CI worker (which dates from 2017, so is
    hardly modern) as that is known to work (and our patches apply
    to it).

diff --git a/m68k-unknown-amigaos/Makefile b/m68k-unknown-amigaos/Makefile
index a9c17d2..c232f2b 100644
--- a/m68k-unknown-amigaos/Makefile
+++ b/m68k-unknown-amigaos/Makefile
@@ -7,10 +7,11 @@ UPSTREAM_GCC_VERSION := 3.4.6
UPSTREAM_GCC_TARBALL := gcc-$(UPSTREAM_GCC_VERSION).tar.bz2
UPSTREAM_GCC_URI := http://ftp.gnu.org/gnu/gcc/gcc-$(UPSTREAM_GCC_VERSION)/$(UPSTREAM_GCC_TARBALL)

+UPSTREAM_BINUTILS_REVISION := 630
UPSTREAM_BINUTILS_VERSION := 2.14
# Not a tarball; so sue me
UPSTREAM_BINUTILS_TARBALL := binutils-$(UPSTREAM_BINUTILS_VERSION)
-UPSTREAM_BINUTILS_URI := http://svn.code.sf.net/p/adtools/code/branches/binutils/$(UPSTREAM_BINUTILS_VERSION)/
+UPSTREAM_BINUTILS_URI := http://svn.code.sf.net/p/adtools/code/branches/binutils/$(UPSTREAM_BINUTILS_VERSION)/@$(UPSTREAM_BINUTILS_REVISION)

UPSTREAM_GMP_VERSION := 4.3.2
UPSTREAM_GMP_TARBALL := gmp-$(UPSTREAM_GMP_VERSION).tar.bz2


commitdiff http://git.netsurf-browser.org/toolchains.git/commit/?id=6cfb90abc9798bf4c6b29a30b0f58291cfaaf1b9
commit 6cfb90abc9798bf4c6b29a30b0f58291cfaaf1b9
Author: John-Mark Bell <jmb@netsurf-browser.org>
Commit: John-Mark Bell <jmb@netsurf-browser.org>

    SDK/libcurl: refresh patches for m68k-unknown-amigaos

diff --git a/sdk/recipes/patches/libcurl/m68k-unknown-amigaos/lib.curl_setup.h.p b/sdk/recipes/patches/libcurl/m68k-unknown-amigaos/lib.curl_setup.h.p
index ba595ca..0e3a6d3 100644
--- a/sdk/recipes/patches/libcurl/m68k-unknown-amigaos/lib.curl_setup.h.p
+++ b/sdk/recipes/patches/libcurl/m68k-unknown-amigaos/lib.curl_setup.h.p
@@ -1,10 +1,10 @@
--- lib/curl_setup.h.orig  2017-10-10 15:19:45.611896396 +0100
+++ lib/curl_setup.h   2017-10-17 15:42:25.304921197 +0100
-@@ -314,7 +314,6 @@
+@@ -454,7 +454,6 @@
   * In clib2 arpa/inet.h warns that some prototypes may clash
   * with bsdsocket.library. This avoids the definition of those.
   */
-#  define __NO_NET_API