#!/bin/bash

set -ex

# Upstream patch that has not been included in a release yet:
# https://git.netfilter.org/libnetfilter_cttimeout/commit/?id=d0c4e39d12f903e06db262656cff2e24d267bed7
/usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .clang1 --fuzz=0 < /usr/lib/rpm/clang/libnetfilter_cttimeout-0001-Use-__EXPORTED-rather-than-EXPORT_SYMBOL.patch
