SHA256
1
0
forked from pool/asclock

13 Commits

Author SHA256 Message Date
c77b84f8eb Accepting request 1278753 from X11:Utilities
OBS-URL: https://build.opensuse.org/request/show/1278753
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/asclock?expand=0&rev=18
2025-05-20 20:45:44 +00:00
9e9daf956a - added patches
fix build with gcc15
  + asclock-gcc15.patch

OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/asclock?expand=0&rev=15
2025-05-20 13:15:07 +00:00
6c32221b18 Accepting request 1194347 from X11:Utilities
OBS-URL: https://build.opensuse.org/request/show/1194347
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/asclock?expand=0&rev=17
2024-08-17 10:41:23 +00:00
09d5ecff4b Accepting request 814146 from X11:Utilities
- Fix building with gcc10
- Modernise spec file with spec-cleaner
- Honor optflags
- Reduce duplicities using fdupes

OBS-URL: https://build.opensuse.org/request/show/814146
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/asclock?expand=0&rev=16
2020-06-12 19:45:09 +00:00
751a0d57fd - Fix building with gcc10
- Modernise spec file with spec-cleaner
- Honor optflags
- Reduce duplicities using fdupes

OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/asclock?expand=0&rev=11
2020-06-12 11:53:39 +00:00
5b9db583f1 new meta
OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/asclock?expand=0&rev=10
2016-06-25 12:05:13 +00:00
54e305a9c8 Accepting request 260126 from X11:Utilities
1

OBS-URL: https://build.opensuse.org/request/show/260126
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/asclock?expand=0&rev=15
2014-11-10 16:28:23 +00:00
Stephan Kulow
a79fe5ee5c Accepting request 259656 from home:elvigia:branches:X11:Utilities
- Due to broken prjconf I missed adding imake as buildRequire 
  in the previous change.

OBS-URL: https://build.opensuse.org/request/show/259656
OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/asclock?expand=0&rev=8
2014-11-06 17:13:55 +00:00
Stephan Kulow
73473a5c6b Accepting request 259314 from home:elvigia:branches:X11:Utilities
- Switch to individual pkgconfig() build requires 
  instead of using metapackage xorg-x11-devel

OBS-URL: https://build.opensuse.org/request/show/259314
OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/asclock?expand=0&rev=7
2014-11-04 14:11:52 +00:00
Stephan Kulow
8140590091 Accepting request 103811 from X11:Utilities
- Remove redundant tags/sections from specfile
- Use %_smp_mflags for parallel build

OBS-URL: https://build.opensuse.org/request/show/103811
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/asclock?expand=0&rev=10
2012-02-14 17:59:31 +00:00
OBS User autobuild
314cc18d8a OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/asclock?expand=0&rev=5 2010-03-18 14:35:30 +00:00
OBS User unknown
5c1414ff6b OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/asclock?expand=0&rev=3 2009-06-17 17:13:56 +00:00
OBS User unknown
bba8a87f95 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/asclock?expand=0&rev=1 2007-01-15 22:51:38 +00:00
3 changed files with 63 additions and 1 deletions

53
asclock-gcc15.patch Normal file
View File

@@ -0,0 +1,53 @@
--- asclock.h 2025-05-06 06:26:49.442371383 +0000
+++ asclock.h 2025-05-06 06:32:27.594886122 +0000
@@ -151,9 +151,9 @@ void parseArgs(int argc, char **argv);
int read_init(FILE *f);
int read_type(int *type);
int read_token(char *str, int max);
-int read_assign();
+int read_assign(void);
int read_int(int *ret);
-int read_semicolon();
+int read_semicolon(void);
#endif /* ASCLOCK_H */
--- config.c 2025-05-06 06:26:49.442272713 +0000
+++ config.c 2025-05-06 06:33:07.998999146 +0000
@@ -147,13 +147,13 @@ int loadTheme(char *themesdir)
exit(-1);
}
- if(!read_assign(f))
+ if(!read_assign())
printf("read_assign failed\n");
if(!read_int(s->addr))
printf("read_int failed\n");
- if(!read_semicolon(f))
+ if(!read_semicolon())
printf("read_semicolon failed\n");
}
--- parser.c 2025-05-06 06:26:49.442342036 +0000
+++ parser.c 2025-05-06 06:32:42.238851768 +0000
@@ -72,7 +72,7 @@ int read_token(char *str, int max)
return TRUE;
}
-int read_assign()
+int read_assign(void)
{
while(next!='=')
@@ -106,7 +106,7 @@ int read_int(int *ret)
return TRUE;
}
-int read_semicolon()
+int read_semicolon(void)
{
while(next!=';')

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue May 6 06:37:24 UTC 2025 - pgajdos@suse.com
- added patches
fix build with gcc15
+ asclock-gcc15.patch
-------------------------------------------------------------------
Fri Aug 16 09:42:31 UTC 2024 - Martin Jambor <mjambor@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package asclock
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -26,6 +26,8 @@ URL: http://www.tigr.net/afterstep/
Source: asclock-%{version}.tar.bz2
Patch0: gcc4.diff
Patch1: asclock-C99.diff
# fix build with gcc15
Patch2: asclock-gcc15.patch
BuildRequires: fdupes
BuildRequires: imake
BuildRequires: pkgconfig