[Frugalware-darcs] frugalware-current: acpid-1.0.6-1-i686

VMiklos vmiklos at frugalware.org
Mon Jul 2 10:03:31 CEST 2007


Darcsweb-Url: http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=frugalware-current;a=darcs_commitdiff;h=20070702080221-e2957-3d8492b3396aefbdc40724588d40672431f123b6.gz;

[acpid-1.0.6-1-i686
VMiklos <vmiklos at frugalware.org>**20070702080221
 version bump
 drop no longer necessary -gcc4.patch
 move manpages to /usr/share
] {
hunk ./source/base/acpid/FrugalBuild 5
-pkgver=1.0.4
-pkgrel=5
+pkgver=1.0.6
+pkgrel=1
hunk ./source/base/acpid/FrugalBuild 12
-source=(${source[@]} rc.acpid rc.acpid-{de,hu,it}.po acpi_handler.sh default $pkgname-$pkgver-gcc4.patch)
-sha1sums=('229376815a861d798755c789727151dc0b2bc8a0' \
+source=(${source[@]} rc.acpid rc.acpid-{de,hu,it}.po acpi_handler.sh default)
+sha1sums=('67a582cddcd82256e376f4b0749121d8e4ffcaf5' \
hunk ./source/base/acpid/FrugalBuild 19
-          'afac4fc82e6ca65d4a156f39016ee8d15c6eeabc' \
-          '2b408f6a6100cba0c47f183b5859854ceaa9b34e')
+          'afac4fc82e6ca65d4a156f39016ee8d15c6eeabc')
hunk ./source/base/acpid/FrugalBuild 28
-	make INSTPREFIX=$Fdestdir MAN8DIR=$Fdestdir/usr/man/man8 install
+	make INSTPREFIX=$Fdestdir MAN8DIR=$Fdestdir/usr/share/man/man8 install
hunk ./source/base/acpid/acpid-1.0.4-gcc4.patch 1
---- acpid-1.0.4/ud_socket.c.warning	2003-11-17 16:24:58.000000000 -0500
-+++ acpid-1.0.4/ud_socket.c	2005-03-16 17:51:40.000000000 -0500
-@@ -58,7 +58,7 @@
- 	while (1) {
- 		int newsock = 0;
- 		struct sockaddr_un cliaddr;
--		int len = sizeof(struct sockaddr_un);
-+		socklen_t len = sizeof(struct sockaddr_un);
- 
- 		newsock = accept(listenfd, (struct sockaddr *)&cliaddr, &len);
- 		if (newsock < 0) {
---- acpid-1.0.4/acpid.c.warning	2004-10-17 18:33:51.000000000 -0400
-+++ acpid-1.0.4/acpid.c	2005-03-16 17:52:23.000000000 -0500
-@@ -61,7 +61,7 @@
- main(int argc, char **argv)
- {
- 	int event_fd;
--	int sock_fd;
-+	int sock_fd = -1;
- 
- 	/* learn who we really are */
- 	progname = (const char *)strrchr(argv[0], '/');
-@@ -386,9 +386,7 @@
- 	umask(0);
- 
- 	/* get outta the way */
--	chdir("/");
--
--	return 0;
-+	return chdir("/");
- }
- 
- static int
rmfile ./source/base/acpid/acpid-1.0.4-gcc4.patch
}


More information about the Frugalware-darcs mailing list