forked from pool/SDL2_gfx
Add SDL2_gfx-correct-pkgconfig-version.patch. #1
21
SDL2_gfx-correct-pkgconfig-version.patch
Normal file
21
SDL2_gfx-correct-pkgconfig-version.patch
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
configure.in | 6 +++---
|
||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
Index: SDL2_gfx-1.0.4/configure.in
|
||||
===================================================================
|
||||
--- SDL2_gfx-1.0.4.orig/configure.in
|
||||
+++ SDL2_gfx-1.0.4/configure.in
|
||||
@@ -13,9 +13,9 @@ dnl Set various version strings - taken
|
||||
|
||||
MAJOR_VERSION=1
|
||||
MINOR_VERSION=0
|
||||
-MICRO_VERSION=2
|
||||
-INTERFACE_AGE=2
|
||||
-BINARY_AGE=2
|
||||
+MICRO_VERSION=4
|
||||
+INTERFACE_AGE=4
|
||||
+BINARY_AGE=4
|
||||
VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION
|
||||
|
||||
AC_SUBST(MAJOR_VERSION)
|
@@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 28 13:51:54 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Add SDL2_gfx-correct-pkgconfig-version.patch to fix version
|
||||
tag in project autoconf files and consequently in the installed
|
||||
pkgconfig file.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 11 11:20:30 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
|
@@ -29,7 +29,10 @@ Source2: https://downloads.sf.net/sdl2gfx/%name-%version.tar.gz.asc
|
||||
Source3: baselibs.conf
|
||||
# Key: 231D4B58E1DDB871, http://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/#comment-89
|
||||
Source4: %name.keyring
|
||||
# PATCH-FIX-UPSTREAM SDL2_gfx-correct-pkgconfig-version.patch badshah4002gmail.com -- Fix version tag in pkgconfig file
|
||||
Patch0: SDL2_gfx-correct-pkgconfig-version.patch
|
||||
BuildRequires: dos2unix
|
||||
BuildRequires: libtool
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: pkgconfig(sdl2)
|
||||
|
||||
@@ -54,9 +57,10 @@ Provides: SDL2_gfx-devel = %version-%release
|
||||
Library containing 20+ graphics primitives (line, box, circle, polygon, etc.) for SDL2.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
./autogen.sh
|
||||
%configure \
|
||||
%ifnarch x86_64
|
||||
--disable-mmx \
|
||||
|
Reference in New Issue
Block a user