View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0011613 | Taler | other | public | 2026-07-07 14:43 | 2026-07-07 14:43 |
| Reporter | adridg | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | new | Resolution | open | ||
| Summary | 0011613: gnunet: patches for FreeBSD | ||||
| Description | (I realize this is probably not the right BT for gnunet -- even though it's under that domain) I just packaged gnunet (as a dependency of Taler) for FreeBSD. Aside from directly-packaging related things. such as library-directories and include-directories needing some help, there were only two code-related changes. | ||||
| Additional Information | Patches: ``` --- src/include/platform.h.orig 2026-07-07 11:14:06 UTC +++ src/include/platform.h @@ -183,8 +183,12 @@ /* FreeBSD_kernel is not defined on the now discontinued kFreeBSD */ #if defined(BSD) && defined(__FreeBSD__) && defined(__FreeBSD_kernel__) +#ifndef __BYTE_ORDER #define __BYTE_ORDER BYTE_ORDER +#endif +#ifndef __BIG_ENDIAN #define __BIG_ENDIAN BIG_ENDIAN +#endif #endif #ifdef DARWIN --- src/lib/util/disk.c.orig 2026-07-07 11:15:07 UTC +++ src/lib/util/disk.c @@ -380,7 +380,7 @@ GNUNET_DISK_file_backup (const char *fil) target = GNUNET_malloc (slen); num = 0; -#if HAVE_RENAMEAT2 +#if HAVE_RENAMEAT2 && defined(RENAME_EXCHANGE) { int fd; ``` The first because those defines are already-defined on FreeBSD (apparently not on kFreeBSD) and they cause warnings about redefined-macros, and the second because FreeBSD has a `renameat2()`, but not all the flags that Linux does. | ||||
| Tags | No tags attached. | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2026-07-07 14:43 | adridg | New Issue |