Compare commits
No commits in common. "factory" and "factory" have entirely different histories.
@ -1,4 +0,0 @@
|
|||||||
mtime: 1738762416
|
|
||||||
commit: 2c73088d0be73fbb44086008a54f70b61020511a5971127e85afca784b31af45
|
|
||||||
url: https://src.opensuse.org/jengelh/libXbgi
|
|
||||||
revision: master
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:3a11d9b269a321abea52582adfffaebd180b6b483314100c775cb3fdf50f1a6e
|
|
||||||
size 256
|
|
@ -1,14 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Wed Feb 5 13:33:02 UTC 2025 - Stefan Dirsch <sndirsch@suse.com>
|
|
||||||
|
|
||||||
- removed unneeded xorg-x11-proto-devel BuildRequires (bsc#1236804)
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Thu Sep 5 17:01:55 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
|
||||||
|
|
||||||
- Rectify xbgi-automake.diff to feature current version
|
|
||||||
- Add xbgi-gcc14.diff
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat May 23 14:44:45 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
|
Sat May 23 14:44:45 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libXbgi
|
# spec file for package libXbgi
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2020 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -21,7 +21,7 @@ Name: libXbgi
|
|||||||
Version: 365
|
Version: 365
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: BGI-compatible 2D graphics C library with X11 backend
|
Summary: BGI-compatible 2D graphics C library with X11 backend
|
||||||
License: GPL-2.0-or-later AND MIT
|
License: MIT AND GPL-2.0-or-later
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
URL: http://libXbgi.sf.net/
|
URL: http://libXbgi.sf.net/
|
||||||
|
|
||||||
@ -31,7 +31,6 @@ Patch1: xbgi-automake.diff
|
|||||||
Patch2: xbgi-getpixel.diff
|
Patch2: xbgi-getpixel.diff
|
||||||
Patch3: xbgi-sequence.diff
|
Patch3: xbgi-sequence.diff
|
||||||
Patch4: xbgi-grapherrormsg.diff
|
Patch4: xbgi-grapherrormsg.diff
|
||||||
Patch5: xbgi-gcc14.diff
|
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
@ -63,6 +62,7 @@ License: MIT
|
|||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %lname = %version
|
Requires: %lname = %version
|
||||||
Requires: libX11-devel
|
Requires: libX11-devel
|
||||||
|
Requires: xorg-x11-proto-devel
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
libXbgi is a Borland Graphics Interface (BGI) emulation library for
|
libXbgi is a Borland Graphics Interface (BGI) emulation library for
|
||||||
|
@ -42,7 +42,7 @@ Index: xbgi-364/configure.ac
|
|||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ xbgi-364/configure.ac
|
+++ xbgi-364/configure.ac
|
||||||
@@ -0,0 +1,9 @@
|
@@ -0,0 +1,9 @@
|
||||||
+AC_INIT([xbgi], [365])
|
+AC_INIT([xbgi], [364])
|
||||||
+AC_CONFIG_AUX_DIR([build-aux])
|
+AC_CONFIG_AUX_DIR([build-aux])
|
||||||
+AC_CONFIG_MACRO_DIR([m4])
|
+AC_CONFIG_MACRO_DIR([m4])
|
||||||
+AC_PROG_CC
|
+AC_PROG_CC
|
||||||
|
@ -1,48 +0,0 @@
|
|||||||
From: Jan Engelhardt <jengelh@inai.de>
|
|
||||||
Date: 2024-09-05 17:32:55.590866847 +0200
|
|
||||||
|
|
||||||
gcc-14 does not like not having a matching prototype.
|
|
||||||
|
|
||||||
---
|
|
||||||
src/graphics.h | 1 +
|
|
||||||
src/rotated.h | 2 +-
|
|
||||||
src/setusercharsize.c | 1 +
|
|
||||||
3 files changed, 3 insertions(+), 1 deletion(-)
|
|
||||||
|
|
||||||
Index: xbgi-365/src/graphics.h
|
|
||||||
===================================================================
|
|
||||||
--- xbgi-365.orig/src/graphics.h
|
|
||||||
+++ xbgi-365/src/graphics.h
|
|
||||||
@@ -300,6 +300,7 @@ typedef struct {
|
|
||||||
void fillellipse PROTO((int, int, int, int));
|
|
||||||
void fillpoly PROTO((int, int *));
|
|
||||||
void floodfill PROTO((int, int, int));
|
|
||||||
+ void _floodfill PROTO((int, int));
|
|
||||||
void getarccoords PROTO((struct arccoordstype *));
|
|
||||||
void getaspectratio PROTO((int *, int *));
|
|
||||||
int getbkcolor PROTO((void));
|
|
||||||
Index: xbgi-365/src/rotated.h
|
|
||||||
===================================================================
|
|
||||||
--- xbgi-365.orig/src/rotated.h
|
|
||||||
+++ xbgi-365/src/rotated.h
|
|
||||||
@@ -43,7 +43,7 @@
|
|
||||||
|
|
||||||
extern "C" {
|
|
||||||
float XRotVersion(char*, int);
|
|
||||||
-void XRotSetMagnification(float);
|
|
||||||
+void XRotSetMagnification(float, float);
|
|
||||||
void XRotSetBoundingBoxPad(int);
|
|
||||||
int XRotDrawString(Display*, XFontStruct*, float,
|
|
||||||
Drawable, GC, int, int, char*);
|
|
||||||
Index: xbgi-365/src/setusercharsize.c
|
|
||||||
===================================================================
|
|
||||||
--- xbgi-365.orig/src/setusercharsize.c
|
|
||||||
+++ xbgi-365/src/setusercharsize.c
|
|
||||||
@@ -8,6 +8,7 @@
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
#include "graphics.h"
|
|
||||||
+#include "rotated.h"
|
|
||||||
|
|
||||||
void setusercharsize(int multx, int divx, int multy, int divy)
|
|
||||||
{
|
|
Loading…
x
Reference in New Issue
Block a user