Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by George Sherwood (94136eb667f0756b18e3521cfc03dd6a4670d933)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: George Sherwood <scm AT mail.sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by George Sherwood (94136eb667f0756b18e3521cfc03dd6a4670d933)
  • Date: Mon, 19 Mar 2007 12:18:16 -0500

GIT changes to master grimoire by George Sherwood <chat AT sourcemage.org>:

utils/athcool/HISTORY | 6 ++++++
utils/athcool/PRE_BUILD | 4 ++++
utils/athcool/makefile.patch | 36 ++++++++++++++++++++++++++++++++++++
3 files changed, 46 insertions(+)

New commits:
commit 94136eb667f0756b18e3521cfc03dd6a4670d933
Author: George Sherwood <chat AT sourcemage.org>
Commit: George Sherwood <chat AT sourcemage.org>

athcool: Added patch to fix Bug #13632

diff --git a/utils/athcool/HISTORY b/utils/athcool/HISTORY
index 697d0c5..c1391a9 100644
--- a/utils/athcool/HISTORY
+++ b/utils/athcool/HISTORY
@@ -1,3 +1,9 @@
+2007-03-19 George Sherwood <george AT beernabeer.com>
+ * PRE_BUILD: Added for patch to fix Bug 13632
+ * makefile.patch: Added patch from
+ http://sources.gentoo.org/viewcvs.py/*checkout*/gentoo-x86/sys-power
+ /athcool/files/athcool-0.3.11-build.patch?rev=1.2
+
2006-10-03 Juuso Alasuutari <iuso AT sourcemage.org>
* DETAILS: [automated] Removed UPDATED.

diff --git a/utils/athcool/PRE_BUILD b/utils/athcool/PRE_BUILD
new file mode 100755
index 0000000..7f112ac
--- /dev/null
+++ b/utils/athcool/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd $SOURCE_DIRECTORY &&
+patch -p0 < $SCRIPT_DIRECTORY/makefile.patch
+
diff --git a/utils/athcool/makefile.patch b/utils/athcool/makefile.patch
new file mode 100644
index 0000000..fc231b1
--- /dev/null
+++ b/utils/athcool/makefile.patch
@@ -0,0 +1,36 @@
+--- Makefile.orig 2007-03-19 21:09:21.000000000 +0400
++++ Makefile 2007-03-19 21:11:22.000000000 +0400
+@@ -14,13 +14,13 @@
+ SRCS = athcool.c scanpci.c
+ OBJS = $(SRCS:.c=.o)
+
+-CC = gcc
++CC ?= gcc
+ RM = rm -f
+-CFLAGS = -O2 -Wall
+-DEFS = -I. -I$(includedir) -DPACKAGE=\"$(PACKAGE)\"
-DVERSION=\"$(VERSION)\"
++CFLAGS += -Wall
++DEFS = -I. -DPACKAGE=\"$(PACKAGE)\" -DVERSION=\"$(VERSION)\"
+ #DEFS += -DENABLE_FORCEID=1
+ #DEFS += -DDISABLE_WRITE_REG=1
+-LIBS = -lpci
++LIBS = -lpci -lz
+
+ ### rules ###
+
+@@ -30,13 +30,13 @@
+ all: $(PACKAGE)
+
+ $(PACKAGE): $(OBJS)
+- $(CC) $(CFLAGS) $(OBJS) $(LIBS) -o $@
++ $(CC) $(CFLAGS) $(OBJS) $(LIBS) -o $@ $(LDFLAGS)
+
+ install: install-program install-man # install-script
+
+ install-program:
+ [ -d $(sbindir) ] || install -m 755 -d $(sbindir)
+- install -s $(PACKAGE) $(sbindir)
++ install $(PACKAGE) $(sbindir)
+
+ install-man:
+ [ -d $(mandir)/man8 ] || install -m 755 -d $(mandir)/man8



  • [SM-Commit] GIT changes to master grimoire by George Sherwood (94136eb667f0756b18e3521cfc03dd6a4670d933), George Sherwood, 03/19/2007

Archive powered by MHonArc 2.6.24.

Top of Page