Skip to contentSkip to conversation

package/dmenu-wayland: fix uclibc build

PATCH Applied Fabrice Fontaine 3 participants 3 messages Mar 5, 2024 – May 2, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/dmenu-wayland: fix uclibc build

Set -std=gnu99 to fix the following uclibc build failure raised since the addition of the package in commit 2f6b1b8e6893003efcc72185cd468dcb0b088b2d:

../draw.c:37:23: error: 'CLOCK_REALTIME' undeclared (first use in this function)

   37 |         clock_gettime(CLOCK_REALTIME, &ts);
      |                       ^~~~~~~~~~~~~~
Fixes 2f6b1b8e6893003efcc72185cd468dcb0b088b2d

- http://autobuild.buildroot.org/results/4b9db67fb444ec35d741e5d3e74263ac0c4d4a7d

---
 package/dmenu-wayland/dmenu-wayland.mk | 1 +
 1 file changed, 1 insertion(+)
package/dmenu-wayland/dmenu-wayland.mk +1 -0
index 33a73c0153..fec984194c 100644
@@ -8,6 +8,7 @@ DMENU_WAYLAND_VERSION = a380201dff5bfac2dace553d7eaedb6cea6855f9
 DMENU_WAYLAND_SITE = $(call github,nyyManni,dmenu-wayland,$(DMENU_WAYLAND_VERSION))
 DMENU_WAYLAND_LICENSE = MIT
 DMENU_WAYLAND_LICENSE_FILES = LICENSE
+DMENU_WAYLAND_CFLAGS = $(TARGET_CFLAGS) -std=gnu99
 
 # host-wayland is for wayland-scanner
 DMENU_WAYLAND_DEPENDENCIES = \
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 4 lines · Fabrice Fontaine

Set -std=gnu99 to fix the following uclibc build failure raised since the addition of the package in commit 2f6b1b8e6893003efcc72185cd468dcb0b088b2d:

Quoted 8 lines

../draw.c:37:23: error: 'CLOCK_REALTIME' undeclared (first use in this function)

    37 |         clock_gettime(CLOCK_REALTIME, &ts);
       |                       ^~~~~~~~~~~~~~
Fixes 2f6b1b8e6893003efcc72185cd468dcb0b088b2d

- http://autobuild.buildroot.org/results/4b9db67fb444ec35d741e5d3e74263ac0c4d4a7d

Applied to master, thanks.

Regards,
Arnout

Quoted 9 lines
---
  package/dmenu-wayland/dmenu-wayland.mk | 1 +
  1 file changed, 1 insertion(+)
package/dmenu-wayland/dmenu-wayland.mk +0 -0
index 33a73c0153..fec984194c 100644

package/dmenu-wayland/dmenu-wayland.mk DMENU_WAYLAND_VERSION = a380201dff5bfac2dace553d7eaedb6cea6855f9 · line 14

Quoted 7 lines
package/dmenu-wayland/dmenu-wayland.mk +1 -0
@@ -8,6 +8,7 @@ DMENU_WAYLAND_VERSION = a380201dff5bfac2dace553d7eaedb6cea6855f9
  DMENU_WAYLAND_SITE = $(call github,nyyManni,dmenu-wayland,$(DMENU_WAYLAND_VERSION))
  DMENU_WAYLAND_LICENSE = MIT
  DMENU_WAYLAND_LICENSE_FILES = LICENSE
+DMENU_WAYLAND_CFLAGS = $(TARGET_CFLAGS) -std=gnu99
 
  # host-wayland is for wayland-scanner
  DMENU_WAYLAND_DEPENDENCIES = \

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#2 lore raw
In reply to Fabrice Fontaine
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabrice" == Fabrice Fontaine <[email protected]> writes:

Set -std=gnu99 to fix the following uclibc build failure raised since the addition of the package in commit 2f6b1b8e6893003efcc72185cd468dcb0b088b2d:

Quoted 8 lines

../draw.c:37:23: error: 'CLOCK_REALTIME' undeclared (first use in this function)

   37 |         clock_gettime(CLOCK_REALTIME, &ts);
      |                       ^~~~~~~~~~~~~~
Fixes 2f6b1b8e6893003efcc72185cd468dcb0b088b2d

- http://autobuild.buildroot.org/results/4b9db67fb444ec35d741e5d3e74263ac0c4d4a7d

Committed to 2024.02.x, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot