* [gentoo-commits] gentoo-x86 commit in sys-power/pmtools/files: pmtools-20071116-64bit.patch pmtools-20071116-cflags-ldflags.patch
@ 2009-08-16 17:10 Steve Arnold (nerdboy)
0 siblings, 0 replies; only message in thread
From: Steve Arnold (nerdboy) @ 2009-08-16 17:10 UTC (permalink / raw
To: gentoo-commits
nerdboy 09/08/16 17:10:55
Added: pmtools-20071116-64bit.patch
pmtools-20071116-cflags-ldflags.patch
Log:
Updated for EAPI2 and to address bug #281567 (thanks to Zeev Tarantov).
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Revision Changes Path
1.1 sys-power/pmtools/files/pmtools-20071116-64bit.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-power/pmtools/files/pmtools-20071116-64bit.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-power/pmtools/files/pmtools-20071116-64bit.patch?rev=1.1&content-type=text/plain
Index: pmtools-20071116-64bit.patch
===================================================================
--- madt/madt.c.orig
+++ madt/madt.c
@@ -46,7 +46,7 @@
{
size_t retval;
- if (verbose) printf("reading %d byte entry header\n", sizeof(acpi_table_entry_header));
+ if (verbose) printf("reading %ld byte entry header\n", sizeof(acpi_table_entry_header));
retval = fread((void *)entry_header, sizeof(acpi_table_entry_header), 1, stdin);
return retval;
}
@@ -64,7 +64,7 @@
bytes_read = csum = 0;
- if (verbose) printf("reading %d madt header\n", sizeof(struct acpi_table_madt));
+ if (verbose) printf("reading %ld madt header\n", sizeof(struct acpi_table_madt));
retval = fread((void *)buffer, sizeof(struct acpi_table_madt), 1, stdin);
if (retval != 1) {
1.1 sys-power/pmtools/files/pmtools-20071116-cflags-ldflags.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-power/pmtools/files/pmtools-20071116-cflags-ldflags.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-power/pmtools/files/pmtools-20071116-cflags-ldflags.patch?rev=1.1&content-type=text/plain
Index: pmtools-20071116-cflags-ldflags.patch
===================================================================
--- acpidump/Makefile.orig
+++ acpidump/Makefile
@@ -1,11 +1,11 @@
PROG= acpidump
SRCS= acpidump.c
KERNEL_INCLUDE := ../include
-CFLAGS += -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Os -s -D_LINUX -DDEFINE_ALTERNATE_TYPES -I$(KERNEL_INCLUDE)
+CFLAGS += -Wall -Wstrict-prototypes -Wdeclaration-after-statement -D_LINUX -DDEFINE_ALTERNATE_TYPES -I$(KERNEL_INCLUDE)
all: acpidump
$(PROG) : $(SRCS)
- $(CC) $(CFLAGS) $(SRCS) -o $(PROG)
+ $(CC) $(CFLAGS) $(LDFLAGS) $(SRCS) -o $(PROG)
CLEANFILES= $(PROG)
--- acpixtract/Makefile.orig
+++ acpixtract/Makefile
@@ -6,7 +6,7 @@
all: $(PROG)
$(PROG) : $(SRCS)
- $(CC) $(CFLAGS) $(SRCS) -o $(PROG)
+ $(CC) $(CFLAGS) $(LDFLAGS) $(SRCS) -o $(PROG)
CLEANFILES= $(PROG)
--- madt/Makefile.orig
+++ madt/Makefile
@@ -3,7 +3,7 @@
all: madt
$(PROG) : $(SRCS)
- $(CC) $(CFLAGS) $(SRCS) -o $(PROG)
+ $(CC) $(CFLAGS) $(LDFLAGS) $(SRCS) -o $(PROG)
test: madt
./madt < example.APIC.dat
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-08-16 17:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-16 17:10 [gentoo-commits] gentoo-x86 commit in sys-power/pmtools/files: pmtools-20071116-64bit.patch pmtools-20071116-cflags-ldflags.patch Steve Arnold (nerdboy)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox