File: ruby_no-incompatible-pointer-types.patch

package info (click to toggle)
grpc 1.59.5-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 154,304 kB
  • sloc: cpp: 1,130,928; python: 91,228; ansic: 44,612; objc: 12,369; ruby: 11,884; sh: 8,043; php: 7,588; makefile: 3,927; xml: 3,620; cs: 2,160; java: 465; pascal: 286; awk: 132; javascript: 89
file content (19 lines) | stat: -rw-r--r-- 596 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: fix FTBFS with GCC 14 with a special gRPC NULL value
 It contains a struct with should have a dimension / value, but a NULL value
 can't have that.
Author: Laszlo Boszormenyi (GCS) <gcs@debian.org>
Forwarded: no
Last-Update: 2024-08-11

---

--- grpc-1.59.5.orig/src/ruby/ext/grpc/extconf.rb
+++ grpc-1.59.5/src/ruby/ext/grpc/extconf.rb
@@ -159,6 +159,7 @@ $CFLAGS << ' -std=c11 '
 $CFLAGS << ' -Wall '
 $CFLAGS << ' -Wextra '
 $CFLAGS << ' -pedantic '
+$CFLAGS << ' -Wno-incompatible-pointer-types '
 
 output = File.join('grpc', 'grpc_c')
 puts 'Generating Makefile for ' + output