aboutsummaryrefslogtreecommitdiff
path: root/textproc/gitlab-elasticsearch-indexer/files
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/gitlab-elasticsearch-indexer/files')
-rw-r--r--textproc/gitlab-elasticsearch-indexer/files/patch-Makefile11
-rw-r--r--textproc/gitlab-elasticsearch-indexer/files/patch-vendor_gitlab.com_gitlab-org_rust_gitlab-code-parser_bindings_go_chunker_chunker.go11
-rw-r--r--textproc/gitlab-elasticsearch-indexer/files/patch-vendor_gitlab.com_gitlab-org_rust_gitlab-code-parser_bindings_go_chunker_chunker__freebsd__amd64.go13
-rw-r--r--textproc/gitlab-elasticsearch-indexer/files/patch-vendor_gitlab.com_gitlab-org_rust_gitlab-code-parser_bindings_go_chunker_chunker__freebsd__arm64.go13
4 files changed, 48 insertions, 0 deletions
diff --git a/textproc/gitlab-elasticsearch-indexer/files/patch-Makefile b/textproc/gitlab-elasticsearch-indexer/files/patch-Makefile
new file mode 100644
index 000000000000..2cb408f715c9
--- /dev/null
+++ b/textproc/gitlab-elasticsearch-indexer/files/patch-Makefile
@@ -0,0 +1,11 @@
+--- Makefile.orig 2025-10-25 04:31:58 UTC
++++ Makefile
+@@ -67,7 +67,7 @@ all: build
+ all: build
+
+ .PHONY: build
+-build: tmp/libparser
++build:
+ $(if ${FORCE_BUILD}, @echo "Forcing a rebuild since pkg-config flags changed since last run")
+ $Q PKG_CONFIG_PATH="${PKG_CONFIG_PATH}" $(GO) build $(if ${FORCE_BUILD},-a) $(if $V,-v) $(VERSION_FLAGS) -o bin/gitlab-elasticsearch-indexer .
+
diff --git a/textproc/gitlab-elasticsearch-indexer/files/patch-vendor_gitlab.com_gitlab-org_rust_gitlab-code-parser_bindings_go_chunker_chunker.go b/textproc/gitlab-elasticsearch-indexer/files/patch-vendor_gitlab.com_gitlab-org_rust_gitlab-code-parser_bindings_go_chunker_chunker.go
new file mode 100644
index 000000000000..974c9985e444
--- /dev/null
+++ b/textproc/gitlab-elasticsearch-indexer/files/patch-vendor_gitlab.com_gitlab-org_rust_gitlab-code-parser_bindings_go_chunker_chunker.go
@@ -0,0 +1,11 @@
+--- vendor/gitlab.com/gitlab-org/rust/gitlab-code-parser/bindings/go/chunker/chunker.go.orig 2025-10-25 07:41:10 UTC
++++ vendor/gitlab.com/gitlab-org/rust/gitlab-code-parser/bindings/go/chunker/chunker.go
+@@ -2,7 +2,7 @@ package chunker
+
+ /*
+ #include <stdint.h>
+-#include "parser-c-bindings.h"
++#include <parser-c-bindings.h>
+
+ extern int goChunkerYieldFunc(CChunk*, void*);
+ */
diff --git a/textproc/gitlab-elasticsearch-indexer/files/patch-vendor_gitlab.com_gitlab-org_rust_gitlab-code-parser_bindings_go_chunker_chunker__freebsd__amd64.go b/textproc/gitlab-elasticsearch-indexer/files/patch-vendor_gitlab.com_gitlab-org_rust_gitlab-code-parser_bindings_go_chunker_chunker__freebsd__amd64.go
new file mode 100644
index 000000000000..fcd67d736b9b
--- /dev/null
+++ b/textproc/gitlab-elasticsearch-indexer/files/patch-vendor_gitlab.com_gitlab-org_rust_gitlab-code-parser_bindings_go_chunker_chunker__freebsd__amd64.go
@@ -0,0 +1,13 @@
+--- vendor/gitlab.com/gitlab-org/rust/gitlab-code-parser/bindings/go/chunker/chunker_freebsd_amd64.go.orig 2025-10-25 07:47:52 UTC
++++ vendor/gitlab.com/gitlab-org/rust/gitlab-code-parser/bindings/go/chunker/chunker_freebsd_amd64.go
+@@ -0,0 +1,10 @@
++//go:build freebsd && amd64
++// +build freebsd,amd64
++
++package chunker
++
++/*
++#cgo CFLAGS: -I/usr/local/include
++#cgo LDFLAGS: -L/usr/local/lib -lparser_c_bindings
++*/
++import "C"
diff --git a/textproc/gitlab-elasticsearch-indexer/files/patch-vendor_gitlab.com_gitlab-org_rust_gitlab-code-parser_bindings_go_chunker_chunker__freebsd__arm64.go b/textproc/gitlab-elasticsearch-indexer/files/patch-vendor_gitlab.com_gitlab-org_rust_gitlab-code-parser_bindings_go_chunker_chunker__freebsd__arm64.go
new file mode 100644
index 000000000000..0f6b5ca8f528
--- /dev/null
+++ b/textproc/gitlab-elasticsearch-indexer/files/patch-vendor_gitlab.com_gitlab-org_rust_gitlab-code-parser_bindings_go_chunker_chunker__freebsd__arm64.go
@@ -0,0 +1,13 @@
+--- vendor/gitlab.com/gitlab-org/rust/gitlab-code-parser/bindings/go/chunker/chunker_freebsd_arm64.go.orig 2025-10-25 07:48:01 UTC
++++ vendor/gitlab.com/gitlab-org/rust/gitlab-code-parser/bindings/go/chunker/chunker_freebsd_arm64.go
+@@ -0,0 +1,10 @@
++//go:build freebsd && arm64
++// +build freebsd,arm64
++
++package chunker
++
++/*
++#cgo CFLAGS: -I/usr/local/include
++#cgo LDFLAGS: -L/usr/local/lib -lparser_c_bindings
++*/
++import "C"