Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 102856 Details for
Bug 156431
ebuild for userspace suspend (uswsusp)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
suspend-0.5-build.patch
suspend-0.5-build.patch (text/plain), 1.98 KB, created by
Daniel Drake (RETIRED)
on 2006-11-27 11:04:05 UTC
(
hide
)
Description:
suspend-0.5-build.patch
Filename:
MIME Type:
Creator:
Daniel Drake (RETIRED)
Created:
2006-11-27 11:04:05 UTC
Size:
1.98 KB
patch
obsolete
>Index: suspend-0.5/Makefile >=================================================================== >--- suspend-0.5.orig/Makefile >+++ suspend-0.5/Makefile >@@ -1,14 +1,14 @@ > #CONFIG_COMPRESS=yes > #CONFIG_ENCRYPT=yes > #CONFIG_SPLASHY=yes >-#CONFIG_UDEV=yes >+CONFIG_UDEV=yes > > ARCH:=$(shell uname -m) > >-CC_FLAGS=-I/usr/local/include >-LD_FLAGS=-L/usr/local/lib >+CC_FLAGS?=-I/usr/local/include >+LD_FLAGS?=-L/usr/local/lib > >-CFLAGS := -O2 -Wall >+CFLAGS ?= -O2 -Wall > > ifdef CONFIG_COMPRESS > CC_FLAGS += -DCONFIG_COMPRESS >@@ -22,7 +22,7 @@ CC_FLAGS += $(GCRYPT_CC_FLAGS) > LD_FLAGS += $(GCRYPT_LD_FLAGS) > endif > >-SUSPEND_DIR=/usr/local/sbin >+SUSPEND_DIR?=/usr/local/sbin > CONFIG_DIR=/etc > RESUME_DEVICE=<path_to_resume_device_file> > BOOT_DIR=/boot >@@ -31,7 +31,7 @@ S2BOTH=s2both > S2DISK=s2disk > CONFIGFILE=suspend.conf > >-ifndef CONFIG_UDEV >+ifneq ($(CONFIG_UDEV), yes) > SNAPSHOT=$(DESTDIR)/dev/snapshot > endif > >@@ -145,9 +145,9 @@ install-s2disk: $(S2DISK) swap-offset co > if [ -f $(DESTDIR)$(CONFIG_DIR)/$(CONFIGFILE) ]; then install --mode=644 conf/$(CONFIGFILE) $(DESTDIR)$(CONFIG_DIR)/$(CONFIGFILE).new; else install --mode=644 conf/$(CONFIGFILE) $(DESTDIR)$(CONFIG_DIR); fi > > install: $(S2DISK) $(S2BOTH) swap-offset conf/$(CONFIGFILE) $(SNAPSHOT) >- install --mode=755 $(S2DISK) $(DESTDIR)$(SUSPEND_DIR) >+ install -D --mode=755 $(S2DISK) $(DESTDIR)$(SUSPEND_DIR)/$(S2DISK) > install --mode=755 $(S2BOTH) $(DESTDIR)$(SUSPEND_DIR) >- if [ -f $(DESTDIR)$(CONFIG_DIR)/$(CONFIGFILE) ]; then install --mode=644 conf/$(CONFIGFILE) $(DESTDIR)$(CONFIG_DIR)/$(CONFIGFILE).new; else install --mode=644 conf/$(CONFIGFILE) $(DESTDIR)$(CONFIG_DIR); fi >+ if [ -f $(DESTDIR)$(CONFIG_DIR)/$(CONFIGFILE) ]; then install --mode=644 conf/$(CONFIGFILE) $(DESTDIR)$(CONFIG_DIR)/$(CONFIGFILE).new; else install -D --mode=644 conf/$(CONFIGFILE) $(DESTDIR)$(CONFIG_DIR)/$(CONFIGFILE); fi > install --mode=755 s2ram $(DESTDIR)$(SUSPEND_DIR) > install --mode=755 resume $(DESTDIR)$(SUSPEND_DIR) > install --mode=755 swap-offset $(DESTDIR)$(SUSPEND_DIR)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 156431
:
102855
|
102856
|
123896
|
123897
|
124984
|
124985
|
124988
|
124989
|
129971
|
129972
|
130866
|
130871
|
130872